Commit graph

2875 commits

Author SHA1 Message Date
Arne Coucheron
ca8cd53bcc cm: Remove obsolete and unused overlays and configs
Change-Id: I9c7e208ece6c484fbc4f5d6c5470998bf0c6fb46
2017-04-30 00:22:19 +02:00
Michael Bestas
d67ef7821d
addonsu: Add Lineage version to zip name
* Avoid confusion

Change-Id: I823d77e037b0d0dc2a4b9f0466d594213c72e179
2017-04-28 23:55:39 +03:00
Gabriele M
5b33c6c1d5 Add target to make a flashable su addon
Run 'make addonsu' to make a flashable zip to install the addon and
'make addonsu-remove' for a flashable zip that removes it.

Change-Id: I5b2fe67f98f2474b923c074dc6025b47c6db2ae0
2017-04-20 04:06:38 +00:00
Christopher N. Hesse
1e7c3f00c6 kernel: Fix broken C_INCLUDE_PATH for Darwin
Commit 7fb9251dfc modified
the expansion in an illegal way.

Fix the broken env variable.

Change-Id: Ib3029fa995d6a4b0416887a2ef2e4792c9e6bb27
(cherry picked from commit 90b437e784c19fc428c24891cc96705b89b786df)
2017-04-11 23:08:32 +00:00
Rashed Abdel-Tawab
7fb9251dfc kernel: Include openssl headers and dylibs on darwin
The easiest and best way to get openssl on darwin is using homebrew,
however homebrew refuses to link openssl (and for good reason) in
order to prevent conflicts with Apple's homegrown version. Include
the openssl headers and dylibs from the dir that homebrew installs
openssl to let 4.4 kernels compile.

Change-Id: I06b66768fbdd4855fd57b88100d646ed6e311a59
2017-04-09 00:44:05 -05:00
Dan Pasanen
b782210019 Revert "YOLO"
This reverts commit 430f569db3.

Change-Id: I99c4245625629940d83fe535fbdb79fe1b9b4887
2017-04-09 00:43:57 -05:00
Dan Pasanen
2f40cfa17a Revert "Br0Zip"
This reverts commit dd4ee0c2e3.

Change-Id: If2a884670142a88b3df1daeadede99be6a9e7167
2017-04-09 00:43:57 -05:00
Rashed Abdel-Tawab
c59cbe0c90 build: Update smali and baksmali to 2.2.0
Change-Id: I4ee68b1152d41a80138e1df92f2f8316e471d658
2017-04-09 00:43:57 -05:00
Dan Pasanen
8ee2386925 charger: updates for 7.1.2 minui
Change-Id: I613799e7ed332d11333ba166f7df310b86deb450
2017-04-05 10:40:52 -05:00
Michael Gernoth
29f3b5775b roomservice: handle devices with underscores
This change correctly handles devices with underscores in their
name even if there is a device with the same name after the last
underscore (spyder, umts_spyder) by not allowing any underscores
in the manufacturers name.

Without this change, spyder gets resolved to:
device/motorola_umts/spyder
device/motorola/spyder

Only the last one is valid.

With this change, both spyder and umts_spyder get resolved correctly.

Change-Id: I0c95ff126d827a2d6b58875dfcb9327e999f4913
2017-04-03 07:25:01 -05:00
Joey Rizzoli
dd4ee0c2e3 Br0Zip
Change-Id: I84eee4b2bcd4c3564660a99ddbf5f76a38847a93
Signed-off-by: Joey Rizzoli <joey@lineageos.org>
2017-04-02 19:14:33 +00:00
Harry Youd
430f569db3 YOLO
Change-Id: If1605830592dd6cfccd0a06d94736f4e5e09eb7d
2017-04-02 20:03:11 +01:00
Alexander Phinikarides
fc5ab9c2e5 Fix APNs for Cyprus
Change-Id: I71ca194aa95d6f43be2dc277b5ccfdff0e188afd
2017-03-29 19:51:17 +00:00
Dan Pasanen
7dc287f4b9 extract_utils: support extracting directly from an ota zip
* Specify the ota zip name as the only parameter to extract-files.sh
  * Will extract to $CM_ROOT/system_dump
  * Bail out on A/B OTA zips. We cannot support these.
  * Handles block based OTA zips by using sdat2img.py
  * Store the zip's MD5 and check if its already extracted. If so, don't
    bother extracting again

