├── MediaTek
├── FmRadio
│ ├── NOTICE
│ ├── ext
│ │ ├── NOTICE
│ │ ├── Android.mk
│ │ └── README
│ ├── tests
│ │ ├── NOTICE
│ │ ├── README
│ │ └── AndroidManifest.xml
│ ├── res
│ │ ├── drawable-hdpi
│ │ │ ├── fm_anim.png
│ │ │ ├── btn_fm_list.png
│ │ │ ├── btn_fm_stop.png
│ │ │ ├── ic_launcher.png
│ │ │ ├── bottom_bar.9.png
│ │ │ ├── btn_fm_start.png
│ │ │ ├── fm_title_icon.png
│ │ │ ├── bg_rec_infobar.9.png
│ │ │ ├── btn_fm_decrease.png
│ │ │ ├── btn_fm_increase.png
│ │ │ ├── btn_fm_overflow.png
│ │ │ ├── btn_fm_favorite_off.png
│ │ │ ├── btn_fm_favorite_on.png
│ │ │ ├── btn_fm_list_disable.png
│ │ │ ├── btn_fm_nextstation.png
│ │ │ ├── btn_fm_prevstation.png
│ │ │ ├── btn_fm_stop_disable.png
│ │ │ ├── btn_fm_record_enabled.png
│ │ │ ├── btn_fm_start_disable.png
│ │ │ ├── btn_fm_decrease_disable.png
│ │ │ ├── btn_fm_increase_disable.png
│ │ │ ├── btn_fm_overflow_disable.png
│ │ │ ├── btn_fm_rec_stop_disabled.png
│ │ │ ├── btn_fm_rec_stop_enabled.png
│ │ │ ├── btn_fm_record_disabled.png
│ │ │ ├── btn_fm_nextstation_disable.png
│ │ │ ├── btn_fm_prevstation_disable.png
│ │ │ ├── btn_fm_rec_playback_disabled.png
│ │ │ └── btn_fm_rec_playback_enabled.png
│ │ ├── drawable-ldpi
│ │ │ ├── fm_anim.png
│ │ │ ├── btn_fm_list.png
│ │ │ ├── btn_fm_stop.png
│ │ │ ├── ic_launcher.png
│ │ │ ├── btn_fm_start.png
│ │ │ ├── fm_title_icon.png
│ │ │ ├── btn_fm_decrease.png
│ │ │ ├── btn_fm_increase.png
│ │ │ ├── btn_fm_overflow.png
│ │ │ ├── btn_fm_favorite_off.png
│ │ │ ├── btn_fm_favorite_on.png
│ │ │ ├── btn_fm_list_disable.png
│ │ │ ├── btn_fm_nextstation.png
│ │ │ ├── btn_fm_prevstation.png
│ │ │ ├── btn_fm_stop_disable.png
│ │ │ ├── btn_fm_record_enabled.png
│ │ │ ├── btn_fm_start_disable.png
│ │ │ ├── btn_fm_decrease_disable.png
│ │ │ ├── btn_fm_increase_disable.png
│ │ │ ├── btn_fm_overflow_disable.png
│ │ │ ├── btn_fm_rec_stop_disabled.png
│ │ │ ├── btn_fm_rec_stop_enabled.png
│ │ │ ├── btn_fm_record_disabled.png
│ │ │ ├── btn_fm_nextstation_disable.png
│ │ │ ├── btn_fm_prevstation_disable.png
│ │ │ ├── btn_fm_rec_playback_disabled.png
│ │ │ └── btn_fm_rec_playback_enabled.png
│ │ ├── drawable-mdpi
│ │ │ ├── fm_anim.png
│ │ │ ├── btn_fm_list.png
│ │ │ ├── btn_fm_stop.png
│ │ │ ├── ic_launcher.png
│ │ │ ├── bottom_bar.9.png
│ │ │ ├── btn_fm_start.png
│ │ │ ├── fm_title_icon.png
│ │ │ ├── bg_rec_infobar.9.png
│ │ │ ├── btn_fm_decrease.png
│ │ │ ├── btn_fm_increase.png
│ │ │ ├── btn_fm_overflow.png
│ │ │ ├── btn_fm_favorite_off.png
│ │ │ ├── btn_fm_favorite_on.png
│ │ │ ├── btn_fm_list_disable.png
│ │ │ ├── btn_fm_nextstation.png
│ │ │ ├── btn_fm_prevstation.png
│ │ │ ├── btn_fm_stop_disable.png
│ │ │ ├── btn_fm_record_enabled.png
│ │ │ ├── btn_fm_start_disable.png
│ │ │ ├── btn_fm_decrease_disable.png
│ │ │ ├── btn_fm_increase_disable.png
│ │ │ ├── btn_fm_overflow_disable.png
│ │ │ ├── btn_fm_rec_stop_disabled.png
│ │ │ ├── btn_fm_rec_stop_enabled.png
│ │ │ ├── btn_fm_record_disabled.png
│ │ │ ├── btn_fm_nextstation_disable.png
│ │ │ ├── btn_fm_prevstation_disable.png
│ │ │ ├── btn_fm_rec_playback_disabled.png
│ │ │ └── btn_fm_rec_playback_enabled.png
│ │ ├── drawable-xhdpi
│ │ │ ├── fm_anim.png
│ │ │ ├── bottom_bar.9.png
│ │ │ ├── btn_fm_list.png
│ │ │ ├── btn_fm_start.png
│ │ │ ├── btn_fm_stop.png
│ │ │ ├── fm_title_icon.png
│ │ │ ├── ic_launcher.png
│ │ │ ├── btn_fm_decrease.png
│ │ │ ├── btn_fm_increase.png
│ │ │ ├── btn_fm_overflow.png
│ │ │ ├── bg_rec_infobar.9.png
│ │ │ ├── btn_fm_favorite_on.png
│ │ │ ├── btn_fm_nextstation.png
│ │ │ ├── btn_fm_prevstation.png
│ │ │ ├── btn_fm_favorite_off.png
│ │ │ ├── btn_fm_list_disable.png
│ │ │ ├── btn_fm_start_disable.png
│ │ │ ├── btn_fm_stop_disable.png
│ │ │ ├── btn_fm_decrease_disable.png
│ │ │ ├── btn_fm_increase_disable.png
│ │ │ ├── btn_fm_overflow_disable.png
│ │ │ ├── btn_fm_rec_stop_enabled.png
│ │ │ ├── btn_fm_record_disabled.png
│ │ │ ├── btn_fm_record_enabled.png
│ │ │ ├── btn_fm_rec_stop_disabled.png
│ │ │ ├── btn_fm_nextstation_disable.png
│ │ │ ├── btn_fm_prevstation_disable.png
│ │ │ ├── btn_fm_rec_playback_disabled.png
│ │ │ └── btn_fm_rec_playback_enabled.png
│ │ ├── drawable-xxhdpi
│ │ │ ├── fm_anim.png
│ │ │ ├── bottom_bar.9.png
│ │ │ ├── btn_fm_list.png
│ │ │ ├── btn_fm_start.png
│ │ │ ├── btn_fm_stop.png
│ │ │ ├── ic_launcher.png
│ │ │ ├── fm_title_icon.png
│ │ │ ├── bg_rec_infobar.9.png
│ │ │ ├── btn_fm_decrease.png
│ │ │ ├── btn_fm_increase.png
│ │ │ ├── btn_fm_overflow.png
│ │ │ ├── btn_fm_favorite_off.png
│ │ │ ├── btn_fm_favorite_on.png
│ │ │ ├── btn_fm_list_disable.png
│ │ │ ├── btn_fm_nextstation.png
│ │ │ ├── btn_fm_prevstation.png
│ │ │ ├── btn_fm_stop_disable.png
│ │ │ ├── btn_fm_record_disabled.png
│ │ │ ├── btn_fm_record_enabled.png
│ │ │ ├── btn_fm_start_disable.png
│ │ │ ├── btn_fm_decrease_disable.png
│ │ │ ├── btn_fm_increase_disable.png
│ │ │ ├── btn_fm_overflow_disable.png
│ │ │ ├── btn_fm_rec_stop_disabled.png
│ │ │ ├── btn_fm_rec_stop_enabled.png
│ │ │ ├── btn_fm_nextstation_disable.png
│ │ │ ├── btn_fm_prevstation_disable.png
│ │ │ ├── btn_fm_rec_playback_enabled.png
│ │ │ └── btn_fm_rec_playback_disabled.png
│ │ ├── drawable-ldrtl-hdpi
│ │ │ ├── fm_anim.png
│ │ │ ├── btn_fm_list.png
│ │ │ ├── btn_fm_decrease.png
│ │ │ ├── btn_fm_increase.png
│ │ │ ├── btn_fm_nextstation.png
│ │ │ ├── btn_fm_prevstation.png
│ │ │ ├── btn_fm_list_disable.png
│ │ │ ├── btn_fm_decrease_disable.png
│ │ │ ├── btn_fm_increase_disable.png
│ │ │ ├── btn_fm_nextstation_disable.png
│ │ │ ├── btn_fm_prevstation_disable.png
│ │ │ ├── btn_fm_rec_playback_disabled.png
│ │ │ └── btn_fm_rec_playback_enabled.png
│ │ ├── drawable-ldrtl-ldpi
│ │ │ ├── fm_anim.png
│ │ │ ├── btn_fm_list.png
│ │ │ ├── btn_fm_decrease.png
│ │ │ ├── btn_fm_increase.png
│ │ │ ├── btn_fm_nextstation.png
│ │ │ ├── btn_fm_prevstation.png
│ │ │ ├── btn_fm_decrease_disable.png
│ │ │ ├── btn_fm_increase_disable.png
│ │ │ ├── btn_fm_nextstation_disable.png
│ │ │ ├── btn_fm_prevstation_disable.png
│ │ │ ├── btn_fm_rec_playback_disabled.png
│ │ │ └── btn_fm_rec_playback_enabled.png
│ │ ├── drawable-ldrtl-mdpi
│ │ │ ├── fm_anim.png
│ │ │ ├── btn_fm_list.png
│ │ │ ├── btn_fm_decrease.png
│ │ │ ├── btn_fm_increase.png
│ │ │ ├── btn_fm_nextstation.png
│ │ │ ├── btn_fm_prevstation.png
│ │ │ ├── btn_fm_list_disable.png
│ │ │ ├── btn_fm_decrease_disable.png
│ │ │ ├── btn_fm_increase_disable.png
│ │ │ ├── btn_fm_nextstation_disable.png
│ │ │ ├── btn_fm_prevstation_disable.png
│ │ │ ├── btn_fm_rec_playback_disabled.png
│ │ │ └── btn_fm_rec_playback_enabled.png
│ │ ├── drawable-ldrtl-xhdpi
│ │ │ ├── fm_anim.png
│ │ │ ├── btn_fm_list.png
│ │ │ ├── btn_fm_decrease.png
│ │ │ ├── btn_fm_increase.png
│ │ │ ├── btn_fm_list_disable.png
│ │ │ ├── btn_fm_nextstation.png
│ │ │ ├── btn_fm_prevstation.png
│ │ │ ├── btn_fm_decrease_disable.png
│ │ │ ├── btn_fm_increase_disable.png
│ │ │ ├── btn_fm_nextstation_disable.png
│ │ │ ├── btn_fm_prevstation_disable.png
│ │ │ ├── btn_fm_rec_playback_enabled.png
│ │ │ └── btn_fm_rec_playback_disabled.png
│ │ ├── drawable-ldrtl-xxhdpi
│ │ │ ├── fm_anim.png
│ │ │ ├── btn_fm_list.png
│ │ │ ├── btn_fm_decrease.png
│ │ │ ├── btn_fm_increase.png
│ │ │ ├── btn_fm_nextstation.png
│ │ │ ├── btn_fm_prevstation.png
│ │ │ ├── btn_fm_list_disable.png
│ │ │ ├── btn_fm_decrease_disable.png
│ │ │ ├── btn_fm_increase_disable.png
│ │ │ ├── btn_fm_nextstation_disable.png
│ │ │ ├── btn_fm_prevstation_disable.png
│ │ │ ├── btn_fm_rec_playback_disabled.png
│ │ │ └── btn_fm_rec_playback_enabled.png
│ │ ├── drawable-sw1024dp-ldpi
│ │ │ ├── btn_fm_favorite_off.png
│ │ │ └── btn_fm_favorite_on.png
│ │ ├── drawable-ldrtl
│ │ │ └── anim.xml
│ │ ├── values
│ │ │ └── strings_test.xml
│ │ └── layout
│ │ │ └── test_view.xml
│ └── README
├── gralloc_extra
│ ├── NOTICE
│ ├── Android.mk
│ ├── README
│ └── GraphicBufferExtra.cpp
├── fmradiolibs
│ ├── autofm
│ │ ├── NOTICE
│ │ ├── README
│ │ └── Android.mk
│ ├── fmnative
│ │ ├── NOTICE
│ │ ├── fmr
│ │ │ ├── NOTICE
│ │ │ └── README
│ │ ├── custom
│ │ │ ├── NOTICE
│ │ │ ├── README
│ │ │ ├── Android.mk
│ │ │ └── Android.mk~
│ │ ├── config
│ │ │ ├── mt6627
│ │ │ │ ├── mt6627_fm_v2_coeff.bin
│ │ │ │ ├── mt6627_fm_v2_patch.bin
│ │ │ │ ├── mt6627_fm_v3_coeff.bin
│ │ │ │ ├── mt6627_fm_v3_patch.bin
│ │ │ │ ├── mt6627_fm_v4_coeff.bin
│ │ │ │ ├── mt6627_fm_v4_patch.bin
│ │ │ │ ├── mt6627_fm_v5_coeff.bin
│ │ │ │ ├── mt6627_fm_v5_patch.bin
│ │ │ │ ├── mt6627_fm_v1_coeff.bin
│ │ │ │ ├── mt6627_fm_v1_patch.bin
│ │ │ │ └── mt6627_fm_cust.cfg
│ │ │ ├── mt6630
│ │ │ │ ├── mt6630_fm_v3_coeff.bin
│ │ │ │ ├── mt6630_fm_v3_patch.bin
│ │ │ │ ├── mt6630_fm_v4_coeff.bin
│ │ │ │ ├── mt6630_fm_v4_patch.bin
│ │ │ │ ├── mt6630_fm_v5_coeff.bin
│ │ │ │ ├── mt6630_fm_v5_patch.bin
│ │ │ │ ├── mt6630_fm_v3_coeff_tx.bin
│ │ │ │ ├── mt6630_fm_v3_patch_tx.bin
│ │ │ │ ├── mt6630_fm_v4_coeff_tx.bin
│ │ │ │ ├── mt6630_fm_v4_patch_tx.bin
│ │ │ │ ├── mt6630_fm_v5_coeff_tx.bin
│ │ │ │ ├── mt6630_fm_v5_patch_tx.bin
│ │ │ │ ├── mt6630_fm_v1_coeff.bin
│ │ │ │ ├── mt6630_fm_v1_patch.bin
│ │ │ │ ├── mt6630_fm_v2_coeff.bin
│ │ │ │ ├── mt6630_fm_v2_patch.bin
│ │ │ │ ├── mt6630_fm_v1_coeff_tx.bin
│ │ │ │ ├── mt6630_fm_v1_patch_tx.bin
│ │ │ │ ├── mt6630_fm_v2_coeff_tx.bin
│ │ │ │ ├── mt6630_fm_v2_patch_tx.bin
│ │ │ │ └── mt6630_fm_cust.cfg
│ │ │ ├── mt6628
│ │ │ │ ├── mt6628_fm_rom.bin
│ │ │ │ ├── mt6628_fm_v1_coeff.bin
│ │ │ │ ├── mt6628_fm_v1_patch.bin
│ │ │ │ ├── mt6628_fm_v2_coeff.bin
│ │ │ │ ├── mt6628_fm_v2_patch.bin
│ │ │ │ ├── mt6628_fm_v3_coeff.bin
│ │ │ │ ├── mt6628_fm_v3_patch.bin
│ │ │ │ ├── mt6628_fm_v4_coeff.bin
│ │ │ │ ├── mt6628_fm_v4_patch.bin
│ │ │ │ ├── mt6628_fm_v5_coeff.bin
│ │ │ │ ├── mt6628_fm_v5_patch.bin
│ │ │ │ └── fm_cust.cfg
│ │ │ ├── mt6620
│ │ │ │ └── mt6620_fm_cust.cfg
│ │ │ └── mt6626
│ │ │ │ └── fm_cust.cfg
│ │ └── README
│ └── Android.mk
├── Android.mk
├── libifaddrs
│ └── Android.mk
├── libxlog
│ ├── Android.mk
│ └── xlog.c
├── wifi
│ ├── README
│ ├── sync.h
│ ├── Android.mk
│ └── NOTICE
├── libbt-vendor-mtk
│ └── Android.mk
├── fmaudioplayer
│ └── Android.mk
└── lib_driver_cmd_mt66xx
│ └── Android.mk
├── configs
├── egl.cfg
├── hostapd
│ ├── hostapd.deny
│ └── hostapd.accept
└── ecc_list.xml
├── sepolicy
├── fs_use
├── hci_attach.te
├── runas.te
├── shared_relro.te
├── tee.te
├── watchdogd.te
├── init_shell.te
├── inputflinger.te
├── rild.te
├── wpa_supplicant.te
├── isolated_app.te
├── servicemanager.te
├── mtp.te
├── clatd.te
├── logd.te
├── mdnsd.te
├── racoon.te
├── dnsmasq.te
├── gpsd.te
├── ueventd.te
├── flashlessd.te
├── uncrypt.te
├── domain.te
├── vdc.te
├── app.te
├── healthd.te
├── lmkd.te
├── genfs_contexts
├── s62xd.te
├── ami304d.te
├── memsicd.te
├── akmd8975.te
├── install_recovery.te
├── mmc3524xd.te
├── te_macros
├── service.te
├── hostapd.te
├── keystore.te
├── kernel.te
├── pvrsrvctl.te
├── launchpppoe.te
├── mtk_file.te
├── dumpstate.te
├── BGW.te
├── mmp.te
├── poad.te
├── mmc_ffu.te
├── wpa.te
├── dhcp.te
├── matv.te
├── mc6420d.te
├── br_app_data_service.te
├── fota1.te
├── net.te
├── volte_ua.te
├── md_ctrl.te
├── orientationd.te
├── wifi2agps.te
├── memsicp.te
├── dmlog.te
├── keys.conf
├── tiny_mkswap.te
├── tiny_swapon.te
├── init.te
├── sbchk.te
├── xlog.te
├── muxreport.te
├── usbdongled.te
├── geomagneticd.te
├── dex2oat.te
├── sn.te
├── zpppd_gprs.te
├── thermald.te
├── memsicd3416x.te
├── vtservice.te
├── thermal.te
├── MtkCodecService.te
├── mtk_6620_launcher.te
├── batterywarning.te
├── ccci_rpcd.te
├── disableswap.te
├── pq.te
├── volte_imcb.te
├── ist8303.te
├── ppp.te
├── wmt_loader.te
├── icusbd.te
├── qmcX983d.te
├── aal.te
├── guiext-server.te
├── program_binary.te
├── terservice.te
├── mc6470d.te
├── sdcardd.te
├── bootanim.te
├── mobicore.te
├── mtk_agpsd.te
├── GoogleOtaBinder.te
├── mpud6050.te
├── resmon.te
├── st480.te
├── af7133e.te
├── cmddumper.te
├── pppd_dt.te
├── akmd09911.te
├── akmd8963.te
├── thermal_manager.te
└── bluetooth.te
├── prebuilt
├── app
│ └── EngineerMode
│ │ └── EngineerMode.apk
└── Android.mk
├── cm.dependencies
├── README.md
├── include
└── hardware
│ └── include
│ └── mtkcam
│ ├── utils
│ ├── CpuCtrl.h
│ └── SensorListener.h
│ └── v1
│ └── ExtImgProc
│ └── ExtImgProc.h
└── patches
├── hardware_libhardware
└── 0001_engineering_mode_audio_settings_hardware_libhardware.patch
└── system_netd
└── hotpost-fix.patch
/MediaTek/FmRadio/NOTICE:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/MediaTek/FmRadio/ext/NOTICE:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/MediaTek/FmRadio/tests/NOTICE:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/MediaTek/gralloc_extra/NOTICE:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/MediaTek/fmradiolibs/autofm/NOTICE:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/MediaTek/fmradiolibs/fmnative/NOTICE:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/MediaTek/fmradiolibs/fmnative/fmr/NOTICE:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/MediaTek/fmradiolibs/fmnative/custom/NOTICE:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/configs/egl.cfg:
--------------------------------------------------------------------------------
1 | 0 0 android
2 | 0 1 mali
3 |
--------------------------------------------------------------------------------
/MediaTek/Android.mk:
--------------------------------------------------------------------------------
1 | include $(call all-subdir-makefiles)
2 |
--------------------------------------------------------------------------------
/MediaTek/fmradiolibs/fmnative/config/mt6627/mt6627_fm_v2_coeff.bin:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/MediaTek/fmradiolibs/fmnative/config/mt6627/mt6627_fm_v2_patch.bin:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/MediaTek/fmradiolibs/fmnative/config/mt6627/mt6627_fm_v3_coeff.bin:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/MediaTek/fmradiolibs/fmnative/config/mt6627/mt6627_fm_v3_patch.bin:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/MediaTek/fmradiolibs/fmnative/config/mt6627/mt6627_fm_v4_coeff.bin:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/MediaTek/fmradiolibs/fmnative/config/mt6627/mt6627_fm_v4_patch.bin:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/MediaTek/fmradiolibs/fmnative/config/mt6627/mt6627_fm_v5_coeff.bin:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/MediaTek/fmradiolibs/fmnative/config/mt6627/mt6627_fm_v5_patch.bin:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/MediaTek/fmradiolibs/fmnative/config/mt6630/mt6630_fm_v3_coeff.bin:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/MediaTek/fmradiolibs/fmnative/config/mt6630/mt6630_fm_v3_patch.bin:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/MediaTek/fmradiolibs/fmnative/config/mt6630/mt6630_fm_v4_coeff.bin:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/MediaTek/fmradiolibs/fmnative/config/mt6630/mt6630_fm_v4_patch.bin:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/MediaTek/fmradiolibs/fmnative/config/mt6630/mt6630_fm_v5_coeff.bin:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/MediaTek/fmradiolibs/fmnative/config/mt6630/mt6630_fm_v5_patch.bin:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/MediaTek/fmradiolibs/fmnative/config/mt6630/mt6630_fm_v3_coeff_tx.bin:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/MediaTek/fmradiolibs/fmnative/config/mt6630/mt6630_fm_v3_patch_tx.bin:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/MediaTek/fmradiolibs/fmnative/config/mt6630/mt6630_fm_v4_coeff_tx.bin:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/MediaTek/fmradiolibs/fmnative/config/mt6630/mt6630_fm_v4_patch_tx.bin:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/MediaTek/fmradiolibs/fmnative/config/mt6630/mt6630_fm_v5_coeff_tx.bin:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/MediaTek/fmradiolibs/fmnative/config/mt6630/mt6630_fm_v5_patch_tx.bin:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/sepolicy/fs_use:
--------------------------------------------------------------------------------
1 | #Add support for ubifs
2 | fs_use_xattr ubifs u:object_r:labeledfs:s0;
3 |
--------------------------------------------------------------------------------
/sepolicy/hci_attach.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # MTK Policy Rule
3 | # ============
4 |
--------------------------------------------------------------------------------
/sepolicy/runas.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # MTK Policy Rule
3 | # ============
4 |
5 |
--------------------------------------------------------------------------------
/sepolicy/shared_relro.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # MTK Policy Rule
3 | # ============
4 |
--------------------------------------------------------------------------------
/sepolicy/tee.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # MTK Policy Rule
3 | # ============
4 |
5 |
--------------------------------------------------------------------------------
/sepolicy/watchdogd.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # MTK Policy Rule
3 | # ============
4 |
--------------------------------------------------------------------------------
/configs/hostapd/hostapd.deny:
--------------------------------------------------------------------------------
1 | # List of MAC addresses that are not allowed to authenticate (IEEE 802.11)
2 | # with the AP.
--------------------------------------------------------------------------------
/sepolicy/init_shell.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # MTK Policy Rule
3 | # ============
4 |
5 |
--------------------------------------------------------------------------------
/sepolicy/inputflinger.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # MTK Policy Rule
3 | # ============
4 |
5 |
--------------------------------------------------------------------------------
/sepolicy/rild.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # MTK Policy Rule
3 | # ============
4 |
5 |
6 |
--------------------------------------------------------------------------------
/sepolicy/wpa_supplicant.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # MTK Policy Rule
3 | # ============
4 |
--------------------------------------------------------------------------------
/sepolicy/isolated_app.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # MTK Policy Rule
3 | # ============
4 |
5 |
6 |
--------------------------------------------------------------------------------
/sepolicy/servicemanager.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # MTK Policy Rule
3 | # ============
4 |
5 |
--------------------------------------------------------------------------------
/sepolicy/mtp.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # MTK Policy Rule
3 | # ==============================================
4 |
5 |
--------------------------------------------------------------------------------
/sepolicy/clatd.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # MTK Policy Rule
3 | # ==============================================
4 |
5 |
--------------------------------------------------------------------------------
/sepolicy/logd.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # MTK Policy Rule
3 | # ============
4 | dontaudit logd unlabeled:dir search;
5 |
--------------------------------------------------------------------------------
/sepolicy/mdnsd.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # MTK Policy Rule
3 | # ==============================================
4 |
5 |
--------------------------------------------------------------------------------
/sepolicy/racoon.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # MTK Policy Rule
3 | # ==============================================
4 |
5 |
--------------------------------------------------------------------------------
/sepolicy/dnsmasq.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # MTK Policy Rule
3 | # ============
4 |
5 |
6 | allow dnsmasq netd:file read;
7 |
--------------------------------------------------------------------------------
/sepolicy/gpsd.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # MTK Policy Rule
3 | # ==============================================
4 |
5 |
6 |
--------------------------------------------------------------------------------
/prebuilt/app/EngineerMode/EngineerMode.apk:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/prebuilt/app/EngineerMode/EngineerMode.apk
--------------------------------------------------------------------------------
/cm.dependencies:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "repository": "android_packages_apps_Snap",
4 | "target_path": "packages/apps/Snap",
5 | "branch": "cm-12.1"
6 | }
7 | ]
8 |
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-hdpi/fm_anim.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-hdpi/fm_anim.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldpi/fm_anim.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldpi/fm_anim.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-mdpi/fm_anim.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-mdpi/fm_anim.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-xhdpi/fm_anim.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-xhdpi/fm_anim.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-xxhdpi/fm_anim.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-xxhdpi/fm_anim.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-hdpi/btn_fm_list.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-hdpi/btn_fm_list.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-hdpi/btn_fm_stop.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-hdpi/btn_fm_stop.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldpi/btn_fm_list.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldpi/btn_fm_list.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldpi/btn_fm_stop.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldpi/btn_fm_stop.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldpi/ic_launcher.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-mdpi/btn_fm_list.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-mdpi/btn_fm_list.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-mdpi/btn_fm_stop.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-mdpi/btn_fm_stop.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-hdpi/bottom_bar.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-hdpi/bottom_bar.9.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-hdpi/btn_fm_start.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-hdpi/btn_fm_start.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-hdpi/fm_title_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-hdpi/fm_title_icon.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldpi/btn_fm_start.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldpi/btn_fm_start.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldpi/fm_title_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldpi/fm_title_icon.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-hdpi/fm_anim.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-hdpi/fm_anim.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-ldpi/fm_anim.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-ldpi/fm_anim.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-mdpi/fm_anim.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-mdpi/fm_anim.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-xhdpi/fm_anim.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-xhdpi/fm_anim.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-mdpi/bottom_bar.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-mdpi/bottom_bar.9.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-mdpi/btn_fm_start.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-mdpi/btn_fm_start.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-mdpi/fm_title_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-mdpi/fm_title_icon.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-xhdpi/bottom_bar.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-xhdpi/bottom_bar.9.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-xhdpi/btn_fm_list.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-xhdpi/btn_fm_list.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-xhdpi/btn_fm_start.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-xhdpi/btn_fm_start.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-xhdpi/btn_fm_stop.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-xhdpi/btn_fm_stop.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-xhdpi/fm_title_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-xhdpi/fm_title_icon.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-xxhdpi/bottom_bar.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-xxhdpi/bottom_bar.9.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-xxhdpi/btn_fm_list.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-xxhdpi/btn_fm_list.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-xxhdpi/btn_fm_start.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-xxhdpi/btn_fm_start.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-xxhdpi/btn_fm_stop.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-xxhdpi/btn_fm_stop.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-hdpi/bg_rec_infobar.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-hdpi/bg_rec_infobar.9.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-hdpi/btn_fm_decrease.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-hdpi/btn_fm_decrease.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-hdpi/btn_fm_increase.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-hdpi/btn_fm_increase.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-hdpi/btn_fm_overflow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-hdpi/btn_fm_overflow.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldpi/btn_fm_decrease.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldpi/btn_fm_decrease.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldpi/btn_fm_increase.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldpi/btn_fm_increase.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldpi/btn_fm_overflow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldpi/btn_fm_overflow.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-xxhdpi/fm_anim.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-xxhdpi/fm_anim.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-mdpi/bg_rec_infobar.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-mdpi/bg_rec_infobar.9.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-mdpi/btn_fm_decrease.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-mdpi/btn_fm_decrease.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-mdpi/btn_fm_increase.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-mdpi/btn_fm_increase.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-mdpi/btn_fm_overflow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-mdpi/btn_fm_overflow.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-xhdpi/btn_fm_decrease.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-xhdpi/btn_fm_decrease.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-xhdpi/btn_fm_increase.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-xhdpi/btn_fm_increase.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-xhdpi/btn_fm_overflow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-xhdpi/btn_fm_overflow.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-xxhdpi/fm_title_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-xxhdpi/fm_title_icon.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-hdpi/btn_fm_favorite_off.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-hdpi/btn_fm_favorite_off.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-hdpi/btn_fm_favorite_on.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-hdpi/btn_fm_favorite_on.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-hdpi/btn_fm_list_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-hdpi/btn_fm_list_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-hdpi/btn_fm_nextstation.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-hdpi/btn_fm_nextstation.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-hdpi/btn_fm_prevstation.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-hdpi/btn_fm_prevstation.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-hdpi/btn_fm_stop_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-hdpi/btn_fm_stop_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldpi/btn_fm_favorite_off.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldpi/btn_fm_favorite_off.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldpi/btn_fm_favorite_on.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldpi/btn_fm_favorite_on.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldpi/btn_fm_list_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldpi/btn_fm_list_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldpi/btn_fm_nextstation.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldpi/btn_fm_nextstation.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldpi/btn_fm_prevstation.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldpi/btn_fm_prevstation.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldpi/btn_fm_stop_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldpi/btn_fm_stop_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-hdpi/btn_fm_list.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-hdpi/btn_fm_list.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-ldpi/btn_fm_list.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-ldpi/btn_fm_list.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-mdpi/btn_fm_list.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-mdpi/btn_fm_list.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-xhdpi/btn_fm_list.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-xhdpi/btn_fm_list.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-xxhdpi/btn_fm_list.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-xxhdpi/btn_fm_list.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-mdpi/btn_fm_favorite_off.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-mdpi/btn_fm_favorite_off.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-mdpi/btn_fm_favorite_on.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-mdpi/btn_fm_favorite_on.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-mdpi/btn_fm_list_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-mdpi/btn_fm_list_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-mdpi/btn_fm_nextstation.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-mdpi/btn_fm_nextstation.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-mdpi/btn_fm_prevstation.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-mdpi/btn_fm_prevstation.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-mdpi/btn_fm_stop_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-mdpi/btn_fm_stop_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-xhdpi/bg_rec_infobar.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-xhdpi/bg_rec_infobar.9.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-xhdpi/btn_fm_favorite_on.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-xhdpi/btn_fm_favorite_on.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-xhdpi/btn_fm_nextstation.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-xhdpi/btn_fm_nextstation.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-xhdpi/btn_fm_prevstation.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-xhdpi/btn_fm_prevstation.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-xxhdpi/bg_rec_infobar.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-xxhdpi/bg_rec_infobar.9.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-xxhdpi/btn_fm_decrease.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-xxhdpi/btn_fm_decrease.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-xxhdpi/btn_fm_increase.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-xxhdpi/btn_fm_increase.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-xxhdpi/btn_fm_overflow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-xxhdpi/btn_fm_overflow.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-hdpi/btn_fm_record_enabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-hdpi/btn_fm_record_enabled.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-hdpi/btn_fm_start_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-hdpi/btn_fm_start_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldpi/btn_fm_record_enabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldpi/btn_fm_record_enabled.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldpi/btn_fm_start_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldpi/btn_fm_start_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-hdpi/btn_fm_decrease.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-hdpi/btn_fm_decrease.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-hdpi/btn_fm_increase.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-hdpi/btn_fm_increase.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-ldpi/btn_fm_decrease.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-ldpi/btn_fm_decrease.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-ldpi/btn_fm_increase.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-ldpi/btn_fm_increase.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-mdpi/btn_fm_decrease.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-mdpi/btn_fm_decrease.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-mdpi/btn_fm_increase.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-mdpi/btn_fm_increase.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-mdpi/btn_fm_record_enabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-mdpi/btn_fm_record_enabled.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-mdpi/btn_fm_start_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-mdpi/btn_fm_start_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-xhdpi/btn_fm_favorite_off.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-xhdpi/btn_fm_favorite_off.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-xhdpi/btn_fm_list_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-xhdpi/btn_fm_list_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-xhdpi/btn_fm_start_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-xhdpi/btn_fm_start_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-xhdpi/btn_fm_stop_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-xhdpi/btn_fm_stop_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-xxhdpi/btn_fm_favorite_off.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-xxhdpi/btn_fm_favorite_off.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-xxhdpi/btn_fm_favorite_on.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-xxhdpi/btn_fm_favorite_on.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-xxhdpi/btn_fm_list_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-xxhdpi/btn_fm_list_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-xxhdpi/btn_fm_nextstation.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-xxhdpi/btn_fm_nextstation.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-xxhdpi/btn_fm_prevstation.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-xxhdpi/btn_fm_prevstation.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-xxhdpi/btn_fm_stop_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-xxhdpi/btn_fm_stop_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-hdpi/btn_fm_decrease_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-hdpi/btn_fm_decrease_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-hdpi/btn_fm_increase_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-hdpi/btn_fm_increase_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-hdpi/btn_fm_overflow_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-hdpi/btn_fm_overflow_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-hdpi/btn_fm_rec_stop_disabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-hdpi/btn_fm_rec_stop_disabled.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-hdpi/btn_fm_rec_stop_enabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-hdpi/btn_fm_rec_stop_enabled.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-hdpi/btn_fm_record_disabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-hdpi/btn_fm_record_disabled.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldpi/btn_fm_decrease_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldpi/btn_fm_decrease_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldpi/btn_fm_increase_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldpi/btn_fm_increase_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldpi/btn_fm_overflow_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldpi/btn_fm_overflow_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldpi/btn_fm_rec_stop_disabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldpi/btn_fm_rec_stop_disabled.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldpi/btn_fm_rec_stop_enabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldpi/btn_fm_rec_stop_enabled.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldpi/btn_fm_record_disabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldpi/btn_fm_record_disabled.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-hdpi/btn_fm_nextstation.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-hdpi/btn_fm_nextstation.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-hdpi/btn_fm_prevstation.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-hdpi/btn_fm_prevstation.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-ldpi/btn_fm_nextstation.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-ldpi/btn_fm_nextstation.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-ldpi/btn_fm_prevstation.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-ldpi/btn_fm_prevstation.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-mdpi/btn_fm_nextstation.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-mdpi/btn_fm_nextstation.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-mdpi/btn_fm_prevstation.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-mdpi/btn_fm_prevstation.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-xhdpi/btn_fm_decrease.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-xhdpi/btn_fm_decrease.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-xhdpi/btn_fm_increase.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-xhdpi/btn_fm_increase.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-xxhdpi/btn_fm_decrease.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-xxhdpi/btn_fm_decrease.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-xxhdpi/btn_fm_increase.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-xxhdpi/btn_fm_increase.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-mdpi/btn_fm_decrease_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-mdpi/btn_fm_decrease_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-mdpi/btn_fm_increase_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-mdpi/btn_fm_increase_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-mdpi/btn_fm_overflow_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-mdpi/btn_fm_overflow_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-mdpi/btn_fm_rec_stop_disabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-mdpi/btn_fm_rec_stop_disabled.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-mdpi/btn_fm_rec_stop_enabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-mdpi/btn_fm_rec_stop_enabled.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-mdpi/btn_fm_record_disabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-mdpi/btn_fm_record_disabled.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-xhdpi/btn_fm_decrease_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-xhdpi/btn_fm_decrease_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-xhdpi/btn_fm_increase_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-xhdpi/btn_fm_increase_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-xhdpi/btn_fm_overflow_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-xhdpi/btn_fm_overflow_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-xhdpi/btn_fm_rec_stop_enabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-xhdpi/btn_fm_rec_stop_enabled.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-xhdpi/btn_fm_record_disabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-xhdpi/btn_fm_record_disabled.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-xhdpi/btn_fm_record_enabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-xhdpi/btn_fm_record_enabled.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-xxhdpi/btn_fm_record_disabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-xxhdpi/btn_fm_record_disabled.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-xxhdpi/btn_fm_record_enabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-xxhdpi/btn_fm_record_enabled.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-xxhdpi/btn_fm_start_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-xxhdpi/btn_fm_start_disable.png
--------------------------------------------------------------------------------
/MediaTek/fmradiolibs/fmnative/config/mt6628/mt6628_fm_rom.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/fmradiolibs/fmnative/config/mt6628/mt6628_fm_rom.bin
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-hdpi/btn_fm_nextstation_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-hdpi/btn_fm_nextstation_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-hdpi/btn_fm_prevstation_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-hdpi/btn_fm_prevstation_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldpi/btn_fm_nextstation_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldpi/btn_fm_nextstation_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldpi/btn_fm_prevstation_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldpi/btn_fm_prevstation_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-hdpi/btn_fm_list_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-hdpi/btn_fm_list_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-mdpi/btn_fm_list_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-mdpi/btn_fm_list_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-xhdpi/btn_fm_list_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-xhdpi/btn_fm_list_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-xhdpi/btn_fm_nextstation.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-xhdpi/btn_fm_nextstation.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-xhdpi/btn_fm_prevstation.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-xhdpi/btn_fm_prevstation.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-xxhdpi/btn_fm_nextstation.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-xxhdpi/btn_fm_nextstation.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-xxhdpi/btn_fm_prevstation.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-xxhdpi/btn_fm_prevstation.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-mdpi/btn_fm_nextstation_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-mdpi/btn_fm_nextstation_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-mdpi/btn_fm_prevstation_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-mdpi/btn_fm_prevstation_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-xhdpi/btn_fm_rec_stop_disabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-xhdpi/btn_fm_rec_stop_disabled.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-xxhdpi/btn_fm_decrease_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-xxhdpi/btn_fm_decrease_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-xxhdpi/btn_fm_increase_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-xxhdpi/btn_fm_increase_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-xxhdpi/btn_fm_overflow_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-xxhdpi/btn_fm_overflow_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-xxhdpi/btn_fm_rec_stop_disabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-xxhdpi/btn_fm_rec_stop_disabled.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-xxhdpi/btn_fm_rec_stop_enabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-xxhdpi/btn_fm_rec_stop_enabled.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-hdpi/btn_fm_rec_playback_disabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-hdpi/btn_fm_rec_playback_disabled.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-hdpi/btn_fm_rec_playback_enabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-hdpi/btn_fm_rec_playback_enabled.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldpi/btn_fm_rec_playback_disabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldpi/btn_fm_rec_playback_disabled.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldpi/btn_fm_rec_playback_enabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldpi/btn_fm_rec_playback_enabled.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-hdpi/btn_fm_decrease_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-hdpi/btn_fm_decrease_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-hdpi/btn_fm_increase_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-hdpi/btn_fm_increase_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-ldpi/btn_fm_decrease_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-ldpi/btn_fm_decrease_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-ldpi/btn_fm_increase_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-ldpi/btn_fm_increase_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-mdpi/btn_fm_decrease_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-mdpi/btn_fm_decrease_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-mdpi/btn_fm_increase_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-mdpi/btn_fm_increase_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-xxhdpi/btn_fm_list_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-xxhdpi/btn_fm_list_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-mdpi/btn_fm_rec_playback_disabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-mdpi/btn_fm_rec_playback_disabled.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-mdpi/btn_fm_rec_playback_enabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-mdpi/btn_fm_rec_playback_enabled.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-sw1024dp-ldpi/btn_fm_favorite_off.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-sw1024dp-ldpi/btn_fm_favorite_off.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-sw1024dp-ldpi/btn_fm_favorite_on.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-sw1024dp-ldpi/btn_fm_favorite_on.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-xhdpi/btn_fm_nextstation_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-xhdpi/btn_fm_nextstation_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-xhdpi/btn_fm_prevstation_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-xhdpi/btn_fm_prevstation_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-xhdpi/btn_fm_rec_playback_disabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-xhdpi/btn_fm_rec_playback_disabled.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-xhdpi/btn_fm_rec_playback_enabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-xhdpi/btn_fm_rec_playback_enabled.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-xxhdpi/btn_fm_nextstation_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-xxhdpi/btn_fm_nextstation_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-xxhdpi/btn_fm_prevstation_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-xxhdpi/btn_fm_prevstation_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-xxhdpi/btn_fm_rec_playback_enabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-xxhdpi/btn_fm_rec_playback_enabled.png
--------------------------------------------------------------------------------
/MediaTek/fmradiolibs/fmnative/config/mt6627/mt6627_fm_v1_coeff.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/fmradiolibs/fmnative/config/mt6627/mt6627_fm_v1_coeff.bin
--------------------------------------------------------------------------------
/MediaTek/fmradiolibs/fmnative/config/mt6627/mt6627_fm_v1_patch.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/fmradiolibs/fmnative/config/mt6627/mt6627_fm_v1_patch.bin
--------------------------------------------------------------------------------
/MediaTek/fmradiolibs/fmnative/config/mt6628/mt6628_fm_v1_coeff.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/fmradiolibs/fmnative/config/mt6628/mt6628_fm_v1_coeff.bin
--------------------------------------------------------------------------------
/MediaTek/fmradiolibs/fmnative/config/mt6628/mt6628_fm_v1_patch.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/fmradiolibs/fmnative/config/mt6628/mt6628_fm_v1_patch.bin
--------------------------------------------------------------------------------
/MediaTek/fmradiolibs/fmnative/config/mt6628/mt6628_fm_v2_coeff.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/fmradiolibs/fmnative/config/mt6628/mt6628_fm_v2_coeff.bin
--------------------------------------------------------------------------------
/MediaTek/fmradiolibs/fmnative/config/mt6628/mt6628_fm_v2_patch.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/fmradiolibs/fmnative/config/mt6628/mt6628_fm_v2_patch.bin
--------------------------------------------------------------------------------
/MediaTek/fmradiolibs/fmnative/config/mt6628/mt6628_fm_v3_coeff.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/fmradiolibs/fmnative/config/mt6628/mt6628_fm_v3_coeff.bin
--------------------------------------------------------------------------------
/MediaTek/fmradiolibs/fmnative/config/mt6628/mt6628_fm_v3_patch.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/fmradiolibs/fmnative/config/mt6628/mt6628_fm_v3_patch.bin
--------------------------------------------------------------------------------
/MediaTek/fmradiolibs/fmnative/config/mt6628/mt6628_fm_v4_coeff.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/fmradiolibs/fmnative/config/mt6628/mt6628_fm_v4_coeff.bin
--------------------------------------------------------------------------------
/MediaTek/fmradiolibs/fmnative/config/mt6628/mt6628_fm_v4_patch.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/fmradiolibs/fmnative/config/mt6628/mt6628_fm_v4_patch.bin
--------------------------------------------------------------------------------
/MediaTek/fmradiolibs/fmnative/config/mt6628/mt6628_fm_v5_coeff.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/fmradiolibs/fmnative/config/mt6628/mt6628_fm_v5_coeff.bin
--------------------------------------------------------------------------------
/MediaTek/fmradiolibs/fmnative/config/mt6628/mt6628_fm_v5_patch.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/fmradiolibs/fmnative/config/mt6628/mt6628_fm_v5_patch.bin
--------------------------------------------------------------------------------
/MediaTek/fmradiolibs/fmnative/config/mt6630/mt6630_fm_v1_coeff.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/fmradiolibs/fmnative/config/mt6630/mt6630_fm_v1_coeff.bin
--------------------------------------------------------------------------------
/MediaTek/fmradiolibs/fmnative/config/mt6630/mt6630_fm_v1_patch.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/fmradiolibs/fmnative/config/mt6630/mt6630_fm_v1_patch.bin
--------------------------------------------------------------------------------
/MediaTek/fmradiolibs/fmnative/config/mt6630/mt6630_fm_v2_coeff.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/fmradiolibs/fmnative/config/mt6630/mt6630_fm_v2_coeff.bin
--------------------------------------------------------------------------------
/MediaTek/fmradiolibs/fmnative/config/mt6630/mt6630_fm_v2_patch.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/fmradiolibs/fmnative/config/mt6630/mt6630_fm_v2_patch.bin
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-xhdpi/btn_fm_decrease_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-xhdpi/btn_fm_decrease_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-xhdpi/btn_fm_increase_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-xhdpi/btn_fm_increase_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-xxhdpi/btn_fm_decrease_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-xxhdpi/btn_fm_decrease_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-xxhdpi/btn_fm_increase_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-xxhdpi/btn_fm_increase_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-xxhdpi/btn_fm_rec_playback_disabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-xxhdpi/btn_fm_rec_playback_disabled.png
--------------------------------------------------------------------------------
/MediaTek/fmradiolibs/fmnative/config/mt6630/mt6630_fm_v1_coeff_tx.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/fmradiolibs/fmnative/config/mt6630/mt6630_fm_v1_coeff_tx.bin
--------------------------------------------------------------------------------
/MediaTek/fmradiolibs/fmnative/config/mt6630/mt6630_fm_v1_patch_tx.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/fmradiolibs/fmnative/config/mt6630/mt6630_fm_v1_patch_tx.bin
--------------------------------------------------------------------------------
/MediaTek/fmradiolibs/fmnative/config/mt6630/mt6630_fm_v2_coeff_tx.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/fmradiolibs/fmnative/config/mt6630/mt6630_fm_v2_coeff_tx.bin
--------------------------------------------------------------------------------
/MediaTek/fmradiolibs/fmnative/config/mt6630/mt6630_fm_v2_patch_tx.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/fmradiolibs/fmnative/config/mt6630/mt6630_fm_v2_patch_tx.bin
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-hdpi/btn_fm_nextstation_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-hdpi/btn_fm_nextstation_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-hdpi/btn_fm_prevstation_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-hdpi/btn_fm_prevstation_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-hdpi/btn_fm_rec_playback_disabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-hdpi/btn_fm_rec_playback_disabled.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-hdpi/btn_fm_rec_playback_enabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-hdpi/btn_fm_rec_playback_enabled.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-ldpi/btn_fm_nextstation_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-ldpi/btn_fm_nextstation_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-ldpi/btn_fm_prevstation_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-ldpi/btn_fm_prevstation_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-ldpi/btn_fm_rec_playback_disabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-ldpi/btn_fm_rec_playback_disabled.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-ldpi/btn_fm_rec_playback_enabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-ldpi/btn_fm_rec_playback_enabled.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-mdpi/btn_fm_nextstation_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-mdpi/btn_fm_nextstation_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-mdpi/btn_fm_prevstation_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-mdpi/btn_fm_prevstation_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-mdpi/btn_fm_rec_playback_disabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-mdpi/btn_fm_rec_playback_disabled.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-mdpi/btn_fm_rec_playback_enabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-mdpi/btn_fm_rec_playback_enabled.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-xhdpi/btn_fm_nextstation_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-xhdpi/btn_fm_nextstation_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-xhdpi/btn_fm_prevstation_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-xhdpi/btn_fm_prevstation_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-xhdpi/btn_fm_rec_playback_enabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-xhdpi/btn_fm_rec_playback_enabled.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-xxhdpi/btn_fm_nextstation_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-xxhdpi/btn_fm_nextstation_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-xxhdpi/btn_fm_prevstation_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-xxhdpi/btn_fm_prevstation_disable.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-xhdpi/btn_fm_rec_playback_disabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-xhdpi/btn_fm_rec_playback_disabled.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-xxhdpi/btn_fm_rec_playback_disabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-xxhdpi/btn_fm_rec_playback_disabled.png
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl-xxhdpi/btn_fm_rec_playback_enabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/janengelmohr/android_device_mt6753_common/HEAD/MediaTek/FmRadio/res/drawable-ldrtl-xxhdpi/btn_fm_rec_playback_enabled.png
--------------------------------------------------------------------------------
/configs/hostapd/hostapd.accept:
--------------------------------------------------------------------------------
1 | # List of MAC addresses that are allowed to authenticate (IEEE 802.11)
2 | # with the AP. Optional VLAN ID can be assigned for clients based on the
3 | # MAC address if dynamic VLANs (hostapd.conf dynamic_vlan option) are used.
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Common Part for Mediatek MT6753 SoC
2 | This repository contains hardware configurations commonly needed for building Android for MT6753 SoCs. This also includes MT6735 and its variants (MT6735p and m).
3 |
4 | Just include all makefiles and your device is mostly set up already :)
5 |
--------------------------------------------------------------------------------
/sepolicy/ueventd.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # MTK Policy Rule
3 | # ============
4 |
5 | # for early-migration, set as permissive
6 | # permissive ueventd;
7 |
8 | # add for sysfs:leds; pls check it on L official policy
9 | allow ueventd sysfs:file setattr;
10 |
--------------------------------------------------------------------------------
/sepolicy/flashlessd.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # Policy File of /system/bin/flashlessd Executable File
3 |
4 | type flashlessd_exec, exec_type, file_type;
5 | type flashlessd, domain;
6 |
7 |
8 | # permissive flashlessd;
9 |
10 | init_daemon_domain(flashlessd)
11 |
--------------------------------------------------------------------------------
/sepolicy/uncrypt.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # MTK Policy Rule
3 | # ============
4 | allow uncrypt misc_device:chr_file *;
5 | allow uncrypt platformblk_device:dir *;
6 | allow uncrypt platformblk_device:blk_file *;
7 | allow uncrypt system_data_file:file { open read };
8 |
9 |
--------------------------------------------------------------------------------
/MediaTek/FmRadio/ext/Android.mk:
--------------------------------------------------------------------------------
1 |
2 | LOCAL_PATH := $(call my-dir)
3 | include $(CLEAR_VARS)
4 |
5 | LOCAL_MODULE_TAGS := optional
6 | LOCAL_MODULE := com.mediatek.fmradio.ext
7 |
8 | LOCAL_SRC_FILES := $(call all-java-files-under, src)
9 |
10 | include $(BUILD_STATIC_JAVA_LIBRARY)
11 |
12 |
13 |
--------------------------------------------------------------------------------
/MediaTek/libifaddrs/Android.mk:
--------------------------------------------------------------------------------
1 |
2 | LOCAL_PATH:= $(call my-dir)
3 |
4 | include $(CLEAR_VARS)
5 | LOCAL_SRC_FILES := ifaddrs.c
6 | LOCAL_CFLAGS := -O2 -g
7 | LOCAL_C_INCLUDES :=
8 | LOCAL_SHARED_LIBRARIES :=
9 | LOCAL_MODULE := libifaddrs
10 | LOCAL_MULTILIB := 32
11 | include $(BUILD_STATIC_LIBRARY)
12 |
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/drawable-ldrtl/anim.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
9 |
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/values/strings_test.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 成功
4 | 失败
5 | 搜索
6 |
7 |
--------------------------------------------------------------------------------
/sepolicy/domain.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # MTK Policy Rule
3 | # ==============================================
4 |
5 | # allow domain anr_data_file:file append;
6 |
7 | # extmem policy for lca debug15 over external memory
8 | allow domain exm0_device:chr_file { read write ioctl open };
9 |
--------------------------------------------------------------------------------
/MediaTek/libxlog/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := $(my-dir)
2 |
3 | include $(CLEAR_VARS)
4 |
5 | LOCAL_CFLAGS += $(LIBLOG_CFLAGS)
6 | LOCAL_MODULE := libxlog
7 | LOCAL_SRC_FILES := xlog.c
8 | LOCAL_C_INCLUDES += system/core/include/
9 | LOCAL_SHARED_LIBRARIES := libcutils liblog
10 |
11 | include $(BUILD_SHARED_LIBRARY)
12 |
--------------------------------------------------------------------------------
/MediaTek/fmradiolibs/fmnative/config/mt6630/mt6630_fm_cust.cfg:
--------------------------------------------------------------------------------
1 | [FM Radio]
2 | #FM RX RSSI threshold setting
3 | FM_RX_RSSI_TH_LONG_MT6630 = -296
4 | FM_RX_RSSI_TH_SHORT_MT6630 = -296
5 | FM_RX_DESENSE_RSSI_MT6630 = -258
6 | FM_RX_SMG_TH_MT6630 = 16421
7 | #deemphasis: 0-50us, China Mainland; 1-75us China Taiwan
8 | FM_RX_DEEMPHASIS_MT6630 = 0
9 |
--------------------------------------------------------------------------------
/sepolicy/vdc.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # MTK Policy Rule
3 | # ==============================================
4 |
5 |
6 | # Date : WK14.37
7 | # Operation : Migration
8 | # Purpose : property
9 | allow vdc vold_prop:property_service set;
10 |
11 | # Date : WK14.53
12 | # Purpose : dumpstate
13 | allow vdc dumpstate:file read;
14 |
15 |
--------------------------------------------------------------------------------
/sepolicy/app.te:
--------------------------------------------------------------------------------
1 |
2 |
3 | # ==============================================
4 | # MTK Policy Rule
5 | # ==============================================
6 |
7 |
8 | # Date: wk14.40
9 | # Operation : SQC
10 | # Purpose : [ALPS01756200] wwop boot up fail
11 | allow appdomain custom_file:dir { search getattr open read };
12 | allow appdomain custom_file:file { read open getattr};
13 |
14 |
--------------------------------------------------------------------------------
/sepolicy/healthd.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # MTK Policy Rule
3 | # ============
4 |
5 | #============= healthd ==============
6 | allow healthd self:capability dac_override;
7 | allow healthd mtkrild:unix_stream_socket connectto;
8 | allow healthd rild_oem_socket:sock_file write;
9 | allow healthd sysfs_vcorefs_pwrctrl:file write;
10 | allow healthd app_data_file:file write;
11 |
12 |
--------------------------------------------------------------------------------
/MediaTek/fmradiolibs/fmnative/config/mt6628/fm_cust.cfg:
--------------------------------------------------------------------------------
1 | [FM Radio]
2 | #FM RX RSSI threshold setting
3 | FM_RX_RSSI_TH_LONG_MT6628 = -296
4 | FM_RX_RSSI_TH_SHORT_MT6628 = -296
5 | FM_RX_DESENSE_RSSI_MT6628 = -240
6 | FM_RX_SMG_TH_MT6628 = 16421
7 | #deemphasis: 0-50us, China Mainland; 1-75us China Taiwan
8 | FM_RX_DEEMPHASIS_MT6628 = 0
9 | #osc freq: 0-26MHz; 1-19MHz; 2-24MHz; 3-38.4MHz; 4-40MHz; 5-52MHz
10 | FM_RX_OSC_FREQ_MT6628 = 0
--------------------------------------------------------------------------------
/MediaTek/fmradiolibs/fmnative/config/mt6627/mt6627_fm_cust.cfg:
--------------------------------------------------------------------------------
1 | [FM Radio]
2 | #FM RX RSSI threshold setting
3 | FM_RX_RSSI_TH_LONG_MT6627 = -296
4 | FM_RX_RSSI_TH_SHORT_MT6627 = -296
5 | FM_RX_DESENSE_RSSI_MT6627 = -240
6 | FM_RX_SMG_TH_MT6627 = 16421
7 | #deemphasis: 0-50us, China Mainland; 1-75us China Taiwan
8 | FM_RX_DEEMPHASIS_MT6627 = 0
9 | #osc freq: 0-26MHz; 1-19MHz; 2-24MHz; 3-38.4MHz; 4-40MHz; 5-52MHz
10 | FM_RX_OSC_FREQ_MT6627 = 0
--------------------------------------------------------------------------------
/MediaTek/fmradiolibs/autofm/README:
--------------------------------------------------------------------------------
1 | Debug tool autofm, including FM power on/off,
2 | seek, scan, tune ...and some other basic functions.
3 |
4 | WHAT IT DOES?
5 | =============
6 | Provide basic functions for debugging FM
7 |
8 | HOW IT WAS BUILT?
9 | ==================
10 | 'autofm' is a excutable bin file
11 |
12 | HOW TO USE IT?
13 | ==============
14 | Run 'autofm' in adb shell
15 |
16 | All the source code of this library were written by MediaTek co..
17 |
18 |
--------------------------------------------------------------------------------
/sepolicy/lmkd.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # MTK Policy Rule
3 | # ============
4 |
5 |
6 | # Data : 2015/01/14
7 | # Operation : MT6735 SQC bug fix
8 | # Purpose : ALPS01905960 - selinux_warning: audit(1420845354.752:91): avc: denied { search }
9 | # for pid=194 comm="lmkd" name="23573" dev="proc"
10 | # ino=915740 scontext=u:r:lmkd:s0 tcontext=u:r:zygote:s0 tclass=dir permissive=0
11 | dontaudit lmkd zygote:dir *;
12 |
--------------------------------------------------------------------------------
/sepolicy/genfs_contexts:
--------------------------------------------------------------------------------
1 |
2 | genfscon proc /secmem0 u:object_r:proc_secmem:s0
3 |
4 | genfscon proc /driver/thermal u:object_r:proc_thermal:s0
5 | genfscon proc /mtkcooler u:object_r:proc_mtkcooler:s0
6 | genfscon proc /mtktz u:object_r:proc_mtktz:s0
7 | genfscon proc /lk_env u:object_r:proc_lk_env:s0
8 | genfscon proc /driver/storage_logger u:object_r:proc_slogger:s0
9 | genfscon proc /driver/icusb u:object_r:proc_icusb:s0
10 |
11 | genfscon iso9660 / u:object_r:iso9660:s0
12 |
--------------------------------------------------------------------------------
/sepolicy/s62xd.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # Policy File of /system/bins62xd Executable File
3 |
4 |
5 | # ==============================================
6 | # Type Declaration
7 | # ==============================================
8 |
9 | type s62xd_exec , exec_type, file_type;
10 | type s62xd ,domain;
11 |
12 | # ==============================================
13 | # MTK Policy Rule
14 | # ==============================================
15 |
16 | init_daemon_domain(s62xd)
17 |
--------------------------------------------------------------------------------
/sepolicy/ami304d.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # Policy File of /system/binami304d Executable File
3 |
4 |
5 | # ==============================================
6 | # Type Declaration
7 | # ==============================================
8 |
9 | type ami304d_exec , exec_type, file_type;
10 | type ami304d ,domain;
11 |
12 | # ==============================================
13 | # MTK Policy Rule
14 | # ==============================================
15 |
16 | init_daemon_domain(ami304d)
17 |
--------------------------------------------------------------------------------
/sepolicy/memsicd.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # Policy File of /system/binmemsicd Executable File
3 |
4 |
5 | # ==============================================
6 | # Type Declaration
7 | # ==============================================
8 |
9 | type memsicd_exec , exec_type, file_type;
10 | type memsicd ,domain;
11 |
12 | # ==============================================
13 | # MTK Policy Rule
14 | # ==============================================
15 |
16 | init_daemon_domain(memsicd)
17 |
--------------------------------------------------------------------------------
/prebuilt/Android.mk:
--------------------------------------------------------------------------------
1 | # We need these apps to be signed with platform cerificate, so let's use the build system
2 | LOCAL_PATH:= $(call my-dir)
3 |
4 | include $(CLEAR_VARS)
5 | LOCAL_MODULE := EngineerMode
6 | #LOCAL_MODULE_OWNER := qcom
7 | LOCAL_MODULE_TAGS := optional
8 | LOCAL_MODULE_CLASS := APPS
9 | LOCAL_CERTIFICATE := platform
10 | LOCAL_MODULE_SUFFIX := .apk
11 | LOCAL_SRC_FILES := app/EngineerMode/EngineerMode.apk
12 | LOCAL_MODULE_PATH := $(PRODUCT_OUT)/system/app
13 | include $(BUILD_PREBUILT)
--------------------------------------------------------------------------------
/MediaTek/gralloc_extra/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := $(call my-dir)
2 |
3 | include $(CLEAR_VARS)
4 |
5 | LOCAL_SRC_FILES := \
6 | GraphicBufferExtra.cpp \
7 | GraphicBufferExtra_hal.cpp
8 |
9 | LOCAL_C_INCLUDES := \
10 | $(LOCAL_PATH)/include \
11 | $(LOCAL_PATH)/../include
12 |
13 | LOCAL_SHARED_LIBRARIES := \
14 | libhardware \
15 | libcutils \
16 | libutils
17 |
18 | LOCAL_EXPORT_C_INCLUDE_DIRS := \
19 | $(LOCAL_PATH)/include
20 |
21 | LOCAL_MODULE := libgralloc_extra
22 |
23 | include $(BUILD_SHARED_LIBRARY)
24 |
--------------------------------------------------------------------------------
/sepolicy/akmd8975.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # Policy File of /system/binakmd8975 Executable File
3 |
4 |
5 | # ==============================================
6 | # Type Declaration
7 | # ==============================================
8 |
9 | type akmd8975_exec , exec_type, file_type;
10 | type akmd8975 ,domain;
11 |
12 |
13 | # ==============================================
14 | # MTK Policy Rule
15 | # ==============================================
16 |
17 | init_daemon_domain(akmd8975)
18 |
--------------------------------------------------------------------------------
/MediaTek/fmradiolibs/fmnative/config/mt6620/mt6620_fm_cust.cfg:
--------------------------------------------------------------------------------
1 | [FM Radio]
2 | #FM RX RSSI threshold setting
3 | FM_RX_RSSI_TH_LONG_MT6620 = -296
4 | FM_RX_RSSI_TH_SHORT_MT6620 = -296
5 | FM_RX_DESENSE_RSSI_MT6620 = -245
6 | FM_RX_SMG_TH_MT6620 = 6
7 | #deemphasis: 0-50us, China Mainland; 1-75us China Taiwan
8 | FM_RX_DEEMPHASIS_MT6620 = 0
9 | #osc freq: 0-26MHz; 1-19MHz; 2-24MHz; 3-38.4MHz; 4-40MHz; 5-52MHz
10 | FM_RX_OSC_FREQ_MT6620 = 0
11 | [FM Transmitter]
12 | #FMT_SCAN_HOLE_L_MT6620 = 976
13 | #FMT_SCAN_HOLE_H_MT6620 = 1011
14 | #FMT_PWR_LVL_MAX_MT6620 = 120
15 |
--------------------------------------------------------------------------------
/MediaTek/fmradiolibs/fmnative/custom/README:
--------------------------------------------------------------------------------
1 | Initial parameters needed by FM before open it
2 |
3 | WHAT IT DOES?
4 | =============
5 | Initial parameters needed by FM before open it
6 |
7 | HOW IT WAS BUILT?
8 | ==================
9 | It needs the following libs from AOSP:
10 | 1. libcutils
11 |
12 | HOW TO USE IT?
13 | ==============
14 | Files in this directory is used to
15 | generate a library which name is 'libfmcust'
16 |
17 | The lib 'libfmcust' is loaded when system up
18 |
19 | All the source code of this library were written by MediaTek co..
20 |
21 |
--------------------------------------------------------------------------------
/sepolicy/install_recovery.te:
--------------------------------------------------------------------------------
1 | # Date : WK14.41
2 | # Operation : Migration
3 | # Purpose : update recovery image
4 | allow install_recovery bootimg_device:chr_file { open read write };
5 | allow install_recovery recovery_device:chr_file { open read write };
6 | allow install_recovery platformblk_device:dir search;
7 | allow install_recovery platformblk_device:blk_file { open read write };
8 | allow install_recovery sysfs:file { open read write };
9 | allow install_recovery tee_part_device:chr_file *;
10 | dontaudit install_recovery system_file:file entrypoint;
11 |
--------------------------------------------------------------------------------
/sepolicy/mmc3524xd.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # Policy File of /system/bin/mmc3524xd Executable File
3 |
4 |
5 | # ==============================================
6 | # Type Declaration
7 | # ==============================================
8 | type mmc3524xd_exec , exec_type, file_type;
9 | type mmc3524xd ,domain;
10 |
11 | #permissive mmc3524xd;
12 | init_daemon_domain(mmc3524xd)
13 |
14 | #add permission
15 | allow mmc3524xd gsensor_device:chr_file {open ioctl read write};
16 | allow mmc3524xd msensor_device:chr_file {open ioctl read write};
17 |
18 |
--------------------------------------------------------------------------------
/sepolicy/te_macros:
--------------------------------------------------------------------------------
1 | #####################################
2 | # create_pty(domain)
3 | # Allow domain to create and use a pty, isolated from any other domain ptys.
4 | define(`create_pty', `
5 | # Each domain gets a unique devpts type.
6 | type $1_devpts, fs_type;
7 | # Label the pty with the unique type when created.
8 | type_transition $1 devpts:chr_file $1_devpts;
9 | # Allow use of the pty after creation.
10 | allow $1 $1_devpts:chr_file { open getattr read write ioctl };
11 | # Note: devpts:dir search and ptmx_device:chr_file rw_file_perms
12 | # allowed to everyone via domain.te.
13 | ')
14 |
--------------------------------------------------------------------------------
/sepolicy/service.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # MTK Policy Rule
3 | # ==============================================
4 | type nvram_agent_service, service_manager_type;
5 | type dm_agent_binder_service, service_manager_type;
6 | type terservice_service, service_manager_type;
7 | type ota_agent_service, service_manager_type;
8 | type aal_service, service_manager_type;
9 | type guiext-server_service, service_manager_type;
10 | type mtk_codec_service_service, service_manager_type;
11 | type ppl_agent_service, service_manager_type;
12 |
--------------------------------------------------------------------------------
/MediaTek/gralloc_extra/README:
--------------------------------------------------------------------------------
1 | A gralloc extra HAL to retrive buffer detail information.
2 |
3 | WHAT IT DOES?
4 | =============
5 | libgralloc_extra.so provide a convenience API for retriving the buffer_t
6 | information, such as width, height, real format, raw buffer handle and more
7 | extra share space for MTK's HWC, Video, and Camera.
8 |
9 | HOW IT WAS BUILT?
10 | ==================
11 | It needs the following library from AOSP:
12 | 1. libhardware
13 | 2. libcutils
14 | 3. libutils
15 |
16 | HOW TO USE IT?
17 | ==============
18 | See the usage of gralloc_extra_* at ./tests/
19 | gralloc_test.cpp
--------------------------------------------------------------------------------
/sepolicy/hostapd.te:
--------------------------------------------------------------------------------
1 | # ====================================
2 | # MTK Policy Rule
3 | # ====================================
4 |
5 | # Date: 2014/09/15
6 | # Operation: [Pre-SQC] Hotspot Manager cannot communicate with framework
7 | # Purpose: Add socket write permission for hostapd
8 | allow hostapd system_wpa_socket:sock_file write;
9 |
10 |
11 | # Date: 2014/10/13
12 | # Operation: [L-SQC] SELinux warning during whole chip reset
13 | # Purpose: kernel module netdev-ap0 gets invalid during whole chip reset, no impact to normal flow, dontaudit
14 | dontaudit hostapd kernel:system module_request;
15 |
16 |
--------------------------------------------------------------------------------
/sepolicy/keystore.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # MTK Policy Rule
3 | # ============
4 |
5 | # Date : WK14.40 2014/10/3
6 | # Operation : keystore CTS
7 | # Purpose : Open MobiCore access permission for keystore CTS hardware-backed solution
8 | allow keystore mobicore:unix_stream_socket { connectto read write };
9 | allow keystore mobicore_user_device:chr_file { read write open ioctl};
10 |
11 | # Date : WK14.40 2014/12/26
12 | # Operation : CTS 5.0_r1
13 | # Purpose : allow access to /data/data/com.android.cts.security/cache/CTS_DUMP for full CTS
14 | allow keystore app_data_file:file write;
--------------------------------------------------------------------------------
/sepolicy/kernel.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # MTK Policy Rule
3 | # ============
4 | # Date : WK14.38
5 | # Operation : Migration
6 | # Purpose : run guitar_update for touch F/W upgrade.
7 | allow kernel fuse:dir search;
8 |
9 | # Date : WK14.39
10 | # Operation : Migration
11 | # Purpose : ums driver can access blk_file
12 | allow kernel block_device:blk_file { read write };
13 | allow kernel loop_device:blk_file { read };
14 |
15 | # Date : WK14.43
16 | # Operation : Migration
17 | # Purpose : Access to TC1 partition for reading MAC
18 | allow kernel platformblk_device:blk_file { open read write };
19 |
--------------------------------------------------------------------------------
/MediaTek/wifi/README:
--------------------------------------------------------------------------------
1 | This directory contains WIFI_HAL interface and function
2 |
3 |
4 | WHAT IT DOES?
5 | =============
6 | It provide another method for WIFI HAL to access WIFI driver which is different from wpa_supplicant.
7 |
8 |
9 | HOW IT WAS BUILT?
10 | ==================
11 | It needs the following libs from AOSP:
12 |
13 |
14 | and the following libs from MediaTek:
15 |
16 |
17 | All source/dependency modules of this module are already put in
18 | 'hardware/mediatek/wlan/wifi_hal' folder.
19 |
20 |
21 | HOW TO USE IT?
22 | ==============
23 | Files in this directory is used for WIFI HAL interface and function
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/sepolicy/pvrsrvctl.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # Policy File of /system/bin/pvrsrvctl Executable File
3 |
4 | # ==============================================
5 | # Type Declaration
6 | # ==============================================
7 | type pvrsrvctl, domain;
8 | type pvrsrvctl_exec, exec_type, file_type;
9 |
10 | # ==============================================
11 | # MTK Policy Rule
12 | # ==============================================
13 | init_daemon_domain(pvrsrvctl)
14 |
15 | allow pvrsrvctl self:capability sys_admin;
16 | allow pvrsrvctl gpu_device:chr_file rw_file_perms;
17 | allow pvrsrvctl self:capability sys_module;
18 |
19 |
--------------------------------------------------------------------------------
/MediaTek/fmradiolibs/fmnative/fmr/README:
--------------------------------------------------------------------------------
1 | Libraries of MTK FM feature, including FM power on/off,
2 | seek, scan, tune...and some other basic functions.
3 |
4 | WHAT IT DOES?
5 | =============
6 | Provide FM basic functions
7 |
8 | HOW IT WAS BUILT?
9 | ==================
10 | It needs the following libs from AOSP:
11 | 1. libcutils
12 | 2. libdl
13 |
14 | and the following libs from MediaTek:
15 | 1. libmedia
16 |
17 | HOW TO USE IT?
18 | ==============
19 | Files in this directory is used to
20 | generate libraries 'libfmjni' and 'libfmmtxxxx'
21 |
22 | These libraries are loaded when system up
23 |
24 | All the source code of this library were written by MediaTek co..
25 |
26 |
--------------------------------------------------------------------------------
/sepolicy/launchpppoe.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # Policy File of /system/bin/launchpppoe Executable File
3 |
4 | # ==============================================
5 | # Type Declaration
6 | # ==============================================
7 | type launchpppoe, domain;
8 | type launchpppoe_exec, exec_type, file_type;
9 |
10 | # ==============================================
11 | # MTK Policy Rule
12 | # ==============================================
13 |
14 |
15 | # Date : WK14.38
16 | # Operation : Migration
17 | # Purpose : transit to ppp directly since the resource are shared and serve the same purpose
18 | domain_auto_trans(init, launchpppoe_exec, ppp)
19 |
20 |
--------------------------------------------------------------------------------
/sepolicy/mtk_file.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # Type Declaration of MTK File
3 |
4 |
5 | # ==============================================
6 | # MTK Policy Rule
7 | # ==============================================
8 |
9 | type lost_found_data_file, file_type, data_file_type;
10 | type dontpanic_data_file, file_type, data_file_type;
11 | type resource_cache_data_file, file_type, data_file_type;
12 | type http_proxy_cfg_data_file, file_type, data_file_type;
13 | type acdapi_data_file, file_type, data_file_type;
14 | type ppp_data_file, file_type, data_file_type;
15 | type wide_dhcpv6_data_file, file_type, data_file_type;
16 | type custom_file, file_type, data_file_type;
--------------------------------------------------------------------------------
/MediaTek/FmRadio/ext/README:
--------------------------------------------------------------------------------
1 | The FM radio plugin host side.
2 |
3 | This library is pre-built by MediaTek internal.
4 |
5 | WHAT IT DOES?
6 | =============
7 | The FM Radio plugin host is designed to change some strings
8 | for vendor customing. It contains:
9 | 1. Plugin host API
10 | 2. A default implement
11 |
12 | HOW IT WAS BUILT?
13 | ==================
14 | It needs the following library from AOSP:
15 | No need.
16 |
17 | and the following libs from MediaTek:
18 | No need.
19 |
20 | All source/dependency modules of this module are already put in
21 | 'vendor/mediatek/libs' folder.
22 |
23 | HOW TO USE IT?
24 | ==============
25 | Install FmRadio.apk and plugin apk in mediatek platform.
26 |
--------------------------------------------------------------------------------
/MediaTek/fmradiolibs/autofm/Android.mk:
--------------------------------------------------------------------------------
1 | ifeq ($(MTK_FM_SUPPORT), yes)
2 |
3 | BUILD_FMTEST := true
4 | FM_TOOL_BUILD_DEAMON := false
5 |
6 | LOCAL_PATH := $(call my-dir)
7 |
8 | ifeq ($(BUILD_FMTEST), true)
9 | include $(CLEAR_VARS)
10 |
11 | LOCAL_SRC_FILES := \
12 | autofm.c
13 |
14 | LOCAL_STATIC_LIBRARIES :=
15 |
16 | #LOCAL_SHARED_LIBRARIES := libfm
17 |
18 | LOCAL_C_INCLUDES :=
19 |
20 | LOCAL_PRELINK_MODULE := yes
21 |
22 | LOCAL_MODULE_TAGS := eng
23 |
24 | ifeq ($(FM_TOOL_BUILD_DEAMON), true)
25 | LOCAL_CFLAGS := \
26 | -DFM_TOOL_BUILD_DEAMON
27 | LOCAL_MODULE := autofmd
28 | else
29 | LOCAL_MODULE := autofm
30 | endif
31 |
32 | include $(BUILD_EXECUTABLE)
33 | endif
34 | endif
35 |
--------------------------------------------------------------------------------
/sepolicy/dumpstate.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # MTK Policy Rule
3 | # ==============================================
4 |
5 | # Date : WK14.33
6 | # Operation : Bugreport UT
7 | # Purpose : add dumpstate policy rule
8 |
9 | #allow dumpstate init:binder call;
10 | allow dumpstate mtkbt:binder call;
11 | allow dumpstate MtkCodecService:binder call;
12 | allow dumpstate nvram_agent_binder:binder call;
13 | allow dumpstate ppl_agent:binder call;
14 | allow dumpstate GoogleOtaBinder:binder call;
15 |
16 | allow dumpstate system_data_file:file { rename write create unlink setattr };
17 |
18 | allow dumpstate dontpanic_data_file:dir search;
19 | allow dumpstate guiext-server:binder call;
20 |
21 |
--------------------------------------------------------------------------------
/sepolicy/BGW.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # Policy File of /system/xbin/BGW Executable File
3 |
4 |
5 | # ==============================================
6 | # Type Declaration
7 | # ==============================================
8 |
9 | type BGW_exec , exec_type, file_type;
10 | type BGW ,domain;
11 |
12 |
13 | # ==============================================
14 | # MTK Policy Rule
15 | # ==============================================
16 |
17 | # permissive BGW;
18 | init_daemon_domain(BGW)
19 |
20 | #============= BGW ==============
21 | allow BGW ccci_device:chr_file { read write open };
22 | allow BGW self:netlink_socket { read bind create write };
23 | allow BGW stpwmt_device:chr_file { read write open };
24 |
--------------------------------------------------------------------------------
/MediaTek/libxlog/xlog.c:
--------------------------------------------------------------------------------
1 | #include
2 |
3 | struct xlog_record {
4 | const char *tag_str;
5 | const char *fmt_str;
6 | int prio;
7 | };
8 |
9 | static void init(void) __attribute__ ((constructor));
10 |
11 | void init(void)
12 | {
13 | }
14 |
15 | int __xlog_buf_printf(int bufid, const struct xlog_record *rec, ...)
16 | {
17 | va_list args;
18 | va_start(args, rec);
19 | LOG_PRI_VA(rec->prio, rec->tag_str, rec->fmt_str, args);
20 | va_end(args);
21 |
22 | return 0;
23 | }
24 |
25 | void dl_unregister_notify_function(void){return 0;}
26 |
27 | void dl_register_notify_function(int (*load_notify_function) (const char *name,uintptr_t address,uintptr_t size ),int (*unload_notify_function) (const char *name, uintptr_t address)){return 0;}
28 |
--------------------------------------------------------------------------------
/MediaTek/FmRadio/tests/README:
--------------------------------------------------------------------------------
1 | FmRadioTests.apk is the unit test of FmRadio.apk.
2 |
3 | This library is pre-built by MediaTek internal.
4 |
5 | WHAT IT DOES?
6 | =============
7 | It is designed to unit text for FM radio application.
8 |
9 | HOW IT WAS BUILT?
10 | ==================
11 | It needs the following library from AOSP:
12 | 1. framework.jar
13 |
14 | and the following libs from MediaTek:
15 | 1. FmRadio.apk
16 | 2. librobotium4.jar
17 |
18 | All source/dependency modules of this module are already put in
19 | 'vendor/mediatek/libs' folder.
20 |
21 | HOW TO USE IT?
22 | ==============
23 | 1. Install FmRadioTests.apk in mediatek platform.
24 | 2. Use adb command to run test:
25 | adb shell am instrument -w com.mediatek.fmradio.tests/.FmRadioFunctionRunner
26 |
--------------------------------------------------------------------------------
/sepolicy/mmp.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # Policy File of /system/binmmp Executable File
3 |
4 |
5 | # ==============================================
6 | # Type Declaration
7 | # ==============================================
8 |
9 | type mmp_exec , exec_type, file_type;
10 | type mmp ,domain;
11 |
12 | # ==============================================
13 | # Android Policy Rule
14 | # ==============================================
15 |
16 | # ==============================================
17 | # NSA Policy Rule
18 | # ==============================================
19 |
20 | # ==============================================
21 | # MTK Policy Rule
22 | # ==============================================
23 |
24 | init_daemon_domain(mmp)
25 |
26 |
--------------------------------------------------------------------------------
/sepolicy/poad.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # Policy File of /system/binpoad Executable File
3 |
4 |
5 | # ==============================================
6 | # Type Declaration
7 | # ==============================================
8 |
9 | type poad_exec , exec_type, file_type;
10 | type poad ,domain;
11 |
12 | # ==============================================
13 | # Android Policy Rule
14 | # ==============================================
15 |
16 | # ==============================================
17 | # NSA Policy Rule
18 | # ==============================================
19 |
20 | # ==============================================
21 | # MTK Policy Rule
22 | # ==============================================
23 |
24 |
25 | init_daemon_domain(poad)
26 |
27 |
--------------------------------------------------------------------------------
/MediaTek/fmradiolibs/fmnative/README:
--------------------------------------------------------------------------------
1 | Configure files and DSP patches needed by FM
2 |
3 | WHAT IT DOES?
4 | =============
5 | Configure files mtXXXX_fm_cust.cfg are used to adjust FM scan parameters
6 | DSP patches mtxxxx_fm_vx_coeff.bin and mtxxxx_fm_vx_patch.bin are needed by FM Modem
7 |
8 | HOW IT WAS BUILT?
9 | ==================
10 | These files are put inside target /etc/firmware/mtxxxx/
11 |
12 | HOW TO USE IT?
13 | ==============
14 | These files can be push out/push in directely by adb command
15 |
16 | Change items' value of the Configure files mtXXXX_fm_cust.cfg would effect FM scan performance
17 |
18 | DSP patches mtxxxx_fm_vx_coeff.bin and mtxxxx_fm_vx_patch.bin are updated by MediaTek co..
19 |
20 | All the source code of this library were written by MediaTek co..
21 |
22 |
--------------------------------------------------------------------------------
/sepolicy/mmc_ffu.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # Policy File of /system/bin/mmc_ffu Executable File
3 |
4 | # ==============================================
5 | # Type Declaration
6 | # ==============================================
7 | type mmc_ffu, domain;
8 | type mmc_ffu_exec, exec_type, file_type;
9 |
10 | # ==============================================
11 | # MTK Policy Rule
12 | # ==============================================
13 | init_daemon_domain(mmc_ffu)
14 | allow init mmc_ffu_exec:file execute_no_trans;
15 | allow mmc_ffu block_device:dir search;
16 | allow mmc_ffu misc_sd_device:chr_file { read ioctl open };
17 | allow mmc_ffu mmcblk_device:blk_file { read write ioctl open };
18 | allow mmc_ffu platformblk_device:blk_file { read write ioctl open };
19 |
--------------------------------------------------------------------------------
/sepolicy/wpa.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # MTK Policy Rule
3 | # ============
4 |
5 | allow wpa rild_oem_socket:sock_file write;
6 | allow wpa rild_oem_md2_socket:sock_file write;
7 | allow wpa mtkrild:unix_stream_socket connectto;
8 | # if low memory occured, and system try to free more memory, wpa_suppliant may meet a violation like:
9 | # avc: denied { use } for pid=4063 comm="wpa_supplicant"
10 | # path=2F6465762F6173686D656D2F4469736361726461626C654D656D6F72794173686D656D416C6C6F6361746F72202864656C6574656429
11 | # dev="tmpfs" ino=46425 scontext=u:r:wpa:s0 tcontext=u:r:platform_app:s0 tclass=fd permissive=0
12 | # this is a issue caused by low memory, so we should add this rule below
13 | allow wpa platform_app:fd use;
14 | allow wpa platform_app_tmpfs:file write;
--------------------------------------------------------------------------------
/sepolicy/dhcp.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # MTK Policy Rule
3 | # ============
4 |
5 | # Date :WK14.34
6 | # Operation : Migration
7 | # Purpose: for connecting Wifi
8 | allow dhcp devpts:chr_file { read write ioctl };
9 |
10 |
11 |
12 | # Date :WK14.41
13 | # Operation : [Auto Sanity][L.AOSP.EARLY.DEV.BSP][k2v1]
14 | # Purpose: ALPS01757300
15 | #============= dhcp ==============
16 | allow dhcp kernel:system module_request;
17 |
18 |
19 | # Date :WK14.44
20 | # Operation : [Rose][82L TK][FTester]
21 | # Purpose: ALPS01798575
22 | #============= netd ==============
23 | allow dhcp platform_app:fd use;
24 | allow dhcp platform_app_tmpfs:file write;
25 |
26 | #============= dhcp ==============
27 | allow dhcp init:fifo_file { read write };
28 | allow dhcp init:unix_stream_socket { read write };
--------------------------------------------------------------------------------
/MediaTek/fmradiolibs/fmnative/config/mt6626/fm_cust.cfg:
--------------------------------------------------------------------------------
1 | [FM Radio]
2 | #FM RX RSSI threshold setting
3 | FMR_RSSI_TH_L = 0xFF01
4 | FMR_RSSI_TH_S = 0xFEE0
5 | FMR_CQI_TH = 0x00E9
6 | FMR_MR_TH = 0x01BD
7 | #FM RX scan channel max number
8 | FMR_SCAN_CH_SIZE = 40
9 | #no sort:0, sort up:1, sort down:2
10 | FMR_SCAN_SORT = 0
11 | FMR_SEEK_SPACE = 1
12 | #FM RX band
13 | FMR_BAND = 1
14 | FMR_BAND_FREQ_L = 875
15 | FMR_BAND_FREQ_H = 1080
16 | FMR_FAKE_CH = 881
17 | FMR_FAKE_CH = 882
18 | FMR_FAKE_CH = 885
19 | FMR_FAKE_CH = 950
20 | FMR_FAKE_CH_RSSI = 40
21 | #deemphasis: 0-50us, China Mainland; 1-75us China Taiwan
22 | FMR_DEEMPHASIS = 0
23 | #osc freq: 0-26MHz; 1-19MHz; 2-24MHz; 3-38.4MHz; 4-40MHz; 5-52MHz
24 | FMR_OSC_FREQ = 0
25 | [FM Transmitter]
26 | FMT_SCAN_HOLE_L = 976
27 | FMT_SCAN_HOLE_H = 1011
28 | FMT_PWR_LVL_MAX = 120
29 |
--------------------------------------------------------------------------------
/sepolicy/matv.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # Policy File of /system/binmatv Executable File
3 |
4 |
5 | # ==============================================
6 | # Type Declaration
7 | # ==============================================
8 |
9 | type matv_exec , exec_type, file_type;
10 | type matv ,domain;
11 |
12 | # ==============================================
13 | # Android Policy Rule
14 | # ==============================================
15 |
16 | # ==============================================
17 | # NSA Policy Rule
18 | # ==============================================
19 |
20 | # ==============================================
21 | # MTK Policy Rule
22 | # ==============================================
23 | binder_use(matv)
24 |
25 | #permissive matv;
26 | init_daemon_domain(matv)
27 | #unconfined_domain(matv)
28 |
--------------------------------------------------------------------------------
/sepolicy/mc6420d.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # Policy File of /system/binmc6420d Executable File
3 |
4 |
5 | # ==============================================
6 | # Type Declaration
7 | # ==============================================
8 |
9 | type mc6420d_exec , exec_type, file_type;
10 | type mc6420d ,domain;
11 |
12 | # ==============================================
13 | # Android Policy Rule
14 | # ==============================================
15 |
16 | # ==============================================
17 | # NSA Policy Rule
18 | # ==============================================
19 |
20 | # ==============================================
21 | # MTK Policy Rule
22 | # ==============================================
23 |
24 | #permissive mc6420d;
25 | init_daemon_domain(mc6420d)
26 | #unconfined_domain(mc6420d)
27 |
--------------------------------------------------------------------------------
/sepolicy/br_app_data_service.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # Policy File of /system/br_app_data_service Executable File
3 |
4 | # ==============================================
5 | # Type Declaration
6 | # ==============================================
7 | type br_app_data_service_exec , exec_type, file_type;
8 | type br_app_data_service ,domain;
9 |
10 | # ==============================================
11 | # MTK Policy Rule
12 | # ==============================================
13 | #permissive br_app_data_service;
14 | init_daemon_domain(br_app_data_service)
15 |
16 | #============= br_app_data_service ==============
17 | allow br_app_data_service app_data_file:dir create_dir_perms;
18 | allow br_app_data_service self:capability { chown dac_override };
19 | allow br_app_data_service app_data_file:file create_file_perms;
20 |
--------------------------------------------------------------------------------
/sepolicy/fota1.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # Policy File of /system/bin/fota1 Executable File
3 |
4 | # ==============================================
5 | # Type Declaration
6 | # ==============================================
7 | type fota1, domain;
8 | type fota1_exec, exec_type, file_type;
9 |
10 | # ==============================================
11 | # MTK Policy Rule
12 | # ==============================================
13 |
14 | init_daemon_domain(fota1)
15 |
16 | # Date : WK14.46
17 | # Operation : Migration
18 | # Purpose : For recovery and tee1 upgrade
19 | allow fota1 cache_file:file append;
20 | allow fota1 misc_device:chr_file { write open };
21 | allow fota1 platformblk_device:blk_file { read write open };
22 | allow fota1 platformblk_device:dir search;
23 | allow fota1 recovery_device:chr_file { read write open };
24 |
--------------------------------------------------------------------------------
/MediaTek/FmRadio/README:
--------------------------------------------------------------------------------
1 | APK of listening the FM radio programme, including listen a station, change station,
2 | and record a station.
3 |
4 | This library is pre-built by MediaTek internal.
5 |
6 | WHAT IT DOES?
7 | =============
8 | FmRadio.apk listen the FM radio programme.
9 | 1. listen a FM radio station
10 | 2. change station
11 | 3. search stations
12 | 4. record a station
13 | 5. add station to favorite
14 |
15 | HOW IT WAS BUILT?
16 | ==================
17 | It needs the following library from AOSP:
18 | 1. framework.jar
19 |
20 | and the following libs from MediaTek:
21 | 1. mediatek-framework.jar
22 | 2. com.mediatek.fmradio.ext.jar
23 | 3. libfmjni.so
24 |
25 | All source/dependency modules of this module are already put in
26 | 'vendor/mediatek/libs' folder.
27 |
28 | HOW TO USE IT?
29 | ==============
30 | install FmRadio.apk in mediatek platform.
31 |
--------------------------------------------------------------------------------
/sepolicy/net.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # NSA Policy Rule
3 | # ==============================================
4 |
5 | # Network types
6 |
7 | # Use network sockets.
8 | allow netdomain self:{ tcp_socket udp_socket } *;
9 | # Connect to ports.
10 | allow netdomain port_type:tcp_socket name_connect;
11 | # Bind to ports.
12 | allow netdomain node_type:{ tcp_socket udp_socket } node_bind;
13 | allow netdomain port_type:udp_socket name_bind;
14 | allow netdomain port_type:tcp_socket name_bind;
15 | # Get route information.
16 | allow netdomain self:netlink_route_socket { create bind read nlmsg_read };
17 |
18 | # Talks to netd via dnsproxyd socket.
19 | unix_socket_connect(netdomain, dnsproxyd, netd)
20 |
21 |
22 | # ==============================================
23 | # MTK Policy Rule
24 | # ==============================================
25 |
26 |
--------------------------------------------------------------------------------
/sepolicy/volte_ua.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # Policy File of /system/bin/volte_ua Executable File
3 |
4 | # ==============================================
5 | # Type Declaration
6 | # ==============================================
7 | type volte_ua, domain;
8 | type volte_ua_exec, exec_type, file_type;
9 |
10 | # ==============================================
11 | # MTK Policy Rule
12 | # ==============================================
13 | #permissive volte_ua;
14 | init_daemon_domain(volte_ua)
15 |
16 | # Date : WK14.42
17 | # Operation : Migration
18 | # Purpose : for VoLTE L early bring up and first call
19 | allow volte_ua socket_device:sock_file write;
20 | allow volte_ua volte_stack:unix_stream_socket connectto;
21 | allow volte_ua node:udp_socket node_bind;
22 | allow volte_ua self:udp_socket { bind create };
23 | allow volte_ua self:udp_socket read;
24 |
--------------------------------------------------------------------------------
/sepolicy/md_ctrl.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # Policy File of /system/bin/md_ctrl Executable File
3 |
4 | # ==============================================
5 | # Type Declaration
6 | # ==============================================
7 | type md_ctrl, domain;
8 | type md_ctrl_exec, exec_type, file_type;
9 |
10 | # ==============================================
11 | # MTK Policy Rule
12 | # ==============================================
13 | # Date : WK14.46
14 | # Operation : Migration
15 | # Purpose : Start md_ctrl
16 |
17 | init_daemon_domain(md_ctrl)
18 | allow md_ctrl ccci_device:chr_file { read write ioctl open };
19 | allow md_ctrl devpts:chr_file { read write getattr open ioctl };
20 | allow md_ctrl muxreport_exec:file { read execute open execute_no_trans };
21 | allow md_ctrl self:capability dac_override;
22 | allow md_ctrl emd_device:chr_file { read write open };
23 |
24 |
--------------------------------------------------------------------------------
/sepolicy/orientationd.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # Policy File of /system/binorientationd Executable File
3 |
4 |
5 | # ==============================================
6 | # Type Declaration
7 | # ==============================================
8 |
9 | type orientationd_exec , exec_type, file_type;
10 | type orientationd ,domain;
11 |
12 | # ==============================================
13 | # MTK Policy Rule
14 | # ==============================================
15 |
16 | #permissive orientationd;
17 | init_daemon_domain(orientationd)
18 | #unconfined_domain(orientationd)
19 |
20 | # Date : WK14.43
21 | # Operation : Migration
22 | # Purpose : access sensor data and do calibration
23 | allow orientationd gsensor_device:chr_file { read ioctl open };
24 | allow orientationd input_device:chr_file { read write ioctl open };
25 | allow orientationd input_device:dir { read search open };
--------------------------------------------------------------------------------
/include/hardware/include/mtkcam/utils/CpuCtrl.h:
--------------------------------------------------------------------------------
1 | #ifndef CPU_CTRL_H
2 | #define CPU_CTRL_H
3 | //-----------------------------------------------------------------------------
4 | class CpuCtrl
5 | {
6 | protected:
7 | virtual ~CpuCtrl() {};
8 | //
9 | public:
10 | typedef struct
11 | {
12 | MINT bigCore;
13 | MINT bigFreq;
14 | MINT littleCore;
15 | MINT littleFreq;
16 | MINT timeout;
17 | }CPU_CTRL_INFO;
18 | //
19 | static CpuCtrl* createInstance(void);
20 | virtual MVOID destroyInstance(void) = 0;
21 | virtual MBOOL init(void) = 0;
22 | virtual MBOOL uninit(void) = 0;
23 | virtual MBOOL enable(CPU_CTRL_INFO &cpuInfo) = 0;
24 | virtual MBOOL disable(void) = 0;
25 | };
26 | //-----------------------------------------------------------------------------
27 | #endif
28 |
29 |
--------------------------------------------------------------------------------
/sepolicy/wifi2agps.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # Policy File of /system/bin/wifi2agps Executable File
3 |
4 |
5 | # ==============================================
6 | # Type Declaration
7 | # ==============================================
8 | type wifi2agps_exec , exec_type, file_type;
9 | type wifi2agps ,domain;
10 |
11 |
12 | # ==============================================
13 | # MTK Policy Rule
14 | # ==============================================
15 |
16 | #permissive wifi2agps;
17 | init_daemon_domain(wifi2agps)
18 |
19 | # Date : WK14.34
20 | # Operation : Migration
21 | # Purpose : for mtk debug mechanism
22 | allow wifi2agps agpsd_data_file:sock_file write;
23 | allow wifi2agps mtk_agpsd:unix_dgram_socket sendto;
24 | allow wifi2agps self:netlink_socket {write getattr setopt read bind create};
25 | allow wifi2agps self:udp_socket { create ioctl };
26 | allow wifi2agps agpsd_data_file:dir search;
27 |
--------------------------------------------------------------------------------
/sepolicy/memsicp.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # Policy File of /system/binmemsicp Executable File
3 |
4 |
5 | # ==============================================
6 | # Type Declaration
7 | # ==============================================
8 |
9 | type memsicp_exec , exec_type, file_type;
10 | type memsicp ,domain;
11 |
12 | # ==============================================
13 | # MTK Policy Rule
14 | # ==============================================
15 |
16 | init_daemon_domain(memsicp)
17 |
18 |
19 | allow memsicp gsensor_device:chr_file { open ioctl read write };
20 | allow memsicp input_device:dir { search open read write };
21 | allow memsicp input_device:file { open read };
22 | # Operate data partation directly, need modify later,e.g. use "data/misc/sensor".
23 | allow memsicp system_data_file:dir { write add_name create setattr };
24 | allow memsicp system_data_file:file { open write read create setattr};
25 |
26 |
27 |
--------------------------------------------------------------------------------
/sepolicy/dmlog.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # Policy File of /system/bin/dmlog Executable File
3 |
4 |
5 | # ==============================================
6 | # Type Declaration
7 | # ==============================================
8 |
9 | type dmlog_exec , exec_type, file_type;
10 | type dmlog ,domain;
11 |
12 | # ==============================================
13 | # MTK Policy Rule
14 | # ==============================================
15 |
16 | #permissive dmlog;
17 | init_daemon_domain(dmlog)
18 |
19 | # Date : 2014/09/23
20 | # Operation : Migration
21 | # Purpose : for mtk debug mechanism
22 | allow dmlog aed_device:chr_file read;
23 | allow dmlog debuggerd:fd use;
24 | allow dmlog debuggerd:unix_stream_socket { read write };
25 | allow dmlog expdb_device:chr_file { read write };
26 | allow dmlog fuse:file { write getattr };
27 | allow dmlog sysfs:file write;
28 | allow dmlog platformblk_device:blk_file { read write };
29 |
--------------------------------------------------------------------------------
/sepolicy/keys.conf:
--------------------------------------------------------------------------------
1 | #
2 | # Maps an arbitrary tag [TAGNAME] with the string contents found in
3 | # TARGET_BUILD_VARIANT. Common convention is to start TAGNAME with an @ and
4 | # name it after the base file name of the pem file.
5 | #
6 | # Each tag (section) then allows one to specify any string found in
7 | # TARGET_BUILD_VARIANT. Typcially this is user, eng, and userdebug. Another
8 | # option is to use ALL which will match ANY TARGET_BUILD_VARIANT string.
9 | #
10 |
11 | [@PLATFORM]
12 | ALL : $DEFAULT_SYSTEM_DEV_CERTIFICATE/platform.x509.pem
13 |
14 | [@MEDIA]
15 | ALL : $DEFAULT_SYSTEM_DEV_CERTIFICATE/media.x509.pem
16 |
17 | [@SHARED]
18 | ALL : $DEFAULT_SYSTEM_DEV_CERTIFICATE/shared.x509.pem
19 |
20 | # Example of ALL TARGET_BUILD_VARIANTS
21 | [@RELEASE]
22 | ENG : $DEFAULT_SYSTEM_DEV_CERTIFICATE/releasekey.x509.pem
23 | USER : $DEFAULT_SYSTEM_DEV_CERTIFICATE/releasekey.x509.pem
24 | USERDEBUG : $DEFAULT_SYSTEM_DEV_CERTIFICATE/releasekey.x509.pem
25 |
26 |
27 |
--------------------------------------------------------------------------------
/sepolicy/tiny_mkswap.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # Policy File of /system/bin/tiny_mkswap Executable File
3 |
4 |
5 | # ==============================================
6 | # Type Declaration
7 | # ==============================================
8 |
9 | type tiny_mkswap_exec , exec_type, file_type;
10 | type tiny_mkswap ,domain;
11 |
12 | # ==============================================
13 | # Android Policy Rule
14 | # ==============================================
15 |
16 | # ==============================================
17 | # NSA Policy Rule
18 | # ==============================================
19 |
20 | # ==============================================
21 | # MTK Policy Rule
22 | # ==============================================
23 |
24 | # Date : WK14.34
25 | # Operation : Migration
26 | # Purpose : Add new swap areas
27 | init_daemon_domain(tiny_mkswap)
28 | allow tiny_mkswap zram0_device:blk_file { getattr read write open ioctl };
29 | allow tiny_mkswap enableswap:fd use;
30 |
--------------------------------------------------------------------------------
/sepolicy/tiny_swapon.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # Policy File of /system/bin/tiny_swapon Executable File
3 |
4 |
5 | # ==============================================
6 | # Type Declaration
7 | # ==============================================
8 |
9 | type tiny_swapon_exec , exec_type, file_type;
10 | type tiny_swapon ,domain;
11 |
12 | # ==============================================
13 | # Android Policy Rule
14 | # ==============================================
15 |
16 | # ==============================================
17 | # NSA Policy Rule
18 | # ==============================================
19 |
20 | # ==============================================
21 | # MTK Policy Rule
22 | # ==============================================
23 |
24 | # Date : WK14.34
25 | # Operation : Migration
26 | # Purpose : Add new swap areas
27 | init_daemon_domain(tiny_swapon)
28 | allow tiny_swapon zram0_device:blk_file { getattr read write open ioctl };
29 | allow tiny_swapon enableswap:fd use;
30 |
--------------------------------------------------------------------------------
/include/hardware/include/mtkcam/v1/ExtImgProc/ExtImgProc.h:
--------------------------------------------------------------------------------
1 | #ifndef EXT_IMG_PROC_H
2 | #define EXT_IMG_PROC_H
3 | //-----------------------------------------------------------------------------
4 | class ExtImgProc : public IExtImgProc
5 | {
6 | public:
7 | typedef enum
8 | {
9 | BufType_Display = 0x00000001,
10 | BufType_PreviewCB = 0x00000002,
11 | BufType_Record = 0x00000004
12 | }BufTypeEnum;
13 | //
14 | protected:
15 | virtual ~ExtImgProc() {};
16 | //
17 | public:
18 | static ExtImgProc* createInstance(void);
19 | virtual void destroyInstance(void) = 0;
20 | //
21 | virtual MBOOL init(void) = 0;
22 | virtual MBOOL uninit(void) = 0;
23 | virtual MUINT32 getImgMask(void) = 0;
24 | virtual MBOOL doImgProc(ImgInfo& img) = 0;
25 | };
26 | //-----------------------------------------------------------------------------
27 | #endif
28 |
29 |
--------------------------------------------------------------------------------
/sepolicy/init.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # MTK Policy Rule
3 | # ============
4 |
5 | # Date : WK14.34
6 | # Operation : Migration
7 | # Purpose : for L early bring up: add for nvram command in init rc files
8 | allow init nvram_data_file:dir { write search setattr read create open add_name };
9 | allow init nvdata_file:dir { write search setattr read create open add_name };
10 |
11 | #============= init ==============
12 | # Date : W14.42
13 | # Operation : Migration
14 | # Purpose : for L : add for partition
15 | allow init platformblk_device:blk_file setattr;
16 |
17 | # Date : W14.43
18 | # Operation : Migration
19 | # Purpose : for L : add for ape playback
20 |
21 | allow init MtkCodecService_exec:file execute_no_trans;
22 |
23 | # fingerprint, silead
24 | allow init shell_data_file:file { read write };
25 | allow init shell_data_file:dir write;
26 | allow init shell_data_file:dir add_name;
27 | allow init shell_data_file:file create;
28 | allow init shell_data_file:file open;
29 |
--------------------------------------------------------------------------------
/sepolicy/sbchk.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # Policy File of /system/bin/sbchk Executable File
3 |
4 | # ==============================================
5 | # Type Declaration
6 | # ==============================================
7 | type sbchk, domain;
8 | type sbchk_exec, exec_type, file_type;
9 |
10 | # ==============================================
11 | # MTK Policy Rule
12 | # ==============================================
13 | init_daemon_domain(sbchk)
14 |
15 | # Date WK14.46
16 | # Operation : Migration
17 | # Purpose : for security driver access
18 | allow sbchk misc_sd_device:chr_file { read open };
19 | allow sbchk platformblk_device:blk_file { read write open };
20 | allow sbchk platformblk_device:dir search;
21 | allow sbchk preloader_device:chr_file { read open };
22 | allow sbchk sec_device:chr_file { read ioctl open };
23 | allow sbchk seccfg_device:chr_file { read write open };
24 | allow sbchk sec_ro_device:chr_file { open read };
25 | allow sbchk block_device:dir search;
26 |
--------------------------------------------------------------------------------
/sepolicy/xlog.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # Policy File of /system/binxlog Executable File
3 |
4 |
5 | # ==============================================
6 | # Type Declaration
7 | # ==============================================
8 |
9 | type xlog_exec , exec_type, file_type;
10 | type xlog ,domain;
11 |
12 | # ==============================================
13 | # Android Policy Rule
14 | # ==============================================
15 |
16 | # ==============================================
17 | # NSA Policy Rule
18 | # ==============================================
19 |
20 | # ==============================================
21 | # MTK Policy Rule
22 | # ==============================================
23 |
24 | #permissive xlog;
25 | init_daemon_domain(xlog)
26 | #unconfined_domain(xlog)
27 | allow xlog self:capability { fowner chown fsetid dac_override };
28 | allow xlog system_data_file:dir { write add_name };
29 | allow xlog system_data_file:file { write create open setattr };
30 |
--------------------------------------------------------------------------------
/sepolicy/muxreport.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # Policy File of /system/binmuxreport Executable File
3 |
4 |
5 | # ==============================================
6 | # Type Declaration
7 | # ==============================================
8 |
9 | type muxreport_exec , exec_type, file_type;
10 | type muxreport ,domain;
11 |
12 | # ==============================================
13 | # MTK Policy Rule
14 | # ==============================================
15 |
16 | #permissive muxreport;
17 | init_daemon_domain(muxreport)
18 | allow muxreport ccci_device:chr_file { read write ioctl open };
19 | allow muxreport ril_mux_report_case_prop:property_service set;
20 | allow muxreport init:unix_stream_socket connectto;
21 | allow muxreport property_socket:sock_file write;
22 | allow muxreport devpts:chr_file { read write getattr ioctl };
23 | allow muxreport self:capability dac_override;
24 | allow muxreport eemcs_device:chr_file { read write ioctl open };
25 | allow muxreport emd_device:chr_file { read write open };
26 |
--------------------------------------------------------------------------------
/sepolicy/usbdongled.te:
--------------------------------------------------------------------------------
1 | # usbdongled - usb auto select daemon
2 | type usbdongled, domain;
3 | type usbdongled_exec, exec_type, file_type;
4 | init_daemon_domain(usbdongled)
5 | net_domain(usbdongled)
6 |
7 | allow usbdongled self:capability { net_admin net_raw dac_override kill };
8 |
9 | # Allow ril-3gddaemon to create and use netlink sockets.
10 | allow usbdongled self:netlink_socket create_socket_perms;
11 | allow usbdongled self:netlink_kobject_uevent_socket create_socket_perms;
12 | allow usbdongled self:netlink_nflog_socket create_socket_perms;
13 | allow usbdongled netdomain:{tcp_socket udp_socket rawip_socket dccp_socket tun_socket} {read write getattr setattr getopt setopt};
14 | allow usbdongled netdomain:fd use;
15 |
16 | # property service
17 | allow usbdongled radio_prop:property_service set;
18 | allow usbdongled ctl_ril3gd_prop:property_service set;
19 |
20 |
21 | allow usbdongled system_file:file x_file_perms;
22 | allow usbdongled shell_exec:file rx_file_perms;
23 |
24 | unix_socket_connect(usbdongled, property, init)
--------------------------------------------------------------------------------
/sepolicy/geomagneticd.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # Policy File of /system/bingeomagneticd Executable File
3 |
4 |
5 | # ==============================================
6 | # Type Declaration
7 | # ==============================================
8 |
9 | type geomagneticd_exec , exec_type, file_type;
10 | type geomagneticd ,domain;
11 |
12 | # ==============================================
13 | # MTK Policy Rule
14 | # ==============================================
15 |
16 | #permissive geomagneticd;
17 | init_daemon_domain(geomagneticd)
18 | #unconfined_domain(geomagneticd)
19 |
20 | # Date : WK14.43
21 | # Operation : Migration
22 | # Purpose : access sensor data and do calibration
23 | allow geomagneticd input_device:chr_file { read ioctl open };
24 | allow geomagneticd input_device:dir { read search open };
25 | allow geomagneticd sysfs:file write;
26 | allow geomagneticd system_data_file:dir { write remove_name add_name };
27 | allow geomagneticd system_data_file:file { rename write setattr create unlink open };
28 |
--------------------------------------------------------------------------------
/sepolicy/dex2oat.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # MTK Policy Rule
3 | # ==============================================
4 |
5 | # Date : WK14.34
6 | # Operation : Migration
7 | # Purpose : 6571/6572 LCA external memory access(/dev/exm0)
8 | allow dex2oat exm0_device:chr_file { read write ioctl open };
9 |
10 | # Date : WK14.36
11 | # Operation : Migration
12 | # Purpose : for CIP project (access /custom partition)
13 | allow dex2oat custom_file:dir { search getattr };
14 | allow dex2oat custom_file:file { getattr read open };
15 |
16 | # Date : WK14.38
17 | # Operation : Sanity Test
18 | # Purpose : avoid SELinux warning after dex2oat execv failed
19 | allow dex2oat dex2oat_exec:file x_file_perms;
20 |
21 | # Date : WK15.03
22 | # Operation : MTBF Test
23 | # Purpose : for K35V1_64_OP02 project MTBF test (ALPS01905764)
24 | allow dex2oat platform_app:fd use;
25 |
26 | # Date : WK15.04
27 | # Operation : MTBF Test
28 | # Purpose : for K35V1_64_OP02 project MTBF test (ALPS01920449)
29 | allow dex2oat platform_app_tmpfs:file write;
30 |
--------------------------------------------------------------------------------
/MediaTek/FmRadio/res/layout/test_view.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
15 |
22 |
28 |
29 |
--------------------------------------------------------------------------------
/sepolicy/sn.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # Policy File of /system/binsn Executable File
3 |
4 |
5 | # ==============================================
6 | # Type Declaration
7 | # ==============================================
8 |
9 | type sn_exec , exec_type, file_type;
10 | type sn ,domain;
11 |
12 | # ==============================================
13 | # Android Policy Rule
14 | # ==============================================
15 |
16 | # ==============================================
17 | # NSA Policy Rule
18 | # ==============================================
19 |
20 | # ==============================================
21 | # MTK Policy Rule
22 | # ==============================================
23 |
24 | init_daemon_domain(sn)
25 |
26 | # Date : WK14.31
27 | # Operation : Migration
28 | # Purpose : for L early bring up
29 | allow sn sdcard_internal:dir search;
30 | allow sn fuse:file { read getattr open };
31 | allow sn sysfs:file write;
32 | allow sn tmpfs:lnk_file read;
33 | allow sn self:capability { dac_read_search dac_override };
34 |
--------------------------------------------------------------------------------
/MediaTek/fmradiolibs/fmnative/custom/Android.mk:
--------------------------------------------------------------------------------
1 | ifeq ($(MTK_FM_SUPPORT), yes)
2 |
3 | LOCAL_PATH := $(call my-dir)
4 | ###############################################################################
5 | # Define MTK FM Radio Chip solution
6 | ###############################################################################
7 |
8 | include $(CLEAR_VARS)
9 |
10 | LOCAL_SRC_FILES := \
11 | custom.cpp
12 |
13 | LOCAL_C_INCLUDES := $(JNI_H_INCLUDE)
14 |
15 | LOCAL_CFLAGS+= \
16 | -DMT6620_FM
17 | ifeq ($(findstring MT6628_FM,$(MTK_FM_CHIP)),MT6628_FM)
18 | LOCAL_CFLAGS+= \
19 | -DMT6628_FM
20 | endif
21 | LOCAL_CFLAGS+= \
22 | -DMT6627_FM
23 | ifeq ($(findstring MT6625_FM,$(MTK_FM_CHIP)),MT6625_FM)
24 | LOCAL_CFLAGS+= \
25 | -DMT6627_FM
26 | endif
27 | ifeq ($(findstring MT6580_FM,$(MTK_FM_CHIP)),MT6580_FM)
28 | LOCAL_CFLAGS+= \
29 | -DMT6580_FM
30 | endif
31 | LOCAL_CFLAGS+= \
32 | -DMT6630_FM
33 | LOCAL_SHARED_LIBRARIES := libcutils
34 | LOCAL_PRELINK_MODULE := false
35 |
36 | LOCAL_MODULE := libfmcust
37 | include $(BUILD_SHARED_LIBRARY)
38 |
39 | endif
40 |
41 |
--------------------------------------------------------------------------------
/MediaTek/fmradiolibs/fmnative/custom/Android.mk~:
--------------------------------------------------------------------------------
1 | ifeq ($(MTK_FM_SUPPORT), yes)
2 |
3 | LOCAL_PATH := $(call my-dir)
4 | ###############################################################################
5 | # Define MTK FM Radio Chip solution
6 | ###############################################################################
7 |
8 | include $(CLEAR_VARS)
9 |
10 | LOCAL_SRC_FILES := \
11 | custom.cpp
12 |
13 | LOCAL_C_INCLUDES := $(JNI_H_INCLUDE)
14 |
15 | LOCAL_CFLAGS+= \
16 | -DMT6620_FM
17 | ifeq ($(findstring MT6628_FM,$(MTK_FM_CHIP)),MT6628_FM)
18 | LOCAL_CFLAGS+= \
19 | -DMT6628_FM
20 | endif
21 | LOCAL_CFLAGS+= \
22 | -DMT6627_FM
23 | ifeq ($(findstring MT6625_FM,$(MTK_FM_CHIP)),MT6625_FM)
24 | LOCAL_CFLAGS+= \
25 | -DMT6627_FM
26 | endif
27 | ifeq ($(findstring MT6580_FM,$(MTK_FM_CHIP)),MT6580_FM)
28 | LOCAL_CFLAGS+= \
29 | -DMT6580_FM
30 | endif
31 | LOCAL_CFLAGS+= \
32 | -DMT6630_FM
33 | LOCAL_SHARED_LIBRARIES := libcutils
34 | LOCAL_PRELINK_MODULE := false
35 |
36 | LOCAL_MODULE := libfmcust
37 | include $(BUILD_SHARED_LIBRARY)
38 |
39 | endif
40 |
41 |
--------------------------------------------------------------------------------
/sepolicy/zpppd_gprs.te:
--------------------------------------------------------------------------------
1 | # zpppd_gprs - pppd process for ZTE 3gdongle ppp dail
2 | type zpppd_gprs, domain;
3 | type zpppd_gprs_exec, exec_type, file_type;
4 | init_daemon_domain(zpppd_gprs)
5 | net_domain(zpppd_gprs)
6 |
7 | allow zpppd_gprs self:capability { setuid setgid net_admin net_raw dac_override sys_module };
8 |
9 | # property service
10 | allow zpppd_gprs radio_prop:property_service set;
11 | allow zpppd_gprs net_radio_prop:property_service set;
12 | allow zpppd_gprs system_radio_prop:property_service set;
13 | allow zpppd_gprs system_prop:property_service set;
14 | allow zpppd_gprs pppoe_ppp0_prop:property_service set;
15 | allow zpppd_gprs ctl_zpppdgprs_prop:property_service set;
16 |
17 | # device and file allow
18 | allow zpppd_gprs tty_device:chr_file rw_file_perms;
19 | allow zpppd_gprs ppp_exec:file { read open getattr execute execute_no_trans };
20 | allow zpppd_gprs ppp_device:chr_file { read write open ioctl };
21 | allow zpppd_gprs system_file:file x_file_perms;
22 | allow zpppd_gprs shell_exec:file rx_file_perms;
23 |
24 | unix_socket_connect(zpppd_gprs, property, init)
25 |
--------------------------------------------------------------------------------
/sepolicy/thermald.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # Policy File of /system/binthermald Executable File
3 |
4 |
5 | # ==============================================
6 | # Type Declaration
7 | # ==============================================
8 |
9 | type thermald_exec , exec_type, file_type;
10 | type thermald ,domain;
11 |
12 | # ==============================================
13 | # Android Policy Rule
14 | # ==============================================
15 |
16 | # ==============================================
17 | # NSA Policy Rule
18 | # ==============================================
19 |
20 | # ==============================================
21 | # MTK Policy Rule
22 | # ==============================================
23 |
24 | init_daemon_domain(thermald)
25 |
26 | # Date : WK14.39
27 | # Operation : SQC
28 | # Purpose : for thermal management to shutdown the phone
29 | binder_use(thermald)
30 | allow thermald proc_thermal:dir search;
31 | allow thermald proc_thermal:file { read getattr open write };
32 | allow thermald system_server:binder call;
33 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/sepolicy/memsicd3416x.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # Policy File of /system/binmemsicd3416x Executable File
3 |
4 |
5 | # ==============================================
6 | # Type Declaration
7 | # ==============================================
8 |
9 | type memsicd3416x_exec , exec_type, file_type;
10 | type memsicd3416x ,domain;
11 |
12 | # ==============================================
13 | # MTK Policy Rule
14 | # ==============================================
15 |
16 | init_daemon_domain(memsicd3416x)
17 | # Purpose : M-sensor daemon for access driver node
18 | allow memsicd3416x msensor_device:chr_file { open ioctl read write };
19 | allow memsicd3416x gsensor_device:chr_file { open ioctl read write };
20 | allow memsicd3416x input_device:dir { search open read write };
21 | allow memsicd3416x input_device:file { open read };
22 | # Operate data partation directly, need modify later,e.g. use "data/misc/sensor".
23 | allow memsicd3416x system_data_file:dir { write add_name create setattr };
24 | allow memsicd3416x system_data_file:file { open write read create setattr};
25 |
--------------------------------------------------------------------------------
/sepolicy/vtservice.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # Policy File of /system/binvtservice Executable File
3 |
4 |
5 | # ==============================================
6 | # Type Declaration
7 | # ==============================================
8 |
9 | type vtservice_exec , exec_type, file_type;
10 | type vtservice ,domain;
11 |
12 | # ==============================================
13 | # Android Policy Rule
14 | # ==============================================
15 |
16 | # ==============================================
17 | # NSA Policy Rule
18 | # ==============================================
19 |
20 | # ==============================================
21 | # MTK Policy Rule
22 | # ==============================================
23 |
24 | init_daemon_domain(vtservice)
25 | binder_use(vtservice)
26 | binder_call(vtservice, mediaserver)
27 | binder_service(vtservice)
28 |
29 | allow vtservice vtservice_service:service_manager add;
30 | #unix_socket_connect(vtservice, volte_imsvt1, volte_imcb)
31 | allow vtservice fuse:dir search;
32 | allow vtservice fuse:file { read write open };
33 |
--------------------------------------------------------------------------------
/sepolicy/thermal.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # Policy File of /system/binthermal Executable File
3 |
4 |
5 | # ==============================================
6 | # Type Declaration
7 | # ==============================================
8 |
9 | type thermal_exec , exec_type, file_type;
10 | type thermal ,domain;
11 |
12 | # ==============================================
13 | # Android Policy Rule
14 | # ==============================================
15 |
16 | # ==============================================
17 | # NSA Policy Rule
18 | # ==============================================
19 |
20 | # ==============================================
21 | # MTK Policy Rule
22 | # ==============================================
23 |
24 | init_daemon_domain(thermal)
25 |
26 | allow thermal mtkrild:unix_stream_socket connectto;
27 | allow thermal proc_thermal:dir search;
28 | allow thermal proc_thermal:file { read write open };
29 | allow thermal rild_oem_socket:sock_file write;
30 | allow thermal netd_socket:sock_file write;
31 | allow thermal netd:unix_stream_socket connectto;
32 |
33 |
34 |
--------------------------------------------------------------------------------
/sepolicy/MtkCodecService.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # Policy File of /system/bin/MtkCodecService Executable File
3 |
4 |
5 | # ==============================================
6 | # Type Declaration
7 | # ==============================================
8 |
9 | type MtkCodecService_exec , exec_type, file_type;
10 | type MtkCodecService ,domain;
11 |
12 |
13 | # ==============================================
14 | # MTK Policy Rule
15 | # ==============================================
16 |
17 |
18 | # Date : 2014/09/10
19 | # Operation : Migration
20 | # Purpose : allow Binder IPC
21 | binder_use(MtkCodecService)
22 |
23 | # Date :
24 | # Operation : Migration
25 | # Purpose : allow Binder IPC
26 |
27 | # Date : W14.43
28 | # Operation : selinux inforce
29 | # Purpose : for L : add for ape playback
30 |
31 | init_daemon_domain(MtkCodecService)
32 | allow MtkCodecService mediaserver:binder call;
33 | allow MtkCodecService mediaserver:fd use;
34 | allow MtkCodecService mtk_codec_service_service:service_manager add;
35 | allow MtkCodecService self:capability{setuid sys_nice};
36 | allow MtkCodecService dumpstate:fd use;
--------------------------------------------------------------------------------
/sepolicy/mtk_6620_launcher.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # Policy File of /system/binmtk_6620_launcher Executable File
3 |
4 |
5 | # ==============================================
6 | # Type Declaration
7 | # ==============================================
8 |
9 | type mtk_6620_launcher_exec , exec_type, file_type;
10 | type mtk_6620_launcher ,domain;
11 |
12 | # ==============================================
13 | # Android Policy Rule
14 | # ==============================================
15 |
16 | # ==============================================
17 | # NSA Policy Rule
18 | # ==============================================
19 |
20 | # ==============================================
21 | # MTK Policy Rule
22 | # ==============================================
23 |
24 | allow mtk_6620_launcher wmt_prop:property_service set;
25 | allow mtk_6620_launcher init:unix_stream_socket connectto;
26 | allow mtk_6620_launcher property_socket:sock_file write;
27 | allow mtk_6620_launcher stpwmt_device:chr_file { read write ioctl open };
28 | allow mtk_6620_launcher devpts:chr_file { read write };
29 | init_daemon_domain(mtk_6620_launcher)
30 |
--------------------------------------------------------------------------------
/include/hardware/include/mtkcam/utils/SensorListener.h:
--------------------------------------------------------------------------------
1 | #ifndef SENSOR_LISTENER_H
2 | #define SENSOR_LISTENER_H
3 | //-----------------------------------------------------------------------------
4 | class SensorListener
5 | {
6 | protected:
7 | virtual ~SensorListener() {};
8 | //
9 | public:
10 | typedef enum
11 | {
12 | SensorType_Acc,
13 | SensorType_Mag,
14 | SensorType_Gyro,
15 | SensorType_Light,
16 | SensorType_Proxi
17 | }SensorTypeEnum;
18 | //
19 | typedef void (*Listener) (ASensorEvent event);
20 | //
21 | static SensorListener* createInstance(void);
22 | virtual MVOID destroyInstance(void) = 0;
23 | virtual MBOOL setListener(Listener func) = 0;
24 | virtual MBOOL enableSensor(
25 | SensorTypeEnum sensorType,
26 | MUINT32 periodInMs) = 0;
27 | virtual MBOOL disableSensor(SensorTypeEnum sensorType) = 0;
28 | };
29 | //-----------------------------------------------------------------------------
30 | #endif
31 |
32 |
--------------------------------------------------------------------------------
/patches/hardware_libhardware/0001_engineering_mode_audio_settings_hardware_libhardware.patch:
--------------------------------------------------------------------------------
1 | commit b7a4c9488cc2b00ee019ea03016a65027d4e9018
2 | Author: Dmitry Smirnov
3 | Date: Fri Apr 15 22:51:05 2016 +0300
4 |
5 | Add MTK-specific APIs of the audio HAL
6 |
7 | These APIs allow Engineering app to read/write audio data from/to NV
8 |
9 | Change-Id: Ic1b59119081b41b8d1f59abfbf24a33b3d97a7a6
10 |
11 | diff --git a/include/hardware/audio.h b/include/hardware/audio.h
12 | index c3cb740..02372f5 100644
13 | --- a/include/hardware/audio.h
14 | +++ b/include/hardware/audio.h
15 | @@ -753,6 +753,12 @@ struct audio_hw_device {
16 | int (*listen_set_parameters)(struct audio_hw_device *dev,
17 | const char *kv_pairs);
18 | #endif
19 | + int (*dummy1)(void);
20 | + int (*dummy2)(void);
21 | + int (*dummy3)(void);
22 | + int (*dummy4)(void);
23 | + int (*set_audio_data)(struct audio_hw_device *dev, int par1, size_t len, void *ptr);
24 | + int (*get_audio_data)(struct audio_hw_device *dev, int par1, size_t len, void *ptr);
25 | };
26 | typedef struct audio_hw_device audio_hw_device_t;
27 |
28 |
--------------------------------------------------------------------------------
/configs/ecc_list.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/MediaTek/wifi/sync.h:
--------------------------------------------------------------------------------
1 |
2 | #include
3 |
4 | #ifndef __WIFI_HAL_SYNC_H__
5 | #define __WIFI_HAL_SYNC_H__
6 |
7 | class Mutex
8 | {
9 | private:
10 | pthread_mutex_t mMutex;
11 | public:
12 | Mutex() {
13 | pthread_mutex_init(&mMutex, NULL);
14 | }
15 | ~Mutex() {
16 | pthread_mutex_destroy(&mMutex);
17 | }
18 | int tryLock() {
19 | return pthread_mutex_trylock(&mMutex);
20 | }
21 | int lock() {
22 | return pthread_mutex_lock(&mMutex);
23 | }
24 | void unlock() {
25 | pthread_mutex_unlock(&mMutex);
26 | }
27 | };
28 |
29 | class Condition
30 | {
31 | private:
32 | pthread_cond_t mCondition;
33 | pthread_mutex_t mMutex;
34 |
35 | public:
36 | Condition() {
37 | pthread_mutex_init(&mMutex, NULL);
38 | pthread_cond_init(&mCondition, NULL);
39 | }
40 | ~Condition() {
41 | pthread_cond_destroy(&mCondition);
42 | pthread_mutex_destroy(&mMutex);
43 | }
44 |
45 | int wait() {
46 | return pthread_cond_wait(&mCondition, &mMutex);
47 | }
48 |
49 | void signal() {
50 | pthread_cond_signal(&mCondition);
51 | }
52 | };
53 |
54 | #endif
--------------------------------------------------------------------------------
/sepolicy/batterywarning.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # Policy File of /system/binbatterywarning Executable File
3 |
4 |
5 | # ==============================================
6 | # Type Declaration
7 | # ==============================================
8 |
9 | type batterywarning_exec , exec_type, file_type;
10 | type batterywarning ,domain;
11 |
12 | # ==============================================
13 | # Android Policy Rule
14 | # ==============================================
15 |
16 | # ==============================================
17 | # NSA Policy Rule
18 | # ==============================================
19 |
20 | # ==============================================
21 | # MTK Policy Rule
22 | # ==============================================
23 |
24 | init_daemon_domain(batterywarning)
25 |
26 | # Date : 2014/10/15
27 | # Operation : Migration
28 | # Purpose : all Binder IPC for battery warning to call IActivityManager to send broadcast
29 | binder_use(batterywarning)
30 |
31 | # Date : 2014/10/16
32 | # Operation : Migration
33 | # Purpose : allow battery warning use AMS to send broadcast through binder call
34 | allow batterywarning system_server:binder call;
35 |
--------------------------------------------------------------------------------
/MediaTek/libbt-vendor-mtk/Android.mk:
--------------------------------------------------------------------------------
1 | #
2 | # Licensed under the Apache License, Version 2.0 (the "License");
3 | # you may not use this file except in compliance with the License.
4 | # You may obtain a copy of the License at
5 | #
6 | # http://www.apache.org/licenses/LICENSE-2.0
7 | #
8 | # Unless required by applicable law or agreed to in writing, software
9 | # distributed under the License is distributed on an "AS IS" BASIS,
10 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 | # See the License for the specific language governing permissions and
12 | # limitations under the License.
13 | #
14 |
15 | ifneq ($(BOARD_HAVE_BLUETOOTH_MTK),)
16 |
17 | LOCAL_PATH := $(call my-dir)
18 | include $(CLEAR_VARS)
19 |
20 | LOCAL_C_INCLUDES := external/bluetooth/bluedroid/hci/include
21 |
22 | LOCAL_CFLAGS := -g -c -W -Wall -O2 -D_POSIX_SOURCE
23 |
24 | LOCAL_SRC_FILES := libbt-vendor-mtk.c
25 |
26 | LOCAL_SHARED_LIBRARIES := \
27 | libnativehelper \
28 | libcutils \
29 | libutils \
30 | liblog \
31 | libdl
32 |
33 | LOCAL_PRELINK_MODULE := false
34 | LOCAL_MODULE := libbt-vendor
35 | LOCAL_MODULE_TAGS := optional
36 |
37 |
38 | include $(BUILD_SHARED_LIBRARY)
39 |
40 | endif
41 |
--------------------------------------------------------------------------------
/sepolicy/ccci_rpcd.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # Policy File of /system/binccci_fsd Executable File
3 |
4 |
5 | # ==============================================
6 | # Type Declaration
7 | # ==============================================
8 |
9 | type ccci_rpcd_exec, exec_type, file_type;
10 | type ccci_rpcd, domain;
11 |
12 | # ==============================================
13 | # Android Policy Rule
14 | # ==============================================
15 |
16 | # ==============================================
17 | # NSA Policy Rule
18 | # ==============================================
19 |
20 | # ==============================================
21 | # MTK Policy Rule
22 | # ==============================================
23 |
24 | #permissive ccci_rpcd;
25 | init_daemon_domain(ccci_rpcd)
26 | #unconfined_domain(ccci_rpcd)
27 |
28 | wakelock_use(ccci_rpcd)
29 | #============= ccci_rpcd ==============
30 | allow ccci_rpcd ccci_device:chr_file rw_file_perms;
31 | allow ccci_rpcd block_device:dir search;
32 | allow ccci_rpcd platformblk_device:dir search;
33 | allow ccci_rpcd platformblk_device:blk_file { open read write };
34 | allow ccci_rpcd misc2_device:chr_file { open read write };
35 |
--------------------------------------------------------------------------------
/sepolicy/disableswap.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # Policy File of disableswap.sh
3 |
4 | # ==============================================
5 | # Type Declaration
6 | # ==============================================
7 |
8 | type disableswap_exec , exec_type, file_type;
9 | type disableswap ,domain;
10 |
11 | # ==============================================
12 | # Android Policy Rule
13 | # ==============================================
14 |
15 | # ==============================================
16 | # NSA Policy Rule
17 | # ==============================================
18 |
19 | # ==============================================
20 | # MTK Policy Rule
21 | # ==============================================
22 |
23 | # Date : WK15.17
24 | # Operation : Migration
25 | # Purpose : Swap off action
26 | init_daemon_domain(disableswap)
27 | allow disableswap block_device:dir search;
28 | allow disableswap self:capability sys_admin;
29 | allow disableswap shell_exec:file { entrypoint read };
30 | allow disableswap sysfs:file write;
31 | allow disableswap system_file:file execute_no_trans;
32 | allow disableswap system_data_file:file { open write };
33 | allow disableswap system_data_file:dir { write };
34 |
--------------------------------------------------------------------------------
/sepolicy/pq.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # Policy File of /system/binpq Executable File
3 |
4 |
5 | # ==============================================
6 | # Type Declaration
7 | # ==============================================
8 |
9 | type pq_exec , exec_type, file_type;
10 | type pq ,domain;
11 |
12 | # ==============================================
13 | # Android Policy Rule
14 | # ==============================================
15 |
16 | # ==============================================
17 | # NSA Policy Rule
18 | # ==============================================
19 |
20 | # ==============================================
21 | # MTK Policy Rule
22 | # ==============================================
23 |
24 | #permissive pq;
25 | init_daemon_domain(pq)
26 | # unconfined_domain(pq)
27 |
28 | # Date : 2014/10/16
29 | # Operation : Migration
30 | # Purpose : for enforcing
31 | allow pq system_prop:property_service set;
32 | allow pq graphics_device:chr_file { read write open ioctl };
33 |
34 |
35 | # Date : 2014/10/29
36 | # Operation : Migration
37 | # Purpose : for enforcing
38 | allow pq init:unix_stream_socket connectto;
39 | allow pq property_socket:sock_file write;
40 | allow pq tmpfs:lnk_file read;
--------------------------------------------------------------------------------
/sepolicy/volte_imcb.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # Policy File of /system/bin/volte_imcb Executable File
3 |
4 | # ==============================================
5 | # Type Declaration
6 | # ==============================================
7 | type volte_imcb, domain;
8 | type volte_imcb_exec, exec_type, file_type;
9 | type volte_imsa1_socket, file_type;
10 |
11 | # ==============================================
12 | # MTK Policy Rule
13 | # ==============================================
14 | #permissive volte_imcb;
15 | init_daemon_domain(volte_imcb)
16 |
17 | # Date : WK14.42
18 | # Operation : Migration
19 | # Purpose : for VoLTE L early bring up and first call
20 | allow volte_imcb ccci_device:chr_file { read write open };
21 | allow volte_imcb node:tcp_socket node_bind;
22 | allow volte_imcb port:tcp_socket name_bind;
23 | allow volte_imcb self:tcp_socket { bind create setopt accept listen };
24 | allow volte_imcb socket_device:sock_file write;
25 | allow volte_imcb volte_ua:unix_stream_socket connectto;
26 | allow volte_imcb fwmarkd_socket:sock_file write;
27 | allow volte_imcb self:tcp_socket { read getattr };
28 | allow volte_imcb netd:unix_stream_socket connectto;
29 | allow volte_imcb self:tcp_socket write;
--------------------------------------------------------------------------------
/MediaTek/FmRadio/tests/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
17 |
21 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/sepolicy/ist8303.te:
--------------------------------------------------------------------------------
1 | # ===============================================
2 | # Policy File of /system/bin/istd8303 Executable File
3 |
4 |
5 | # ===============================================
6 | # Type Declaration
7 | # ===============================================
8 |
9 | type istd8303_exec , exec_type, file_type;
10 | type istd8303 ,domain;
11 |
12 | # ===============================================
13 | # MTK Policy Rule
14 | # ===============================================
15 |
16 | init_daemon_domain(istd8303)
17 | # Data : WK14.43
18 | # Operation : Migration
19 | # Purpose : M-sensor daemon for access driver node
20 | allow istd8303 msensor_device:chr_file { open ioctl read write };
21 | allow istd8303 gsensor_device:chr_file { open ioctl read write };
22 | allow istd8303 input_device:dir { search open read write };
23 | allow istd8303 input_device:file { open read };
24 | allow istd8303 istd8303_access_file1:file { open read write };
25 | allow istd8303 istd8303_access_file2:file { open read write };
26 | # Operate data partation directly, need modify later, e.g. use "data/misc/istd_set.txt".
27 | allow istd8303 system_data_file:dir { write add_name create setattr };
28 | allow istd8303 system_data_file:file { open write read create setattr };
29 |
--------------------------------------------------------------------------------
/sepolicy/ppp.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # MTK Policy Rule
3 | # ==============================================
4 |
5 |
6 |
7 | # Date : WK14.34
8 | # Operation : Migration
9 | # Purpose: for VPN
10 |
11 | allow ppp init:unix_stream_socket connectto;
12 | allow ppp property_socket:sock_file write;
13 |
14 | # Date : WK14.37
15 | # Operation : Migration
16 | # Purpose: for PPPOE Test
17 |
18 | allow ppp init_shell:fd use;
19 | allow ppp devpts:chr_file { read write ioctl open setattr };
20 | allow ppp self:capability { setuid net_raw setgid dac_override };
21 | allow ppp self:packet_socket { write ioctl setopt read bind create };
22 | allow ppp shell_exec:file { read execute open execute_no_trans };
23 |
24 |
25 | # Date : WK14.37
26 | # Operation : Migration
27 | # Purpose: for PPPOE Test: Property permission
28 |
29 | allow ppp pppoe_ppp0_prop:property_service set;
30 | allow ppp net_radio_prop:property_service set;
31 | allow ppp system_prop:property_service set;
32 |
33 |
34 | # Date : WK14.38
35 | # Operation : Migration
36 | # Purpose: for PPPOE Test
37 |
38 | allow ppp ppp_exec:file execute_no_trans;
39 |
40 | # Date : WK14.53
41 | # Operation : check in
42 | # Purpose: for warning kernel API
43 | allow ppp mtp:file read;
--------------------------------------------------------------------------------
/sepolicy/wmt_loader.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # Policy File of /system/binwmt_loader Executable File
3 |
4 |
5 | # ==============================================
6 | # Type Declaration
7 | # ==============================================
8 |
9 | type wmt_loader_exec , exec_type, file_type;
10 | type wmt_loader ,domain;
11 |
12 | # ==============================================
13 | # Android Policy Rule
14 | # ==============================================
15 |
16 | # ==============================================
17 | # NSA Policy Rule
18 | # ==============================================
19 |
20 | # ==============================================
21 | # MTK Policy Rule
22 | # ==============================================
23 |
24 | allow wmt_loader wmt_prop:property_service set;
25 | allow wmt_loader init:unix_stream_socket connectto;
26 | allow wmt_loader proc:file setattr;
27 | allow wmt_loader property_socket:sock_file write;
28 | allow wmt_loader self:capability { chown dac_override };
29 | allow wmt_loader wmtdetect_device:chr_file { read write ioctl open };
30 | allow wmt_loader stpwmt_device:chr_file { read write ioctl open };
31 | allow wmt_loader devpts:chr_file { read write getattr ioctl };
32 | init_daemon_domain(wmt_loader)
33 |
--------------------------------------------------------------------------------
/sepolicy/icusbd.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # Policy File of /system/binicusbd Executable File
3 |
4 |
5 | # ==============================================
6 | # Type Declaration
7 | # ==============================================
8 |
9 | type icusbd_exec , exec_type, file_type;
10 | type icusbd ,domain;
11 |
12 | # ==============================================
13 | # Android Policy Rule
14 | # ==============================================
15 |
16 | # ==============================================
17 | # NSA Policy Rule
18 | # ==============================================
19 |
20 | # ==============================================
21 | # MTK Policy Rule
22 | # ==============================================
23 |
24 |
25 | init_daemon_domain(icusbd)
26 |
27 | allow icusbd vdc_exec:file execute_no_trans;
28 | allow icusbd icusb_device:chr_file rw_file_perms;
29 | allow icusbd ccci_device:chr_file { read write ioctl open };
30 | allow icusbd proc_icusb:file { read write open };
31 | allow icusbd proc_icusb:dir search;
32 | allow icusbd self:capability dac_override;
33 | allow icusbd self:netlink_socket create_socket_perms;
34 | allow icusbd usb_device:chr_file { read write ioctl open };
35 | allow icusbd usb_device:dir { read open search};
36 |
--------------------------------------------------------------------------------
/MediaTek/fmradiolibs/Android.mk:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright (C) 2011 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 | # WARNING: Everything listed here will be built on ALL platforms,
18 | # including x86, the emulator, and the SDK. Modules must be uniquely
19 | # named (liblights.panda), and must build everywhere, or limit themselves
20 | # to only building on ARM if they include assembly. Individual makefiles
21 | # are responsible for having their own logic, for fine-grained control.
22 |
23 | LOCAL_PATH := $(call my-dir)
24 |
25 | # if some modules are built directly from this directory (not subdirectories),
26 | # their rules should be written here.
27 |
28 | include $(call all-subdir-makefiles)
29 |
--------------------------------------------------------------------------------
/MediaTek/fmaudioplayer/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH:= $(call my-dir)
2 |
3 | #
4 | # libmtkplayer
5 | #
6 |
7 | #ifneq ($(strip $(BOARD_USES_GENERIC_AUDIO)),true)
8 |
9 | #ifneq ($(strip $(HAVE_MATV_FEATURE))_$(strip $(MTK_FM_SUPPORT)), no_no)
10 | include $(CLEAR_VARS)
11 |
12 | LOCAL_SRC_FILES:= \
13 | FMAudioPlayer.cpp
14 |
15 | #This is for customization
16 | LOCAL_SHARED_LIBRARIES := \
17 | libcutils \
18 | libutils \
19 | libbinder \
20 | libmedia
21 |
22 | #LOCAL_CFLAGS += -DMTK_MATV_SUPPORT
23 | #LOCAL_CFLAGS += -DMTK_FM_SUPPORT
24 |
25 |
26 | LOCAL_C_INCLUDES := \
27 | $(JNI_H_INCLUDE) \
28 | $(TOP)/frameworks/av/include \
29 | $(TOP)/frameworks/av/include/media \
30 | $(TOP)/external \
31 | $(TOP)/frameworks/av/services/audioflinger
32 |
33 | LOCAL_C_INCLUDES += \
34 | $(call include-path-for, audio-utils) \
35 | $(call include-path-for, audio-effects)
36 |
37 | LOCAL_MODULE:= libmtkplayer
38 |
39 | LOCAL_PRELINK_MODULE := no
40 |
41 | include $(BUILD_SHARED_LIBRARY)
42 |
43 | #endif
44 | #endif
45 |
--------------------------------------------------------------------------------
/sepolicy/qmcX983d.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # Policy File of /system/bin/qmcX983d Executable File
3 |
4 |
5 | # ==============================================
6 | # Type Declaration
7 | # ==============================================
8 |
9 | type qmcX983d_exec , exec_type, file_type;
10 | type qmcX983d ,domain;
11 |
12 | # ==============================================
13 | # Android Policy Rule
14 | # ==============================================
15 |
16 | # ==============================================
17 | # NSA Policy Rule
18 | # ==============================================
19 |
20 | # ==============================================
21 | # MTK Policy Rule
22 | # ==============================================
23 |
24 | #permissive qmcX983d;
25 | init_daemon_domain(qmcX983d)
26 | #unconfined_domain(qmcX983d)
27 |
28 | #add permission
29 | allow qmcX983d gsensor_device:chr_file {open ioctl read write};
30 | allow qmcX983d msensor_device:chr_file {open ioctl read write};
31 | allow qmcX983d sysfs:file {read write};
32 |
33 | # Operate data partation directly, need modify later,e.g. use "data/misc/sensor".
34 | allow qmcX983d system_data_file:dir { write add_name create setattr };
35 | allow qmcX983d system_data_file:file { open write read create setattr};
--------------------------------------------------------------------------------
/sepolicy/aal.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # Policy File of /system/binaal Executable File
3 |
4 | # ==============================================
5 | # Type Declaration
6 | # ==============================================
7 |
8 | type aal_exec , exec_type, file_type;
9 | type aal ,domain;
10 |
11 | # ==============================================
12 | # Android Policy Rule
13 | # ==============================================
14 |
15 | # ==============================================
16 | # NSA Policy Rule
17 | # ==============================================
18 |
19 | # ==============================================
20 | # MTK Policy Rule
21 | # ==============================================
22 |
23 | # permissive aal;
24 | init_daemon_domain(aal)
25 | # unconfined_domain(aal)
26 |
27 | # Date : 2014/09/09 (or WK14.37)
28 | # Operation : Migration
29 | # Purpose : allow Binder IPC
30 | binder_use(aal)
31 | binder_call(aal, binderservicedomain)
32 | binder_service(aal)
33 |
34 | # Date : WK14.41
35 | # Operation : Migration
36 | # Purpose : All enforing mode
37 | allow aal aal_als_device:chr_file { read open ioctl };
38 | allow aal graphics_device:chr_file { read open ioctl };
39 | allow aal graphics_device:dir search;
40 | allow aal aal_service:service_manager add;
41 |
--------------------------------------------------------------------------------
/sepolicy/guiext-server.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # Policy File of /system/bin/guiext-server Executable File
3 |
4 | # ==============================================
5 | # Type Declaration
6 | # ==============================================
7 | type guiext-server, domain;
8 | type guiext-server_exec, exec_type, file_type;
9 |
10 | # ==============================================
11 | # MTK Policy Rule
12 | # ==============================================
13 | init_daemon_domain(guiext-server)
14 |
15 | # for bqdump and conversion pool
16 | binder_service(guiext-server)
17 | binder_use(guiext-server)
18 | binder_call(domain, guiext-server)
19 | binder_call(guiext-server, {domain -init})
20 |
21 | # to allocate GraphicBuffer
22 | allow guiext-server surfaceflinger:binder call;
23 | allow guiext-server surfaceflinger:fd use;
24 | allow guiext-server gpu_device:chr_file { open read write ioctl };
25 |
26 | # to be a service
27 | allow guiext-server guiext-server_service:service_manager add;
28 |
29 | # for dump
30 | allow guiext-server system_server:binder call;
31 |
32 | # for MiraVision
33 | allow guiext-server graphics_device:chr_file { open read write ioctl };
34 |
35 | # for CTS
36 | allow guiext-server platform_app:binder call;
37 | allow guiext-server app_data_file:file write;
38 |
--------------------------------------------------------------------------------
/sepolicy/program_binary.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # Policy File of /system/bin/program_binary_service Executable File
3 |
4 | # ==============================================
5 | # Type Declaration
6 | # ==============================================
7 | type program_binary, domain;
8 | type program_binary_exec, exec_type, file_type;
9 | type program_binary_service, service_manager_type;
10 |
11 | # ==============================================
12 | # MTK Policy Rule
13 | # ==============================================
14 | init_daemon_domain(program_binary)
15 |
16 | # Date : 2014/1/6
17 | # Operation : New
18 | # Purpose : Cache program binaries for HWUI usage
19 | binder_service(program_binary)
20 | binder_use(program_binary)
21 | binder_call(domain, program_binary)
22 |
23 | # Date : 2014/1/6
24 | # Operation : New
25 | # Purpose : To manipulate GPU
26 | allow program_binary gpu_device:chr_file { open read write ioctl };
27 | allow program_binary gpu_device:chr_file getattr;
28 |
29 | # Date : 2014/1/6
30 | # Operation : New
31 | # Purpose : To be a service
32 | allow program_binary program_binary_service:service_manager add;
33 |
34 | # Date : 2014/1/6
35 | # Operation : New
36 | # Purpose : To allow binder call to system server.
37 | allow program_binary system_server:binder call;
38 |
--------------------------------------------------------------------------------
/sepolicy/terservice.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # Policy File of /system/binterservice Executable File
3 |
4 |
5 | # ==============================================
6 | # Type Declaration
7 | # ==============================================
8 |
9 | type terservice_exec , exec_type, file_type;
10 | type terservice ,domain;
11 |
12 | # ==============================================
13 | # Android Policy Rule
14 | # ==============================================
15 |
16 | # ==============================================
17 | # NSA Policy Rule
18 | # ==============================================
19 |
20 | # ==============================================
21 | # MTK Policy Rule
22 | # ==============================================
23 |
24 | init_daemon_domain(terservice)
25 |
26 | # Date : 2014/09/18 (WK14.38)
27 | # Operation : Migration
28 | # Purpose : allow register terservice service in servicemanager.
29 | allow terservice terservice_service:service_manager add;
30 |
31 | # property service
32 | unix_socket_connect(terservice, property, init)
33 | allow terservice terservice_prop:property_service set;
34 |
35 | # ccci ioctl
36 | allow terservice ccci_device:chr_file { read write ioctl open };
37 |
38 | # ipc call
39 | binder_use(terservice)
40 | binder_service(terservice)
41 |
42 |
43 |
--------------------------------------------------------------------------------
/sepolicy/mc6470d.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # Policy File of /system/bin/mc6470d Executable File
3 |
4 |
5 | # ==============================================
6 | # Type Declaration
7 | # ==============================================
8 |
9 | type mc6470d_exec , exec_type, file_type;
10 | type mc6470d ,domain;
11 |
12 | # ==============================================
13 | # Android Policy Rule
14 | # ==============================================
15 |
16 | # ==============================================
17 | # NSA Policy Rule
18 | # ==============================================
19 |
20 | # ==============================================
21 | # MTK Policy Rule
22 | # ==============================================
23 |
24 | #permissive mc6470d;
25 | init_daemon_domain(mc6470d)
26 | #unconfined_domain(mc6470d)
27 |
28 | #add permission
29 | allow mc6470d gsensor_device:chr_file {open ioctl read write};
30 | allow mc6470d sysfs:file {open read write};
31 | allow mc6470d msensor_device:chr_file {open ioctl read write};
32 | allow mc6470d mc6470d:udp_socket create;
33 |
34 | # Operate data partation directly, need modify later,e.g. use "data/misc/sensor".
35 | allow mc6470d system_data_file:dir { write add_name create setattr };
36 | allow mc6470d system_data_file:file { open write read create setattr};
--------------------------------------------------------------------------------
/sepolicy/sdcardd.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # MTK Policy Rule
3 | # ============
4 |
5 | # Date : WK14.37
6 | # Operation : Migration
7 | # Purpose : for sdcard daemon to access lk_env
8 | allow sdcardd proc_lk_env:file { read write ioctl open };
9 | allow sdcardd misc_device:chr_file { read write open };
10 | allow sdcardd mmcblk_device:blk_file rw_file_perms;
11 | allow sdcardd platformblk_device:blk_file rw_file_perms;
12 | allow sdcardd block_device:dir search;
13 | allow sdcardd platformblk_device:dir search;
14 |
15 | # Date : WK14.47
16 | # Purpose : create symbolic link from /mnt/shell/emulated to /storage/emulated
17 | allow sdcardd tmpfs:dir {write add_name mounton};
18 | allow sdcardd tmpfs:lnk_file create;
19 | allow sdcardd tmpfs:filesystem unmount;
20 |
21 | # Date : WK14.48
22 | # Purpose : invoke vdc for handle_users
23 | allow sdcardd devpts:chr_file { read write getattr open ioctl };
24 | allow sdcardd vdc_exec:file { read execute open execute_no_trans };
25 | allow sdcardd vold:unix_stream_socket connectto;
26 | allow sdcardd vold_socket:sock_file write;
27 |
28 |
29 | # Date : WK14.48
30 | # Purpose : unknown
31 | allow sdcardd platform_app:fd use;
32 | allow sdcardd untrusted_app:fd use;
33 |
34 | # Date : WK15.02
35 | # Purpose : ashared memory
36 | allow sdcardd platform_app_tmpfs:file write;
37 |
--------------------------------------------------------------------------------
/sepolicy/bootanim.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # MTK Policy Rule
3 | # ============
4 |
5 |
6 | # Date : WK14.31
7 | # Operation : Migration
8 | # Purpose : for L early bring up
9 | allow bootanim self:netlink_socket { read bind create write};
10 | allow bootanim proc_secmem:file { read open};
11 |
12 | # Date : WK14.32
13 | # Operation : Migration
14 | # Purpose : for playing boot tone
15 | allow bootanim mediaserver:binder call;
16 | allow bootanim mediaserver:binder transfer;
17 |
18 | # Date : WK14.36
19 | # Operation : Migration
20 | # Purpose : for ui
21 | allow bootanim guiext-server:binder call;
22 | allow bootanim guiext-server:binder transfer;
23 |
24 | # Date : WK14.37
25 | # Operation : Migration
26 | # Purpose : for op
27 | allow bootanim terservice:binder call;
28 | allow bootanim property_socket:sock_file write;
29 | allow bootanim init:unix_stream_socket connectto;
30 | allow bootanim custom_file:dir search;
31 | allow bootanim custom_file:file open;
32 | allow bootanim custom_file:file read;
33 | allow bootanim bootani_prop:property_service set;
34 |
35 | # Date : WK14.43
36 | # Operation : Migration
37 | # Purpose : for policy migration
38 | allow bootanim debug_prop:property_service set;
39 |
40 | # Date : WK14.46
41 | # Operation : Migration
42 | # Purpose : for MTK Emulator HW GPU
43 | allow bootanim qemu_pipe_device:chr_file rw_file_perms;
--------------------------------------------------------------------------------
/sepolicy/mobicore.te:
--------------------------------------------------------------------------------
1 | ##
2 | # Trustonic TEE (mobicore) daemon
3 | #
4 |
5 | # ==============================================
6 | # Type Declaration
7 | # ==============================================
8 | type mobicore, domain;
9 | type mobicore_exec, exec_type, file_type;
10 | type mobicore_admin_device, dev_type;
11 | type mobicore_user_device, dev_type;
12 | type mobicore_tui_device, dev_type;
13 | type mobicore_data_file, file_type, data_file_type;
14 |
15 | # ==============================================
16 | # Type Declaration for secmem
17 | # ==============================================
18 | type proc_secmem, fs_type;
19 | # genfscon proc /secmem0 u:object_r:proc_secmem:s0;
20 |
21 | # ==============================================
22 | # MTK Policy Rule
23 | # ==============================================
24 | # permissive mobicore;
25 | init_daemon_domain(mobicore)
26 | allow mobicore self:capability { dac_override };
27 | allow mobicore mobicore_admin_device:chr_file rw_file_perms;
28 | allow mobicore mobicore_user_device:chr_file rw_file_perms;
29 | allow mobicore mobicore_data_file:dir rw_dir_perms;
30 | allow mobicore mobicore_data_file:file create_file_perms;
31 | allow mobicore self:netlink_socket create_socket_perms;
32 | allow mobicore apk_data_file:dir write;
33 | allow mobicore mobicore_data_file:dir create;
34 | allow mobicore mobicore_data_file:file rw_file_perms;
35 |
--------------------------------------------------------------------------------
/sepolicy/mtk_agpsd.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # Policy File of /system/binmtk_agpsd Executable File
3 |
4 |
5 | # ==============================================
6 | # Type Declaration
7 | # ==============================================
8 |
9 | type mtk_agpsd_exec , exec_type, file_type;
10 | type mtk_agpsd ,domain;
11 |
12 | # ==============================================
13 | # Android Policy Rule
14 | # ==============================================
15 |
16 | # ==============================================
17 | # NSA Policy Rule
18 | # ==============================================
19 |
20 | # ==============================================
21 | # MTK Policy Rule
22 | # ==============================================
23 |
24 | init_daemon_domain(mtk_agpsd)
25 |
26 | # Date : WK14.31
27 | # Operation : Migration
28 | # Purpose : for L bring-up
29 | net_domain(mtk_agpsd)
30 | allow mtk_agpsd mnld:unix_dgram_socket sendto;
31 | allow mtk_agpsd agps_device:chr_file rw_file_perms;
32 | allow mtk_agpsd agpsd_data_file:dir create_dir_perms;
33 | allow mtk_agpsd agpsd_data_file:file create_file_perms;
34 | allow mtk_agpsd agpsd_data_file:sock_file create_file_perms;
35 | allow mtk_agpsd fuse:dir create_dir_perms;
36 | allow mtk_agpsd fuse:file create_file_perms;
37 | allow mtk_agpsd ttySDIO_device:chr_file create_file_perms;
38 | allow mtk_agpsd eemcs_device:chr_file rw_file_perms;
--------------------------------------------------------------------------------
/MediaTek/gralloc_extra/GraphicBufferExtra.cpp:
--------------------------------------------------------------------------------
1 | #define LOG_TAG "GraphicBufferExtra"
2 | #define ATRACE_TAG ATRACE_TAG_GRAPHICS
3 | #include
4 | #include
5 | #include
6 |
7 | namespace android {
8 | // ---------------------------------------------------------------------------
9 |
10 | ANDROID_SINGLETON_STATIC_INSTANCE( GraphicBufferExtra )
11 |
12 | static GraphicBufferExtra * s_singleton_obj = NULL;
13 |
14 | GraphicBufferExtra::GraphicBufferExtra()
15 | : mExtraDev(0)
16 | {
17 | hw_module_t const* module;
18 | int err = hw_get_module(GRALLOC_HARDWARE_MODULE_ID, &module);
19 |
20 | ALOGE_IF(err, "FATAL: can't find the %s module", GRALLOC_HARDWARE_MODULE_ID);
21 | if (err == 0)
22 | {
23 | gralloc_extra_open(module, &mExtraDev);
24 | }
25 |
26 | s_singleton_obj = this;
27 | }
28 |
29 | // dlclose
30 | static void __attribute__((destructor)) gralloc_extra_dlclose(void)
31 | {
32 | if (s_singleton_obj)
33 | {
34 | delete s_singleton_obj;
35 | s_singleton_obj = NULL;
36 | }
37 | }
38 |
39 | GraphicBufferExtra::~GraphicBufferExtra()
40 | {
41 | if (mExtraDev)
42 | {
43 | gralloc_extra_close(mExtraDev);
44 | }
45 | s_singleton_obj = NULL;
46 | }
47 |
48 | // ---------------------------------------------------------------------------
49 | }; // namespace android
50 |
--------------------------------------------------------------------------------
/sepolicy/GoogleOtaBinder.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # Policy File of /system/binGoogleOtaBinder Executable File
3 |
4 |
5 | # ==============================================
6 | # Type Declaration
7 | # ==============================================
8 |
9 | type GoogleOtaBinder_exec , exec_type, file_type;
10 | type GoogleOtaBinder ,domain;
11 |
12 | # ==============================================
13 | # Android Policy Rule
14 | # ==============================================
15 |
16 | # ==============================================
17 | # NSA Policy Rule
18 | # ==============================================
19 |
20 | # ==============================================
21 | # MTK Policy Rule
22 | # ==============================================
23 |
24 | #permissive GoogleOtaBinder;
25 | init_daemon_domain(GoogleOtaBinder)
26 | #unconfined_domain(GoogleOtaBinder)
27 |
28 | # Date : 2014/09/10
29 | # Operation : Migration
30 | # Purpose : allow Binder IPC
31 | binder_use(GoogleOtaBinder)
32 | binder_service(GoogleOtaBinder)
33 |
34 | allow GoogleOtaBinder ota_agent_service:service_manager add;
35 | # /dev/block/mmcblko
36 | allow GoogleOtaBinder platformblk_device:blk_file { write read open };
37 |
38 | allow GoogleOtaBinder block_device:dir search;
39 | allow GoogleOtaBinder platformblk_device:dir search;
40 | #/dev/misc
41 | allow GoogleOtaBinder misc_device:chr_file { write read open };
42 |
--------------------------------------------------------------------------------
/sepolicy/mpud6050.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # Policy File of /system/bin/mpud6050 Executable File
3 |
4 |
5 | # ==============================================
6 | # Type Declaration
7 | # ==============================================
8 |
9 | type mpud6050_exec , exec_type, file_type;
10 | type mpud6050 ,domain;
11 |
12 | # ==============================================
13 | # Android Policy Rule
14 | # ==============================================
15 |
16 | # ==============================================
17 | # NSA Policy Rule
18 | # ==============================================
19 |
20 | # ==============================================
21 | # MTK Policy Rule
22 | # ==============================================
23 |
24 | #permissive mpud6050;
25 | init_daemon_domain(mpud6050)
26 | #unconfined_domain(mpud6050)
27 |
28 |
29 | # Data : WK14.43
30 | # Operation : Migration
31 | # Purpose : Gyroscope daemon for access driver node
32 | allow mpud6050 gyroscope_device:chr_file { open ioctl read write};
33 |
34 | allow mpud6050 gyroscope_mpud6050_chipinfo:file { open read };
35 | allow mpud6050 gyroscope_mpud6050_status:file { open read };
36 | allow mpud6050 gyroscope_mpud6050_use:dir { open read search};
37 | allow mpud6050 gyroscope_mpud6050_use:file { open read };
38 | allow mpud6050 gyroscope_mpud6050_file:dir { open read search};
39 | allow mpud6050 gyroscope_mpud6050_file:file { open read write};
--------------------------------------------------------------------------------
/sepolicy/resmon.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # Policy File of /system/binresmon Executable File
3 |
4 |
5 | # ==============================================
6 | # Type Declaration
7 | # ==============================================
8 |
9 | type resmon_exec , exec_type, file_type;
10 | type resmon ,domain;
11 |
12 | # ==============================================
13 | # Android Policy Rule
14 | # ==============================================
15 |
16 | # ==============================================
17 | # NSA Policy Rule
18 | # ==============================================
19 |
20 | # ==============================================
21 | # MTK Policy Rule
22 | # ==============================================
23 | userdebug_or_eng(`
24 | permissive resmon;
25 | init_daemon_domain(resmon)
26 | unconfined_domain(resmon)
27 |
28 | # Date : 2014/09/10
29 | # Operation : Migration
30 | # Purpose : allow Binder IPC for dumpsys windows display
31 | binder_use(resmon)
32 |
33 | # Date : 2014/10/20
34 | # Operation : Migration
35 | # Purpose : allow resmon to execute shell commands
36 | allow resmon fuse:dir { write search add_name };
37 | allow resmon fuse:file { read write create open };
38 | allow resmon shell_exec:file execute_no_trans;
39 | allow resmon system_file:file execute_no_trans;
40 | allow resmon zygote_exec:file execute_no_trans;
41 |
42 | allow untrusted_app resmon:fd use;
43 |
44 | ')
45 |
--------------------------------------------------------------------------------
/sepolicy/st480.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # Policy File of /system/binakmd09911 Executable File
3 |
4 |
5 | # ==============================================
6 | # Type Declaration
7 | # ==============================================
8 |
9 | type st480_exec , exec_type, file_type;
10 | type st480 ,domain;
11 |
12 | # ==============================================
13 | # Android Policy Rule
14 | # ==============================================
15 |
16 | # ==============================================
17 | # NSA Policy Rule
18 | # ==============================================
19 |
20 | # ==============================================
21 | # MTK Policy Rule
22 | # ==============================================
23 |
24 | #permissive st480;
25 | init_daemon_domain(st480)
26 | #unconfined_domain(st480)
27 | # Purpose : M-sensor daemon for access driver node
28 | allow st480 msensor_device:chr_file { open ioctl read write };
29 | allow st480 gsensor_device:chr_file { open ioctl read write };
30 | allow st480 input_device:dir { search open read write };
31 | allow st480 input_device:file { open read };
32 | allow st480 input_device:chr_file { open ioctl read write };
33 | # Operate data partation directly, need modify later,e.g. use "data/misc/sensor".
34 | allow st480 system_data_file:dir { write add_name create setattr };
35 | allow st480 system_data_file:file { open write read create setattr};
36 | allow st480 system_data_file:dir remove_name;
37 |
38 |
--------------------------------------------------------------------------------
/patches/system_netd/hotpost-fix.patch:
--------------------------------------------------------------------------------
1 | diff -ur netd/server/SoftapController.cpp netd_mtk/server/SoftapController.cpp
2 | --- netd/server/SoftapController.cpp 2016-01-22 15:55:47.409331000 -0800
3 | +++ netd_mtk/server/SoftapController.cpp 2016-01-23 05:24:28.098782000 -0800
4 | @@ -48,7 +48,7 @@
5 | #endif
6 |
7 | #ifdef LIBWPA_CLIENT_EXISTS
8 | -static const char HOSTAPD_UNIX_FILE[] = "/data/misc/wifi/hostapd/wlan0";
9 | +static const char HOSTAPD_UNIX_FILE[] = "/data/misc/wifi/hostapd/ap0";
10 | static const char HOSTAPD_SOCKETS_DIR[] = "/data/misc/wifi/sockets";
11 | static const char HOSTAPD_DHCP_DIR[] = "/data/misc/dhcp";
12 | #endif
13 | @@ -161,7 +161,7 @@
14 |
15 | if (!pid) {
16 | ensure_entropy_file_exists();
17 | - if (execl(HOSTAPD_BIN_FILE, HOSTAPD_BIN_FILE,
18 | + if (execl(HOSTAPD_BIN_FILE, HOSTAPD_BIN_FILE, "-d",
19 | "-e", WIFI_ENTROPY_FILE,
20 | HOSTAPD_CONF_FILE, (char *) NULL)) {
21 | ALOGE("execl failed (%s)", strerror(errno));
22 | @@ -246,7 +246,7 @@
23 | asprintf(&wbuf, "interface=%s\ndriver=nl80211\nctrl_interface="
24 | "/data/misc/wifi/hostapd\nssid=%s\nchannel=%d\nieee80211n=1\n"
25 | "hw_mode=g\nignore_broadcast_ssid=%d\nwowlan_triggers=any\n",
26 | - argv[2], argv[3], channel, hidden);
27 | + /*argv[2]*/"ap0", argv[3], channel, hidden);
28 |
29 | if (argc > 7) {
30 | if (!strcmp(argv[6], "wpa-psk")) {
31 |
--------------------------------------------------------------------------------
/sepolicy/af7133e.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # Policy File of /system/binakmd09911 Executable File
3 |
4 |
5 | # ==============================================
6 | # Type Declaration
7 | # ==============================================
8 |
9 | type af7133e_exec , exec_type, file_type;
10 | type af7133e ,domain;
11 |
12 | # ==============================================
13 | # Android Policy Rule
14 | # ==============================================
15 |
16 | # ==============================================
17 | # NSA Policy Rule
18 | # ==============================================
19 |
20 | # ==============================================
21 | # MTK Policy Rule
22 | # ==============================================
23 |
24 | #permissive af7133e;
25 | init_daemon_domain(af7133e)
26 | #unconfined_domain(af7133e)
27 | # Purpose : M-sensor daemon for access driver node
28 | allow af7133e msensor_device:chr_file { open ioctl read write };
29 | allow af7133e gsensor_device:chr_file { open ioctl read write };
30 | allow af7133e input_device:dir { search open read write };
31 | allow af7133e input_device:file { open read };
32 | allow af7133e input_device:chr_file { open ioctl read write };
33 | # Operate data partation directly, need modify later,e.g. use "data/misc/sensor".
34 | allow af7133e system_data_file:dir { write add_name create setattr };
35 | allow af7133e system_data_file:file { open write read create setattr};
36 | allow af7133e system_data_file:dir remove_name;
37 |
38 |
--------------------------------------------------------------------------------
/sepolicy/cmddumper.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # Policy File of /system/bin/cmddumper Executable File
3 |
4 | # ==============================================
5 | # Type Declaration
6 | # ==============================================
7 | type cmddumper, domain;
8 | type cmddumper_exec, exec_type, file_type;
9 |
10 | # ==============================================
11 | # MTK Policy Rule
12 | # ==============================================
13 | init_daemon_domain(cmddumper)
14 |
15 | #============= cmddumper ==============
16 | allow cmddumper mdlog_data_file:fifo_file create_file_perms;
17 | allow cmddumper mdlog_data_file:file create_file_perms;
18 | allow cmddumper mdlog_data_file:dir { create_dir_perms relabelto };
19 | allow cmddumper ttySDIO_device:chr_file { read write ioctl open };
20 | allow cmddumper fuse:dir create_dir_perms;
21 | allow cmddumper fuse:file create_file_perms;
22 |
23 | allow cmddumper init:unix_stream_socket connectto;
24 | allow cmddumper property_socket:sock_file { write read };
25 | allow cmddumper platform_app:unix_stream_socket connectto;
26 |
27 | allow cmddumper shell_exec:file { read execute open execute_no_trans };
28 | allow cmddumper system_file:file execute_no_trans;
29 |
30 | allow cmddumper debug_mdlogger_prop:property_service set;
31 | allow cmddumper debug_prop:property_service set;
32 |
33 | allow cmddumper tmpfs:lnk_file read;
34 | allow cmddumper system_data_file:dir { write create open add_name relabelfrom relabelto};
35 |
36 |
--------------------------------------------------------------------------------
/sepolicy/pppd_dt.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # Policy File of /system/binpppd_dt Executable File
3 |
4 |
5 | # ==============================================
6 | # Type Declaration
7 | # ==============================================
8 |
9 | type pppd_dt_exec , exec_type, file_type;
10 | type pppd_dt ,domain;
11 |
12 | # ==============================================
13 | # Android Policy Rule
14 | # ==============================================
15 |
16 | # ==============================================
17 | # NSA Policy Rule
18 | # ==============================================
19 |
20 | # ==============================================
21 | # MTK Policy Rule
22 | # ==============================================
23 |
24 |
25 | init_daemon_domain(pppd_dt)
26 | allow pppd_dt self:capability { setgid setuid net_admin };
27 | allow pppd_dt property_socket:sock_file write;
28 | allow pppd_dt dnsproxyd_socket:sock_file write;
29 | allow pppd_dt init:unix_stream_socket connectto;
30 | allow pppd_dt self:udp_socket { ioctl create };
31 | allow pppd_dt netd:unix_stream_socket connectto;
32 | allow pppd_dt ttyACM_device:chr_file { read write ioctl open getattr };
33 | allow pppd_dt ppp_device:chr_file { read write ioctl open };
34 | allow pppd_dt system_file:file execute_no_trans;
35 | allow pppd_dt shell_exec:file { read open execute };
36 | allow pppd_dt net_radio_prop:property_service set;
37 | allow pppd_dt pppoe_ppp0_prop:property_service set;
38 | allow pppd_dt system_prop:property_service set;
39 |
--------------------------------------------------------------------------------
/sepolicy/akmd09911.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # Policy File of /system/binakmd09911 Executable File
3 |
4 |
5 | # ==============================================
6 | # Type Declaration
7 | # ==============================================
8 |
9 | type akmd09911_exec , exec_type, file_type;
10 | type akmd09911 ,domain;
11 |
12 | # ==============================================
13 | # Android Policy Rule
14 | # ==============================================
15 |
16 | # ==============================================
17 | # NSA Policy Rule
18 | # ==============================================
19 |
20 | # ==============================================
21 | # MTK Policy Rule
22 | # ==============================================
23 |
24 | #permissive akmd09911;
25 | init_daemon_domain(akmd09911)
26 | #unconfined_domain(akmd09911)
27 | # Purpose : M-sensor daemon for access driver node
28 | allow akmd09911 msensor_device:chr_file { open ioctl read write };
29 | allow akmd09911 gsensor_device:chr_file { open ioctl read write };
30 | allow akmd09911 input_device:dir { search open read write };
31 | allow akmd09911 input_device:file { open read };
32 | allow akmd09911 akmd8963_access_file1:file { open read write };
33 | allow akmd09911 akmd8963_access_file2:file { open read write};
34 | # Operate data partation directly, need modify later,e.g. use "data/misc/sensor".
35 | allow akmd09911 system_data_file:dir { write add_name create setattr };
36 | allow akmd09911 system_data_file:file { open write read create setattr};
37 |
38 |
--------------------------------------------------------------------------------
/MediaTek/wifi/Android.mk:
--------------------------------------------------------------------------------
1 | # Copyright (C) 2011 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 | # Make the HAL library
18 | # ============================================================
19 | include $(CLEAR_VARS)
20 |
21 | LOCAL_REQUIRED_MODULES :=
22 |
23 | LOCAL_CFLAGS += -Wno-unused-parameter -Wno-int-to-pointer-cast
24 | LOCAL_CFLAGS += -Wno-maybe-uninitialized -Wno-parentheses
25 | LOCAL_CPPFLAGS += -Wno-conversion-null
26 |
27 | ifeq ($(MTK_TC7_FEATURE), yes)
28 | LOCAL_CFLAGS += -DCONFIG_PNO_SUPPORT
29 | endif
30 |
31 | LOCAL_C_INCLUDES += \
32 | external/libnl/include \
33 | $(call include-path-for, libhardware_legacy)/hardware_legacy \
34 | external/wpa_supplicant_8/src/drivers
35 |
36 | LOCAL_SRC_FILES := \
37 | wifi_hal.cpp \
38 | rtt.cpp \
39 | common.cpp \
40 | cpp_bindings.cpp \
41 | gscan.cpp \
42 | link_layer_stats.cpp
43 |
44 | LOCAL_MODULE := libwifi-hal-mt66xx
45 |
46 | include $(BUILD_STATIC_LIBRARY)
47 |
48 |
--------------------------------------------------------------------------------
/sepolicy/akmd8963.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # Policy File of /system/binakmd8963 Executable File
3 |
4 |
5 | # ==============================================
6 | # Type Declaration
7 | # ==============================================
8 |
9 | type akmd8963_exec , exec_type, file_type;
10 | type akmd8963 ,domain;
11 |
12 | # ==============================================
13 | # Android Policy Rule
14 | # ==============================================
15 |
16 | # ==============================================
17 | # NSA Policy Rule
18 | # ==============================================
19 |
20 | # ==============================================
21 | # MTK Policy Rule
22 | # ==============================================
23 |
24 | #permissive akmd8963;
25 | init_daemon_domain(akmd8963)
26 | #unconfined_domain(akmd8963)
27 | # Data : WK14.43
28 | # Operation : Migration
29 | # Purpose : M-sensor daemon for access driver node
30 | allow akmd8963 msensor_device:chr_file { open ioctl read write };
31 | allow akmd8963 gsensor_device:chr_file { open ioctl read write };
32 | allow akmd8963 input_device:dir { search open read write };
33 | allow akmd8963 input_device:file { open read };
34 | allow akmd8963 akmd8963_access_file1:file { open read write };
35 | allow akmd8963 akmd8963_access_file2:file { open read write};
36 | # Operate data partation directly, need modify later,e.g. use "data/misc/sensor".
37 | allow akmd8963 system_data_file:dir { write add_name create setattr };
38 | allow akmd8963 system_data_file:file { open write read create setattr};
39 |
--------------------------------------------------------------------------------
/MediaTek/lib_driver_cmd_mt66xx/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := $(call my-dir)
2 |
3 | ##### For Google SUPPLICANT
4 | ifeq ($(WPA_SUPPLICANT_VERSION),VER_0_8_X)
5 | WPA_SUPPL_DIR = external/wpa_supplicant_8
6 | WPA_SRC_FILE :=
7 |
8 | ifneq ($(BOARD_WPA_SUPPLICANT_DRIVER),)
9 | CONFIG_DRIVER_$(BOARD_WPA_SUPPLICANT_DRIVER) := y
10 | endif
11 | ifneq ($(BOARD_HOSTAPD_DRIVER),)
12 | CONFIG_DRIVER_$(BOARD_HOSTAPD_DRIVER) := y
13 | endif
14 |
15 | include $(WPA_SUPPL_DIR)/wpa_supplicant/android.config
16 |
17 | WPA_SUPPL_DIR_INCLUDE = $(WPA_SUPPL_DIR)/src \
18 | $(WPA_SUPPL_DIR)/src/common \
19 | $(WPA_SUPPL_DIR)/src/drivers \
20 | $(WPA_SUPPL_DIR)/src/l2_packet \
21 | $(WPA_SUPPL_DIR)/src/utils \
22 | $(WPA_SUPPL_DIR)/src/wps \
23 | $(WPA_SUPPL_DIR)/wpa_supplicant
24 |
25 | ifdef CONFIG_DRIVER_NL80211
26 | WPA_SUPPL_DIR_INCLUDE += external/libnl/include
27 | WPA_SRC_FILE += mediatek_driver_cmd_nl80211.c
28 | endif
29 |
30 | ifdef CONFIG_DRIVER_WEXT
31 | #error doesn't support CONFIG_DRIVER_WEXT
32 | endif
33 |
34 | # To force sizeof(enum) = 4
35 | ifeq ($(TARGET_ARCH),arm)
36 | L_CFLAGS += -mabi=aapcs-linux
37 | endif
38 |
39 | ifdef CONFIG_ANDROID_LOG
40 | L_CFLAGS += -DCONFIG_ANDROID_LOG
41 | endif
42 |
43 | ########################
44 |
45 | include $(CLEAR_VARS)
46 | LOCAL_MODULE := lib_driver_cmd_mt66xx
47 | LOCAL_SHARED_LIBRARIES := libc libcutils
48 | LOCAL_CFLAGS := $(L_CFLAGS)
49 | LOCAL_SRC_FILES := $(WPA_SRC_FILE)
50 | LOCAL_C_INCLUDES := $(WPA_SUPPL_DIR_INCLUDE)
51 | include $(BUILD_STATIC_LIBRARY)
52 |
53 | ########################
54 |
55 | endif
56 |
--------------------------------------------------------------------------------
/MediaTek/wifi/NOTICE:
--------------------------------------------------------------------------------
1 | Copyright (c) ,
2 | All rights reserved.
3 |
4 | Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
5 | following conditions are met:
6 |
7 | * Redistributions of source code must retain the above copyright notice, this list of conditions and the following
8 | disclaimer.
9 | * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
10 | following disclaimer in the documentation and/or other materials provided with the distribution.
11 | * Neither the name of the nor the names of its contributors may be used to endorse or promote
12 | products derived from this software without specific prior written permission.
13 |
14 |
15 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
16 | INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
17 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
18 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
19 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
20 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
21 | THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/sepolicy/thermal_manager.te:
--------------------------------------------------------------------------------
1 | # ==============================================
2 | # Policy File of /system/binthermal_manager Executable File
3 |
4 |
5 | # ==============================================
6 | # Type Declaration
7 | # ==============================================
8 |
9 | type thermal_manager_exec , exec_type, file_type;
10 | type thermal_manager ,domain;
11 |
12 | # ==============================================
13 | # Android Policy Rule
14 | # ==============================================
15 |
16 | # ==============================================
17 | # NSA Policy Rule
18 | # ==============================================
19 |
20 | # ==============================================
21 | # MTK Policy Rule
22 | # ==============================================
23 |
24 | init_daemon_domain(thermal_manager)
25 |
26 | allow thermal_manager proc_mtkcooler:dir search;
27 | allow thermal_manager proc_mtktz:dir search;
28 | allow thermal_manager proc_thermal:dir search;
29 | allow thermal_manager proc_mtkcooler:file { read getattr open write };
30 | allow thermal_manager proc_mtktz:file { read getattr open write };
31 | allow thermal_manager proc_thermal:file { read getattr open write };
32 | allow thermal_manager system_data_file:dir write;
33 | allow thermal_manager system_data_file:dir add_name;
34 | allow thermal_manager system_data_file:file { create write open setattr };
35 | allow thermal_manager self:capability dac_override;
36 | allow thermal_manager self:capability chown;
37 | allow thermal_manager self:capability fowner;
38 | allow thermal_manager self:capability fsetid;
39 |
40 |
--------------------------------------------------------------------------------
/sepolicy/bluetooth.te:
--------------------------------------------------------------------------------
1 |
2 | # ==============================================
3 | # MTK Policy Rule
4 | # ============
5 |
6 |
7 | # Data : WK14.36
8 | # Operation : Migration
9 | # Purpose : IPC communication between bluetooth and mtkbt (BT host), and bluetooth and mediaserver
10 | allow bluetooth bt_int_adp_socket:sock_file write;
11 | allow bluetooth mediaserver:unix_dgram_socket sendto;
12 | allow bluetooth mtkbt:unix_dgram_socket sendto;
13 | allow bluetooth mtkbt:unix_stream_socket connectto;
14 | allow bluetooth mtkbt:fd use;
15 | allow bluetooth init:unix_dgram_socket sendto;
16 |
17 | # Data : WK14.36
18 | # Operation : Migration
19 | # Purpose : BT host stack cached data access
20 | allow bluetooth bt_data_file:dir { write add_name remove_name search};
21 | allow bluetooth bt_data_file:file { open read write create setattr getattr append unlink rename};
22 |
23 | # Data : WK14.44
24 | # Operation : Migration
25 | # IPC communication between bluetooth and mtkbt
26 | binder_call(bluetooth, mtkbt)
27 | #============= mediaserver ==============
28 | allow mediaserver bt_data_file:file read;
29 |
30 | #============= bluetooth ==============
31 | allow bluetooth platform_app_tmpfs:file write;
32 |
33 | # fix for CM12.1
34 | allow bluetooth bt_data_file:dir { write getattr read remove_name open add_name };
35 | allow bluetooth bt_data_file:file { write getattr read create unlink open append};
36 | allow bluetooth nvram_data_file:file { create setattr read write getattr open };
37 | allow bluetooth stpbt_device:chr_file { read write ioctl open };
38 | allow bluetooth stpbt_device:file { read write ioctl open };
39 |
40 |
--------------------------------------------------------------------------------