Commit graph

3159 commits

Author SHA1 Message Date
Luca Stefani
19464ebac0 vendor: Kill sepolicy
* Will be re-written in device/lineage

Change-Id: I755d129efbc69b712a20833b7b51187bfd66e844
2017-08-25 07:53:36 -05:00
Luca Stefani
52b7080796 vendor: Add project pathmap defs
Change-Id: I5357eadcf6efe6ddbd6686ed69db0d59114e0a5d
2017-08-25 07:53:02 -05:00
Luca Stefani
c22b0dcf34 vendor: Move to PRODUCT_DEFAULT_PROPERTY_OVERRIDES
Change-Id: I96c4da13c0f15795432eef7af24a21e7a5903cd4
2017-08-25 07:51:48 -05:00
Luca Stefani
75a79d6889 core: Move ro.device.cache_dir to common.mk
Change-Id: Ic2e2284de064c6f9fa1aa8d9ba6b7af19c671c4e
2017-08-25 07:50:34 -05:00
Luca Stefani
076c27b91a
vendor: build: Add mk_timer
Change-Id: Ib7ce1e7c662fe0555d296e125241c222f89f671d
2017-08-23 17:33:26 +03:00
Luca Stefani
085af72a05
vendor: build: Kill schedtool
Change-Id: Idd6cc6679b1e84f365a5a18645590c549af20af5
2017-08-23 17:33:25 +03:00
Luca Stefani
74df07039a
envsetup: Update mka for O
Change-Id: I36ec10be9152f135ec3645b4304e63ea30d06774
2017-08-23 17:33:25 +03:00
Luca Stefani
eae93144d2
envsetup: Kill mms
* soong/ninja is blazing fast rendering this command useless

Change-Id: I2241d7309f41c0d11b6c32b9a2c1193f6e0a2ab2
2017-08-23 17:33:25 +03:00
Luca Stefani
5c60e4fd24
lineage: Complete the rebrand
* TODO: Rebrand cmsdk when it's in a working state

Change-Id: I0d8d573f9e0032110ae3a0f54ebe11a877b83137
2017-08-23 17:33:22 +03:00
Dan Pasanen
91f7620c4d
vendor: change vendor to lineage
Change-Id: I2df13091f5d62b552ef434aef1a389f4fe1249e0
2017-08-23 03:26:28 +03:00
Ashwin Ramesh
b0ea62a5df envsetup: Fix installboot on ZSH
* ZSH errors out when it doesn't find anything in $OUT/system/lib/modules/.
* So add a check to avoid error while using installboot() with a target
  that doesn't have modules enabled.

Change-Id: Ibe66f6962943e9b90c7059a4c9b4ded558318326
2017-08-21 16:46:34 +00:00
Michael Bestas
4279948a43 charger: Remove battery_fail images
* These are copied from system/core/healthd,
  avoid unnecessary build warnings

Change-Id: Id087169ebb2d70d2d1ad4d8c9a8cfd20578fc7f2
2017-08-20 12:58:56 +00:00
Abhisek Devkota
62764465b1 Update initial attach for Tmo US
Change-Id: Ib7b0db56099be1fbe10787014c0b3730edb865e4
2017-08-19 20:57:49 +00:00
Luca Stefani
d6e2fbcf8e tasks: kernel: Kill unexisting wiki reference
Change-Id: Ib43012206ba7028072d39495bda32d82dd72bdc6
2017-08-17 18:54:35 +00:00
dianlujitao
3bc9c18e11 build: qcom_target: Add sdm660
Change-Id: I90a44e040280bd43c40b06e14f658a5cf7e30297
2017-08-17 16:55:48 +00:00
Bruno Martins
0753ae0d68 templates: Default to sanitize vendor folder during extraction
* This was always the default behaviour and doesn't require
   any additional argument in order to make use of pinning feature
   (pinned blobs are only considered when vendor folder is removed)

Change-Id: I34ff7678bd6800a2c593e9fe128cc151c59967da
2017-08-16 23:00:21 +01:00
Alexandre Oliveira
3af5191522 Add Correios Celular (BR) APN
Change-Id: I34b2aa557fc0532194423b1c04b6469ad4ead2ec
2017-08-08 02:17:32 +00:00
Harry Youd
9c5d129d90 Fix extract_utils when not using blob sections
"$3" evaluates as "" when $3 is empty, and so $# is still 3
When $3 is empty, do not use it

