Commit Graph

2937 Commits

Author SHA1 Message Date
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
Olexandr Nesterenko
f00861841c Add sensitive numbers for Ukraine.
Source: http://www.la-strada.org.ua :
Human Trafficking Counteraction: "0-800-500-22-5"
Domestic Violence Counteraction: "0-800-500-33-5" or "386"
Child Rights Protection: "0-800-500-33-5" or "386"
Gender And Human Rights: "0-800-500-33-5"

Source: http://www.la-strada.org.ua/ucp_mod_content_show_30_robota-garyachoyi-liniyi.html :
National Child Toll Free Hotline "0-800-500-22-5" or "772"

Change-Id: I63a02f34853b86914383d9d8666036cd684bc3b3
2017-06-22 21:38:55 +00:00
Liam Mendes
b9b2e57c32 Add Virgin Media Ireland to APN's
Add Virgin Mobile Ireland by Virgin Media to the list of LineageOS APNs. 

Source: https://www.virginmedia.ie/customer-support/mobile/device-support/?page=device/samsung/galaxy-s8/topic/internet-apn/setup-internet-on-your-phone
(there's nothing special about the S8, but the support website requires a phone to be chosen to reveal APN settings)

Change-Id: I2e85f506180a41d522de6c77b855305e46704fb5
2017-06-22 16:43:24 +00:00
Julien Humbert
42ded0625c sensitive_pn: Add additional FR number
* See: http://www.allo119.gouv.fr/

Change-Id: I3a4301b743c880ab9187a3988c206210a235639e
2017-06-21 21:46:10 +02:00
Tim Graham
f3972a9a7f sensitive_pn: Add additional GB numbers
Childline National Child Abuse Hotline
Phone Number: 0800 1111

* See: https://www.childline.org.uk/get-support/contacting-childline/

Samaritans Hotline
Phone Number: 116 123

* See: http://www.samaritans.org/how-we-can-help-you/contact-us

Change-Id: Ic5971d35f4c5c93b82d5ca1b9f22def522196cc0
2017-06-20 23:58:59 +00:00
Bruno Martins
f2e9a83ec7 sensitive_pn: Add additional PT numbers
* Reference: http://www.apav.pt/vd/index.php/apoio-a-vitima

Change-Id: I3c7f82626912e659bd9f625e3c84d3e48fe35bbb
2017-06-20 22:49:12 +00:00
Alexandre Oliveira
9e1a579a55 sensitive_pn: add missing phone number for Brazil
- Added number 181
  (http://www.anatel.gov.br/Portal/exibirPortalPaginaEspecial.do?codItemCanal=746&codCanal=277)

Change-Id: I7ee8364116562b5b1976f8c624d79b27c21be100
2017-06-19 05:16:31 +00:00
Michael Bestas
e5969e2d1c roomservice: Search for repos in lineage snippet too
Change-Id: Id544d4bce731b14dbc7656382163d4657c347b83
2017-06-17 20:01:23 +03:00
Michael Bestas
21b9d391e7 roomservice: Remove support for devices in main manifest
* We are using roomservice for all devices since a long time

Change-Id: Ice5c37de154ca3fb4cf69a8401e5bbe3c9e56e2a
2017-06-17 19:58:55 +03:00
Noam Tamim
f5049a6a89 Add sensitive numbers for Israel.
* source: Israeli Police, https://www.police.gov.il/contentpage.aspx?pid=125.

Change-Id: If9625421dead4f6677bea4d6a187e33ef0bf11fb
2017-06-09 01:18:39 +00:00
drastic-krutor
5436ebc7a3 sensitive_pn: Add sensitive phone numbers for Czech Republic
* Check http://www.psychoportal.cz/linky-duvery
* Check http://www.capld.cz/linky-duvery-cr

Change-Id: I5fdccddd80645183e674eb60947ccafa7a7b6c79
2017-06-06 13:31:27 +00:00
Tim Lewis
8c8b1376f9 sensitive_pn: Add Canadian sensitive numbers
* Source: http://www.dawncanada.net/issues/issues/we-can-tell-and-we-will-tell-2/crisis-hotlines/

Change-Id: Ie138f513fb47cb2faa6961940f0d92f79c5862dc
2017-06-06 10:20:41 +10:00
Brinly Taylor
fa5fdd6771 sensitive_pn: Add more numbers from the Netherlands
* 08002000 (national institute 'Veilig thuis' that offers help to domestic violence victims: https://www.vooreenveiligthuis.nl/ )
* 09009999001 (national institute 'Hulplijn Seksueel Misbruik' that offers help to victims of sexual assault: https://www.verbreekdestilte.nl/ )
* 08000432 (national institute 'Kindertelefoon' that offers help to children and teenagers under abuse: https://www.kindertelefoon.nl/ )
* 09000101 (national institute 'Slachtofferhulp Nederland' that also offers help to victims of the above and other crimes: https://www.slachtofferhulp.nl/ )

Author wishes to remain anonymous, so submitting here on behalf of them.

* Source:  https://www.rijksoverheid.nl/onderwerpen/huiselijk-geweld/vraag-en-antwoord/wat-moet-ik-doen-bij-huiselijk-geweld

Change-Id: Icc91ebfacc2f3c4265db0d35a1ccb90efe42b125
2017-06-06 10:12:19 +10:00
Gabriele M
4fe35097b3 fix check_blacklist function to work on wiped /system partition
If /system is empty, /tmp/addon.d/ will not exist, "*sh" won't be
expanded, md5sum will not generate any output and the variable $s
will be empty. Therefore grep, which will receive only one arg, will
start to read the standard input and never exit, causing the
installation to never end. Fix this checking whether we have files
to read or not.

Change-Id: I656eab42e54b3f81da8c5ac81374b9deddcf8484
2017-06-04 19:46:13 +00:00
Brinly Taylor
140d378f4f sensitive_pn: Add sensitive numbers for Serbia
* Source: http://www.mup.gov.rs/wps/portal/sr/gradjani/saveti/nasilje%20u%20porodici/

Change-Id: Id941e47347ac2b8c7230d314e1b7fb750e4dec1e
2017-06-04 15:00:55 +10:00
Brinly Taylor
62741ba915 sensitive_pn: Add sensitive phone numbers for India
* Reference: https://www.jaagore.com/womens-help-line-numbers

Change-Id: Ib2b0930882dbfaaba248c8e3aee964ee37a2133b
2017-06-01 10:02:49 +10:00
Matthias Urlichs
8c3ee9c0f4 sensitive_pn: Add more numbers for Germany
* add numbers for crisis hotline / Telefonseelsorge
* Reference: http://www.telefonseelsorge.de

Change-Id: Ida9ea1d108db9a36fde84d2c63a0ab7316abf19a
2017-06-01 10:02:45 +10:00
Arne Coucheron
4b1013f3b3 sensitive_pn: Add sensitive phone numbers for Norway
Ref: https://psykiskhelse.no/hjelpetelefoner-og-nettsteder

Change-Id: I600deec0f6e3d2cc2334fc148e3762cfef4fb571
2017-05-31 06:29:58 +00:00
Kasual
7201def8b5 sensitive_pn: Add additional US numbers
Childhelp National Child Abuse Hotline
Phone Number: 800-4-A-CHILD (800-422-4453)

National Sexual Assault Hotline
Phone Number: 800-656-HOPE (4673)

* See: https://www.womenshealth.gov/mental-health/hotlines/

Change-Id: I1769b0612c77f2843a2c967a853d7eafc9c2bb5e
2017-05-29 22:44:55 +00:00
qjohn
05eb2b3684 sensitive_pn: add sensitive number for Indonesia
* Check http://www.komnasperempuan.go.id/kontak-kami/

Change-Id: Idf48d596382e71ac5a68c84bdb6fbe85d6441895
2017-05-29 22:41:42 +00:00
Calin
5d2999052e sensitive_pn: Add sensitive phone number for Romania
Reference: http://www.fundatiasensiblu.ro/

* Also order Netherlands

Change-Id: If35b030a591aabef0e26e51593ab7514abffeada
Signed-off-by: Calin <nilac8991@gmail.com>
2017-05-29 16:36:34 +02:00
Valerio Pilo
24658d614e sensitive_pn: Added sensitive number for the Netherlands
* See https://www.blijfgroep.nl/kennis-delen/feiten-en-cijfers

Change-Id: I70e62f67b0139cf467b3446b02c8ebce7330cdd2
2017-05-29 13:22:09 +00:00
Ali B
8bb74813de sensitive_pn: add sensitive numbers for Turkey
* See http://alo144.aile.gov.tr/
      http://alo183.aile.gov.tr/

Change-Id: I360ee3fc1310c825121e8203eedd4887fc2b6944
2017-05-29 09:57:52 +00:00