Change-Id: I03038e38dac51e6cb60d493c7e6362754d1daf02
2017-03-27 08:46:48 -05:00
Joey Rizzoli
0277543ee1 cm: remove special access to unused cmfm
An user-installed app with the cmfm package name could take advantage of this

Change-Id: I707df3043b9cd73cefcdea4ad0a28632f78089be
Signed-off-by: Joey Rizzoli <joey@lineageos.org>
2017-03-26 14:02:13 +02:00
Joey Rizzoli
d5b520fd95 cm: allow apps to find profile manager service
avc:  denied  { find } for service=profile pid=7970 uid=10086 scontext=u:r:untrusted_app:s0:c512,c768
    tcontext=u:object_r:cm_profile_service:s0 tclass=service_manager permissive=1
java.lang.RuntimeException: Unable to start activity ComponentInfo{foo.bar/foo.bar.Activity}: java.lang.SecurityException:
    You do not have permissions to change the Profile Manager.: Neither user 10086 nor current process has cyanogenmod.permission.MODIFY_PROFILES.

Ticket: BUGBASH-174

Change-Id: If8706177bf6eef8d5e4c73da4f00cc053987d1ed
Signed-off-by: Joey Rizzoli <joey@lineageos.org>
2017-03-25 22:44:52 +00:00
LuK1337
ad5d9a0ff0 cm: build: Don't convert patchset to int if it's None
* donuts *

Change-Id: I65bfb1741481b01874f21d83b5a43b0902b7d8ea
2017-03-24 23:25:44 +01:00
LuK1337
2756418873 cm: build: Fix cherry picking specific patchsets
Change-Id: I396a1218f141a1ff4cb45252cc01a1487c2afd31
2017-03-24 21:49:55 +00:00
Sean hoyt
fc9a4c5793 Make a data only config
Change-Id: I99d60de61384aa413f64fbd60842c42ee1a169af
2017-03-24 19:59:47 +00:00
Michael W
12ee4592b9 APN: Fix TalkTalk
* https://help2.talktalk.co.uk/manually-entering-mobile-phone-settings

BUGBASH-265

Change-Id: Ie52976ff9df0e755ceebcee9260140e32b56f274
2017-03-24 19:58:32 +00:00
Michael Stucki
84582dd5c5 apns: Update Swiss APNs
* Remove duplicates
* Rename Orange to Salt

Change-Id: Ia2fc82d119e202da5d31383d340ad3ccae48c0ec
2017-03-22 23:32:28 +00:00
isimobile
024efe791d apn: Updating TelkomSA from 8ta South Africa APN
8ta has been rebranded to TelkomSA

Change-Id: I678099a2148cdc3ad773c3b1d93b9fa7bb417eff
2017-03-19 16:53:15 +02:00
Dan Pasanen
d4ee2f6d04 repopick: encode commit subjects in utf-8 for printing
* Fixes errors like UnicodeEncodeError: 'ascii' codec can't encode
  character u'\xb0' in position 51: ordinal not in range(128) with weird
  characters in a commit message

Change-Id: I700198481630b4b29fd6d5d1f0c79bb94e59ad86
2017-03-16 20:30:41 +00:00
Dan Pasanen
bfaafb5e2a cm: build custom tiles app
Change-Id: I861bccafe2a520d9061d1f636aac485db21cfb95
2017-03-16 18:06:31 +00:00
Gabriele M
02cf7d8d49 overlay: Disable recovery updates
Our recovery is not ready, so disable the preference for now.

Change-Id: I406deb4c53836da4c4c6f44933154804ece1d1a7
2017-03-16 13:27:36 +00:00
Tommaso Fonda
3f0cb9b94d apns: Remove proxy for the "TIM WAP" APN
The proxy prevents mobile data from working
(e.g. loading a webpage results in ERR_EMPTY_RESPONSE).