Change-Id: I87df7dd8ed23cac3d4cff16dce0996bbe0a3e6cc
2017-08-05 08:21:38 +00:00
Keita Espinoza
36dcbd41d3 Add WOM Internet/MMS (CL) apn
Change-Id: I2a3e39ff76f78c9ad37fb2f36b9d40b7b5bf6a4d
2017-08-05 02:11:45 +00:00
Rashed Abdel-Tawab
deed26fd06
qcom: Allow setting custom audio, display, and media HALs
Currently, using project-set-path is blocking us from overriding the pathmap
for the audio, display, and media HALs, so set them with set-device-specific-path
to allow overriding the HALs with USE_DEVICE_SPECIFIC_* and DEVICE_SPECIFIC_*_PATH

Change-Id: Iee3723cf251d0f485a77a17fd61cb62178833582
2017-08-01 02:23:17 -04:00
Rashed Abdel-Tawab
58ce825b6e
templates: Update to show usage for new extract_files features
* Allows extracting only a specific section from proprietary-files.txt
* Defaults to not cleaning vendor folder before extraction
* Adds script options rather than depending on apredefined order

Change-Id: I74cd3bf4a1f652232c97c78d6164f0730599c1a7
2017-07-30 14:09:29 -04:00
Rashed Abdel-Tawab
8b87b09ef7
extract_files: Add support for paths without system/
Sometime blob directories are contained in dirs not named system
(ex. extracting blobs from another vendor dir) so check if the file
exists without system/ before appending "system/" to filenames.

Change-Id: I4ba946e178260b4f4804b1ac4422645e3085c665
2017-07-30 12:48:18 -04:00
Rashed Abdel-Tawab
855fbdd4bc
extract_files: Add support for specifying blob sections
Sometimes the need arises to update one specific subset of blobs
while holding others steady. Introduce a way to specify the "section"
of blobs to update (obviously requires the proprietary-files to be
properly split up first)

Requires additional changes in device tree extract_files.sh to support
passing the additional arguments

Change-Id: I98feab56f8bfade2818b1b5264e019440d4c57c5
2017-07-30 12:48:18 -04:00
Rashed Abdel-Tawab
675d9595e4
build: Update smali and baksmali to 2.2.1
Change-Id: I5a8d195ef3b67c5ccee4e34f4ec294a880c7a083
2017-07-30 12:27:53 -04:00
Michael Bestas
2168b71a55 Revert "Revert "vendor: cm: sepolicy: Allow rw-access to system_app_data_file""
This reverts commit cc0d29e157.

Change-Id: Ie4e1a693600627feddd0984795d0be68a34f2585
2017-07-29 17:59:37 +00:00
Gabriele M
b6effb3ebb extract_utils: Fix cleanup variables assigment
The current assignment is wrong, we cleanup the files when we tell
not to do so.

Change-Id: I73a9a17f5ebae6f2dbdc3d6d9aaa28cd75fb4f87
2017-07-29 16:46:53 +00:00
Michael Bestas
beb05c82a3 config: Set some default TWRP flags
When WITH_TWRP=true is set:
* Set recovery variant to TWRP, it should be synced
  under bootable/recovery-twrp in Lineage
* Exclude SuperSU, we have our own su solution

Change-Id: I5e5e6f2b42282c4666cdc013405a1488a9c6341d
2017-07-28 16:27:22 +00:00
Michael Bestas
32378953b7 templates: Remove empty cat << EOF
Change-Id: I68388202f42b7522f3fd3965d4ce518c142e7ce3
2017-07-28 16:24:40 +00:00
jumoog
54afae56fd sensitive_pn: add EU 116 Numbers
116006 - Victims of crime
116111 - Child Helplines
116123 - Emotional support helpline

overview: https://ec.europa.eu/digital-single-market/en/116-helplines
per country: https://ec.europa.eu/digital-single-market/en/116-your-country

Change-Id: I7f7eccd3dc743a164e219152f26feda17cfb1b75
2017-07-28 13:37:51 +02:00
Michael W
cc0d29e157 Revert "vendor: cm: sepolicy: Allow rw-access to system_app_data_file"
This reverts commit ee8db8f99b.

Change-Id: Ib1ad23043f358ec09ea9133452d4ad9b6fe0edfc
2017-07-27 13:28:14 +00:00
Michael W
ee8db8f99b vendor: cm: sepolicy: Allow rw-access to system_app_data_file
* Fixes Settings->User->(Crop|Take) Picture

Change-Id: I8e9d2a968e0fc566dfce3019554bf1c7e0557842
2017-07-27 13:07:57 +00:00
Bruno Martins
fc30f6b741 overlay: Enable “Panic Detection” mode
* Change Ibf1370ff3cb539a9a54002a8704922744a3ca5d7 on fw/base
   added support for a security feature. This feature listens
   for multiple back button presses in succession and then
   returns the user to their home screen.

Change-Id: I5a386782ae2dcb0898491e1af48a73d6fb74a181
2017-07-27 13:03:29 +00:00
Bauuuuu
7dff2f7ae7 apns: correct the mvno_match_data for MasMovil Spain
* fixes the broken auto-detection for MasMovil Spain

Change-Id: I6fadeb3703e78d6ba6b2fe9420b9a45cd1f78de1
2017-07-26 19:07:19 +00:00
Julien Humbert
8146415ace sensitive_pn: Include France DOM (Overseas regions) codes
France has 7 MCC codes, but only include the 2 DOM (Overseas regions) codes here.
* Metropolitan France: 208
* Guadeloupe, Martinique, Guyane: 340
* La Réunion, Mayotte, TAAF (French Southern and Antarctic Lands): 647

The 4 others MCC codes aren't covered by those number as stated on their website.
* Saint-Pierre-et-Miquelon: 308
* Wallis-et-Futuba: 543
* Nouvelle-Calédonie: 546
* Polynésie française: 547

See:
* http://www.solidaritefemmes.org/appeler-le-3919
* http://www.allo119.gouv.fr/

Change-Id: If13e2c2cfa669b76178182f9aa2d0f19772a45a3
2017-07-24 18:17:15 +00:00
Michael W
ea82b9f6f7 charger: Fix small battery capacity font
* Load the correct font to display the capacity in appropriate size
* Fall back to gr_sys_font() in case it can't be loaded

Change-Id: I7a05be70da3b8f0cf2895e844dfc29d66d5dbab1
2017-07-22 20:18:26 +00:00
Harry Youd
1c9c5a314d repopick: Add 'reset' option
In case of conflict, reset to initial state by aborting the cherry-pick,
leaving the working directory clean

Change-Id: I2353b92254b67ea49835bc88b6fc9bc3910b5107
2017-07-19 10:15:32 +00:00
Michael Bestas
296008cc79
kernel: Add savedefconfig target
* Add a build target to simply regenerate the kernel
  minimal defconfig and copy it to the kernel source

Change-Id: I04be945eb6dae3042c236785328c7c9995d42e49
2017-07-12 20:56:35 +03:00
Luca Stefani
c835d38e3e qcom: Enable TARGET_USES_QCOM_MM_AUDIO
Change-Id: Iff693650db4b9423bc4bb16c12f592c2a74248af
2017-07-11 19:42:50 +00:00
Dan Pasanen
63f767edd9 repopick: don't bail on drafts
* When using an ssh gerrit instance (-g) it is perfectly
  reasonable to pick a draft commit. Don't require force
  picking (-f) in order to do so.

Change-Id: I420f566ee1bb1f0b0d2a2ef29d95e0545db70b89
2017-07-09 09:41:34 -05:00
Paul Keith
ff7a5e4a63 sensitive_pn: Enter full list of Indian MCC codes
* India has mutliple MCC codes, so input all of them

Change-Id: I6c74b99d4c893f84d73a1cffd1a7880bc5d9c67f
2017-07-06 14:34:14 -05:00
Harry Youd
168bca4677 sensitive_pn: Enter full list of GB MCC codes
GB has 2 MCC codes, enter them both here

Change-Id: I6902499bb3ec60c6aa0dc1db6b0f01d2497b34ac
2017-07-06 14:34:14 -05:00
Paul Keith
112ffc142a sensitive_pn: Enter full list of US MCC codes
* The USA has mutliple MCC codes, so input all of them