On all the mobile phones I've inserted the SIM in,
when the APN's are obtained automatically
this parameter is not set to any value.

Also remove unnecessary parameters and correct authentication type.

Change-Id: I16592de4555fb8ab3fe502b3b39779720c344afb
2017-03-15 15:26:41 +00:00
Aaron Kling
99c8456e75 Add TvSettings to common tv config.
This is required for all ATV builds. SUW will crash looking up the
wifi activity is it isn't installed.

Change-Id: Iccc982f46963024c065ac0b7c578ad60eb4d7d7a
2017-03-12 22:52:47 -05:00
Christopher R. Palmer
070fcfc612 vendor: Add templates for proprietary extraction scripts
Change-Id: I1be5d0f4cd103cf159de4f6323e2994f0df28b37
2017-03-11 11:11:15 +00:00
Paul Keith
85cf0bb8c6 extract_utils: Fix locale issue with sort
* On some machines, LC_ALL=C is set, causing the sort
  order of makefiles to be different than those without
  this locale change that is set
* Set LC_ALL=C on all machines for consistent ordering
* From 'man sort':
  The locale specified by the environment affects sort order.
  Set LC_ALL=C to get the traditional sort order that uses native byte values.
* Thanks to haggertk and rashed for verifying this for me

Change-Id: I5bbb94b0dfe599a67036de4312e8af913e9b8d30
Signed-off-by: Paul Keith <javelinanddart@aidenswann.com>
2017-03-08 15:03:51 -06:00
Rashed Abdel-Tawab
cf65ecf8e6
qcom: Automatically set TARGET_USES_COLOR_METADATA for msm8996/8
Change-Id: I47d71f6f9f5f5c656b89b0ae9f4ec6ec2ff30915
2017-03-07 19:51:36 -05:00
RGIB
34848ea061 vendor_cm : update Fastweb apn
Change-Id: I2b84585fd560dd01cf7b5a857744c681e484dec5
2017-03-07 08:42:11 +00:00
Gabriele M
17da6a348b apns: Add Perfectum
Change-Id: I6ec779888cbce53c9e965605f809f56301611f63
2017-03-05 21:40:45 +00:00
Zhao Wei Liew
311fd6f991 cm: build: tasks: Remove BUILD_TINY_ANDROID check
This flag has been obsolete for a while now.

Change-Id: Ib78a1b141ddd757d2546b2eff2158e6e0cc0d673
2017-03-05 19:22:52 +08:00
Christopher R. Palmer
052d9d9384 extract-utils: Fix handling of pulling src:dest pairs from dumps
Currently, the priority of the src and dest is inverted between
pulling from adb and pulling from a system dump.

Assume that we have a camera wrapper and write the proprietary-files.txt

lib/hw/camera.msm8996.so:lib/hw/camera.vendor.msm8996.so

If we pull from a phone running Lineage that has both files, we get

camera.vendor.msm8996.so

as the pulled blob.  If we take the exact same build and pull it
from the system dump (aka, your own $OUT directory that built the
installed software) you get

camera.msm8996.so

pull instead!

Make both paths follow the same logic so that you get the same
file independent of the source.

Change-Id: I479e0ae765339cc38fa05fcaad7943c528129463
2017-03-04 05:16:28 -05:00
Bruno Martins
9847337afa Drop obsolete contributors list
* Replaced by http://wiki.lineageos.org/contributors.html.

Change-Id: I524a562bc3ec18625e68f06c4978fb524b87a569
2017-03-01 10:33:56 +00:00
Gabriele M
29259fa60c Disable quick pulldown by default
With Android N this feature became less relevant since a subset of
the toggles is available without fully expanding the notification
panel. This gives better access to the notifications with almost no
functionality loss.

Change-Id: Idb66472b77e60f4ae753c5dd00f6588566cc3c63
2017-02-28 04:36:44 +00:00
Dan Pasanen
7776e06db7 vendor: remove old apns symlink
* This is old and if anyone's still using it, its time to stop

Change-Id: I89bf175f7f45bcc3cbd5f882528e0f7ec6cf49e4
2017-02-27 17:27:17 +00:00
Gabriele M
0e2d72ecc7 backuptool: Preserve the SELinux context of the files
Add a function that allows to copy files preserving their SELinux
context that is generic enough to work with both busybox and toybox.

Change-Id: If2c245863df5675c18dbf43b6bcedeb33383fc38
2017-02-27 17:20:28 +01:00
Gabriele M
556246b27b backuptool: Don't rely on the order of the elements in the list
We should not test symlinks using -e or -f, otherwise the order in
which the files are backed up and restored matters.

Change-Id: I9b87972b27a63ef562c0c5f46f943eafd0a08ce1
2017-02-26 21:07:13 +00:00
Gabriele M
2aad96bf6e backuptool: Preserve symlinks
Without -d, we copy the file sysmlinked rather than the symlink.

Change-Id: Ie0fdd43f29e53334464188c846dd7a3b7bb770cc
2017-02-26 11:40:10 +01:00
Tom Powell
aefc461a94 Use releasekey instead of platform for extra recovery keys
Change-Id: I4beb623477b91d1ce193769e37e6fd802148ef07
2017-02-24 01:25:38 +00:00
Paul Keith
5170f46847 cm: Remove HexoLibre
* This is wasting space and is totally unused

Change-Id: I85115e979f4ff593df9a0c3a3ceb104b55bafe06
Signed-off-by: Paul Keith <javelinanddart@aidenswann.com>
2017-02-23 18:50:12 +00:00
frk
f85ec8a22e build: Pass path into grep instead of using cat
grep should be given the filename directly instead of using cat
to pass the file contents.

Change-Id: Ic5275ac0f057f3d134fe57f43672a73fa7e3d7de
Signed-off-by: frk <frk@haze-productions.com>
2017-02-23 18:49:38 +00:00
Dan Pasanen
b4e8aaeb00 overlay: enable productivity_device for DocumentsUI
Change-Id: I58928bfb714c9a5a47a0640f0867b3968efce7e4
2017-02-23 18:11:43 +00:00
Matt Mower
55a3794773 cm: Do not build CMFileManager
Until CMFileManager is revamped or a suitable replacement is written, do
not include it in general builds. Basic storage activities can still be
completed with Android's built-in storage management:

1) Use the Downloads launcher
2) Settings > Storage (select volume) > Explore

Change-Id: Ic9c4eb2d0347332c4631d55c480b87cbc131116c
2017-02-23 18:11:39 +00:00
Dan Pasanen
a86b1c0080 vendor: support more text types
* Pull in all text/* types that CMFM supported with the exception
  of those already supported

Change-Id: I0221dbc52eb0299e8acc4ca37390131f60593b34
2017-02-22 09:05:11 -06:00
ElDainosor
08eb71e86a apn: Updating Movistar Argentina APN
This change updates the APN settings, removing the proxy and the port. 
  This, according to movistar itself, makes the connection slower and 
  will be shut down soon.

More info on their forum: 
https://foro.movistar.com.ar/threads/43044-NOVEDAD-Apagado-de-Proxy

Change-Id: I705e6ed2237503ee67c7371bf3595b461dfbbd9c
2017-02-19 21:11:08 +00:00
cretin45
7674e0521a CyanogenSetupWizard > LineageSetupWizard
Change-Id: I71a5ab3aff11963c5c6119197d644fa468b3c728
2017-02-14 13:35:55 -06:00
Shane Passmore
ad61cacebb cm: config: dont build CMWallpapers
Change-Id: I3dd61996cb685e5d383df3d975d5a1cedc257534
2017-02-12 18:08:20 -06:00
Zhao Wei Liew
d0850b3294 cm: bootanimation: Fail the build if mogrify is absent
We're no longer using convert, but mogrify.

Change-Id: Ifd58527b49e5548dd94b35a8cf0ffa4ad5196804
2017-02-10 22:03:31 +00:00