Change-Id: I4a6a903a38ee737053f8c3c7dcd56d6d2ef791a3
2017-07-06 14:34:12 -05:00
AI Lion
302c065cdb Add LTE support for China Telecom Macau.
Notice: I am very likely the only one here having a Macau SIM card, so I am the only one who can confirm this change.
Please do not paste APN settings copied from other vendors or devices. 
The exactly APN used in MIUI is not MMC455/MNC07 but MMC455/MNC02, maybe Xiaomi has done extra calculations to do so.

It is a waste of time to argue which APN is “BETTER”. This one works for China Telecom Macau LTE. I can confirm this. If you live out of Macau, you can't.
Screenshot: https://pics.mustu.cn/assets/52c546f9-e883-4335-a090-c9e66ec1c77e.png

CTWAP and CTNET are not discussed in this change.
CTNET is for 3G. There are still someone using 3G. You can add one if you are interested in this, or I will add one if I have a confirmed APN settings from China Telecom Macau staffs.
CTWAP is outdated. If you use CTWAP in China, most apps will tell you "CTWAP is deprecated, use CTNET instead.".

China is moving from 3G to 4G/LTE, and will soon be moving from 4G to 5G. If you live out of China, please simply +1 and merge it. If you live in China and having problem with this APN, we can discuss this with beer and snacks.

For now, there is NO APN settings for MMC455/MNC07, so this APN won't harm anyone else living out of Macau.

Merge this change, that's it.


Update:
Add CTNET for MMC455/MNC07
Screenshot: https://pics.mustu.cn/assets/bbd9e8ee-7af5-4d5e-af6d-3722de329ef0.png

Change-Id: I8600dbbb8d3ea567f04a516d7a296dbaaebc5216
2017-07-04 05:34:59 +00:00
Dan Pasanen
e27e11bb78 Revert "cm: build custom tiles app"
This reverts commit bfaafb5e2a.

Change-Id: Ice3ac0db24c9336e082a7a33bba1dc5f396b49a5
2017-07-02 16:09:28 +00:00
Michael Bestas
736c6fe6ad qcom_utils: Cleanup supported QCOM_BOARD_PLATFORMS
* Organize per family
* Remove unsupported mpq8092 and msm_bronze
* Add msm8998

Change-Id: I662a8e403045affa2a9b40511414ac6e8057f967
2017-06-29 20:31:22 +00:00
Michael Bestas
e65a25087f build: qcom_target: Define MASTER_SIDE_CP_TARGET_LIST
Currently, in the display HAL, we're replacing the usage
of this variable with a check for TARGET_BOARD_PLATFORM.

Instead of having to do that every time a new branch is made,
define the variable in qcom_target.

Change-Id: Iddcc38c70adc52267e70c985b7a0ad3d8c4c8929
2017-06-29 20:31:22 +00:00
Julien Humbert
ee7a90ed71 apns-conf: Add Japan Umobile APNs
Umobile/Usen Music/Umobile for iPhone/Umobile LTE使い放題: https://umobile.jp/service/setting/d/
Umobile Max: https://umobile.jp/service/setting/max/
Umobile Premium: https://umobile.jp/service/setting/premium/
Umobile Super: https://umobile.jp/service/setting/super/

Change-Id: Id2883e9c04f8e67bfdbca83824c42e36005dada6
2017-06-26 18:35:29 +00:00
Michael Bestas
bb634aafdb sensitive_pn: Add sensitive numbers for Greece
Change-Id: I69153122a230d5b46924e9300d2ead90a6580ed4
2017-06-25 10:42:06 +00:00
jumoog
244370e5b9 sensitive_pn: fix Czech Republic MCC
Czech Republic MCC is 230 not 420 (Saudi Arabia)

Change-Id: I7429c22a35249d6124a6a47ed5f288b5449bd4c6
2017-06-25 11:32:18 +02:00
Sean hoyt
9a4fe2b37d sensitive_pn: Add Taiwanese sensitive numbers
1955 Foreign Workers Counseling and Protection Hotline 
113 Children and Women Protection Hotline
886-2-5388-3095, 886-3-555-7953 Counter Human Trafficking Hotline

Sources: 
http://www.hchpb.gov.tw/eng/index.php?catid=237&id=6
http://www.hchpb.gov.tw/eng/index.php?catid=237&id=3

Change-Id: I1fcdc78703b324c37cd8e7921b21d63d53f9e8b3
2017-06-24 20:46:14 +00:00