Commit Graph

2597 Commits

Author SHA1 Message Date
Wolfgang Wiedmeyer
5b2d5516ff
Merge branch 'cm-13.0' of https://github.com/CyanogenMod/android_vendor_cm into replicant-6.0
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>

Conflicts:
	overlay/common/frameworks/base/core/res/res/drawable-nodpi/default_wallpaper.jpg
	overlay/common/frameworks/base/core/res/res/drawable-sw600dp-nodpi/default_wallpaper.jpg
	overlay/common/frameworks/base/core/res/res/drawable-sw720dp-nodpi/default_wallpaper.jpg
	overlay/common/frameworks/base/core/res/res/drawable-xhdpi/default_wallpaper.jpg
2016-02-03 12:23:07 +01:00
Michael Bestas
34b5b9756c cm: Add live lockscreen feature
Change-Id: I62e5229c9688619c2f7809f001d761b4bdf13a10
2016-02-02 12:23:43 -08:00
Matt Mower
144291005d apns: Cricket AIO 310150: Remove duplicate
Change-Id: I7f68a8bb531e02fe74971565a425327e79a70604
2016-02-01 09:10:28 -08:00
Matt Mower
92a49a949d apns: T-Mobile 310260: Compatibility update
* Allow both IPv4 and IPv6 protocols for data and mms
* Provide an apn name for the initial attach profile

With respect to initial attach, it seems at least the qcom ril blobs
on my device require the apn field to be set. The following error is
produced and data will not connect on boot unless radio resets (e.g.
airplane mode toggle) so that the default APN is used.

E RILQ    : (0/231): RIL[0][cmd-111(680)] qcril_data_request_set_lte_attach_profile: ril_apn (provided NULL) is mandatory param for looking up profile.
E RILQ    : (0/231): RIL[0][cmd-111(680)] qcril_data_request_set_lte_attach_profile: EXIT with FAILURE
E RILQ    : (0/231): RIL[0][cmd-111(680)] qcril_qmi_nas_set_initial_attach_apn: Data RIL call for Attach APN failed with Error code 2

Change-Id: Ie983474780a7443c870911994234ea2f2025de12
2016-01-29 20:44:14 -06:00
Wolfgang Wiedmeyer
46b133c041
toolchain: add jack/jill build
remove patch, commit is now included in prebuilt ndk

Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2016-01-29 01:22:01 +01:00
Pat Erley
db4fb0ee6b recovery: Add new rules for recursive wipe
We now use a temporary context when mounting /data, so add permissions
to do that, and add permissions necessary to do the recursive wipe.

Change-Id: Ic925c70f1cf01c8b19a6ac48a9468d6eb9205321
2016-01-28 15:20:51 -08:00
Jason Riordan
86020c9066 Add Zenfone 2 maintainers, update a few others
Change-Id: I35499bc5bdbdd11ddcb37d6715b5b3f9c7f5d637
2016-01-25 08:15:05 -08:00
Brinly Taylor
0921d1f11f vendor: cm: Update maintainers.
AdrianDC also in the crew now while Marcelo doesn't have the device anymore.

This patch was requested by AdrianDC.

Change-Id: I57a27655537d96c7f5dc33f33d8e7d7e3982d6db
2016-01-25 08:12:13 -08:00
Jani Lusikka
8c780755f2 Grant platform apps access to /mnt/media_rw with sdcard_posix label
Also allow apps to read the contents of mounted OBBs.

See AOSP Change-Id: I66df236eade3ca25a10749dd43d173ff4628cfad
and Change-Id: I49b722b24c1c7d9ab084ebee7c1e349d8d660ffa

Change-Id: I757a2a8831c69d41c0496025a39eaf79ceb0e65f
2016-01-24 14:39:42 -08:00
Dave Kover
580bc0afa2 Add new default wallpaper for CM13
Some cotton candy to go with that serving of Marshmallow.

Change-Id: Ia98397a63aa2157421c777036e997b600374cf9a
Ticket: CYNGNOS-1494
2016-01-19 17:37:32 -08:00
Adnan Begovic
67f9e7adaa vendor/cm: Bump cmsdk platform version.
Change-Id: I5f460fd94e9e85003d6d7dac58c42d5d3d31a742
2016-01-18 11:27:05 -08:00
herriojr
f0a6f1ec8b Fixed mmm For Maven APK
Maven APK (Why are these in maven anyways?) will crash due to it not
needing to generate a jack file.  This wasn't noticed before as brunch
succeeded, however, doing an mmm on one will cause this to fail. This
adds in logic to not generate a jack file for an apk in maven.

Change-Id: I44036bfd51ae3edd9437b153898b419ffc6ba2d6
2016-01-18 10:32:36 -08:00
myfluxi
fc52e707e8 cm: Update maintainers
Change-Id: Ibe69fe6730a2f34c44bd7df5892dd25adb90e4f3
2016-01-18 09:01:58 -08:00
herriojr
04864b10aa Fixed Maven Artifactory to work with jack
Prebuilts weren't generating their .jack file when doing an mm or mmm
but would work with a brunch or full make.  This makes it so mmm/mm
will properly generate it.

Change-Id: If5ccd1b557ef124b3c57fa09b172ec11caff886e
2016-01-15 16:58:02 -08:00
Wolfgang Wiedmeyer
242966e407 build-toolchain: add notes about needed packages
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2016-01-15 17:59:27 +01:00
Wolfgang Wiedmeyer
6d69e550e5 extend toolchain script: build gcc toolchains
add patch for prebuilt/ndk

Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2016-01-15 00:25:35 +01:00
Wolfgang Wiedmeyer
cd55ab2858 Merge branch 'cm-13.0' of https://github.com/CyanogenMod/android_vendor_cm into replicant-6.0-toolchain 2016-01-14 15:27:42 +01:00
Michael Gernoth
356bb56442 APN: Remove wrong T-Mobile CZ and Vodafone CZ APNs
There are two T-Mobile CZ APNs which specify the MMS proxy as http
proxy (which doesn't work). Get rid of them, there are correct APNs
available. Also remove duplicate IMS and wrong MMS APN.

Remove two wrong and one deprecated Vodafone CZ APNs. The separate
'ointernet' APN for prepaid cards has been deprecated since 2010.

Change-Id: Idf8e7c8df7bb843cdfafe7dbce710d09aa47eda1
2016-01-13 23:24:19 +01:00
HashBang
6f6e11f0ae fix cricket APN
reported to fix MMS on cricket

https://www.cricketwireless.com/support/apps-and-services/bring-your-own-device-byod/customer/bring-your-own-android.html

Change-Id: Ib5127f4bf4478a040ee5662071a0e81b6c1086ef
2016-01-13 08:17:57 -08:00
myfluxi
e8df21c962 sepolicy: Add perfprofd with set_prop macro
Addresses:
avc: denied { write }
for pid=293 comm="perfprofd" name="property_service" dev="tmpfs" ino=9229 scontext=u:r:perfprofd:s0 tcontext=u:object_r:property_socket:s0 tclass=sock_file permissive=0

Change-Id: I5a88722eda4d0751fd9a081c434d385ac1c785ef
2016-01-12 17:21:32 -08:00
Luca Stefani
bd3d22e354 init: Create directories needed by sshd
Change-Id: I672bd86f2ce359653fe1c2abc036a0fdc918ace1
2016-01-09 07:00:14 -08:00
Deepak Kundra
74d7c57a79 Update IMS APN based on Smartfren Device Technical document-v1 2
Change-Id: Iea131e28fbace6e8d848f606ef796a91afa6813d
Issue-id:RENDANG-525
2016-01-08 17:26:01 -08:00
Wolfgang Wiedmeyer
550a88b501 update TODO for build-toolchain
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2016-01-08 18:59:19 +01:00
Francis Guevarra
c7469c6008 APN: Add Smartfren IMS for Volte support
RENDANG-525

Change-Id: Idcfb6e2577ec80cb160b049451f5ffdc6992ea57
2016-01-07 12:38:53 -08:00
Wolfgang Wiedmeyer
e2e1a2c2e2 just some notes about the toolchain
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2016-01-07 18:47:35 +01:00
Khalid Zubair
311a862e9d cm: add lib7z to product packages
Add dependency for lib7z

Change-Id: Ic597456601e052dfe5413651de76d5a9880df786
2016-01-06 17:42:23 -08:00
Gabriele M
7ea45800c1 APN: Fixup Vodafone IT and remove Noverca
Noverca is out of business, so the APN is unneeded. Vodafone IT
has duplicate entries and the type of APN associated to web.omnitel.it
is wrong, so fix it.

Change-Id: I4ddc0dbc13d44f8dc8ef2bc307496155230e720c
2016-01-06 23:26:01 +01:00
Gabriele M
af7dd24948 APN: Update TIM MVNOs
'COOPVOCE' is the same as 'WEB COOP', except for mvno_type and
mvno_match_data, so get rid of it.

'Unefon' uses the exact same APN of 'Iusacell', so duplicate the
entries and assign the right mvno_type and mvno_match_data.

Change-Id: Ibae12b3c179528ccd115849929995c79fa91ed0f
2016-01-06 10:45:56 -08:00
Wolfgang Wiedmeyer
ed5cdba81f add script to build the toolchain
This is just an initial version.
It builds clang without fancy options for now.

Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2016-01-06 12:55:23 +01:00
Adnan Begovic
d2bc6c2b69 cm: Fixup maven artifact publish inclusions.
TICKET: CYNGNOS-1529
Change-Id: Ie7307d43f0b38b179ae42b7c54a790bb7e4c5ea5
2016-01-05 20:12:23 -08:00
Adnan Begovic
4198cf685f cm: Modify maven artifact publish makefile.
Now allows you to specify a target module to be
  compiled prior to publish via LOCAL_MAVEN_TARGET_MODULE.

  This utilizes the definition for intermediates-dir-for on
  the target module after it sets an explicit dependency from
  remote to local module.

Change-Id: I65b5e07fdcc3368e350b1935ccca381b74dce59e
2016-01-05 17:36:46 -08:00
Tom Marshall
139e798bf9 otasigcheck: Avoid long lines in XML
Shells based on busybox, such as found in CM 12.1 recovery and TWRP, do not
properly handle pattern based parameter expansion for variables longer than
4kb.  This throws our naive little XML parser into an infinite loop.  Since
all such lines are associated with external app certs, just skip them.

Change-Id: I203b65c1ffd62bf3261b3ae315327314a5006952
2016-01-04 10:26:54 -08:00
Wolfgang Wiedmeyer
920cc2e9a7 Only build superuser if it is not a user build. Do not allow adb root access by default
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2016-01-02 18:21:06 +01:00
Wolfgang Wiedmeyer
a746591c4e Merge branch 'cm-13.0' of https://github.com/CyanogenMod/android_vendor_cm into replicant-6.0 2016-01-02 14:12:03 +01:00
Matt Mower
511152cd2c sepolicy: Allow minivold execute_no_trans
After assimilating minivold into /sbin/recovery, we need to allow the
minivold service (a symlink to the recovery binary) to transition from
the recovery to the vold domain.

Change-Id: I112e6d371a8da8fc55a06967852c869105190616
2016-01-02 02:07:18 -08:00
codeworkx
14e765cd71 cm: sepolicy: fix denials for external storage
Change-Id: I784a859671c69370cab0118a88a5fb0190352af9
2016-01-01 17:30:27 +01:00
Wolfgang Wiedmeyer
9e1fd3a744 add updated sofwaregl overlay for Trebuchet workspace layout
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2015-12-30 22:48:19 +01:00
Wolfgang Wiedmeyer
c4a6948aca Merge remote-tracking branch 'cyanogenmod/cm-13.0' into replicant-6.0 2015-12-29 23:09:22 +01:00
codeworkx
053b1805da sepolicy: label exfat and ntfs mkfs executables
Change-Id: Ic5e32818bc54993f4e8c2377cbec64f9444f6d8a
2015-12-29 21:51:32 +01:00
Wolfgang Wiedmeyer
a7da2325ef Merge remote-tracking branch 'cyanogenmod/cm-13.0' into replicant-6.0 2015-12-26 09:22:30 +01:00
Wolfgang Wiedmeyer
11f5c8f513 remove Cyanogen's setup wizard and install non-market apps by default
Setup wizard asks for wifi password, location sharing and if you want share usage data with CyanogenMod. Only the locale setting would be needed by Replicant. Either it has to be switched to a general setup wizard or this one has to be customized heavily (also the graphics need to be replaced with Replicant ones)

It seems that F-Droid needs this setting enabled again on Android 6

Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2015-12-26 09:20:25 +01:00
Adnan Begovic
39ba595215 cm: Publish system api as part of publish process.
Change-Id: Iba8b2fbc43dfd7592d7526b03ce6e1338ea095d0
2015-12-23 12:38:15 -08:00
Wolfgang Wiedmeyer
71ccf3f90e switch to simpler naming scheme for Replicant
add SoftwareGl settings
always build Superuser

Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2015-12-21 15:49:06 +01:00
Wolfgang Wiedmeyer
e616dce0a7 Merge remote-tracking branch 'cyanogenmod/cm-13.0' into replicant-6.0 2015-12-21 14:07:49 +01:00
Scott Mertz
33cff384df cm: add Screencast by default
Change-Id: Ice8dd9ca28bfd0d3a8e7917ef87edb00b899ab93
2015-12-20 21:42:48 -08:00
dhacker29
076a1ea54a sepolicy: Set the context for fsck.exfat/ntfs to fsck_exec
This matches the policy for fsck.f2fs, although it still needs to run
as fsck_untrusted for public volumes

Change-Id: Ia04e7f8902e53a9926a87f0c99e603611cc39c5d
2015-12-17 15:43:00 -08:00
Wolfgang Wiedmeyer
f55a720155 Merge remote-tracking branch 'cyanogenmod/cm-13.0' into replicant-6.0
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>

Conflicts:
	config/common.mk
2015-12-17 21:10:59 +01:00
Wolfgang Wiedmeyer
71a01dce17 Merge remote-tracking branch 'github/cm-13.0' into replicant-6.0
remove prebuilt terminal (built-in terminal app can be activated in dev settings)

Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>

Conflicts:
	CHANGELOG.mkdn
	CONTRIBUTORS.mkdn
	config/cdma.mk
	config/cm_audio.mk
	config/common.mk
	config/common_full.mk
	config/common_full_phone.mk
	config/gsm.mk
	config/themes_common.mk
	get-prebuilts
	overlay/common/frameworks/base/core/res/res/drawable-nodpi/default_wallpaper.jpg
	overlay/common/frameworks/base/core/res/res/drawable-sw600dp-nodpi/default_wallpaper.jpg
	overlay/common/frameworks/base/core/res/res/drawable-sw720dp-nodpi/default_wallpaper.jpg
	overlay/common/frameworks/base/core/res/res/drawable-xhdpi/default_wallpaper.jpg
	overlay/common/frameworks/base/core/res/res/values/config.xml
	overlay/common/frameworks/base/packages/SettingsProvider/res/values/defaults.xml
	prebuilt/common/bootanimation/1080.zip
	prebuilt/common/bootanimation/1200.zip
	prebuilt/common/bootanimation/240.zip
	prebuilt/common/bootanimation/320.zip
	prebuilt/common/bootanimation/360.zip
	prebuilt/common/bootanimation/480.zip
	prebuilt/common/bootanimation/540.zip
	prebuilt/common/bootanimation/600.zip
	prebuilt/common/bootanimation/720.zip
	prebuilt/common/bootanimation/768.zip
	prebuilt/common/bootanimation/800.zip
	prebuilt/common/etc/apns-conf.xml
	sepolicy/mac_permissions.xml
	sepolicy/sepolicy.mk
	vendorsetup.sh

Change-Id: I4fc2a5b00721cae8b3a36f33c36f006142bad44f
2015-12-17 18:24:03 +01:00
Tom Marshall
322cc5ae59 otasigcheck: Rewrite for CM 13.0
Rewrite the packages.xml parser to be slightly less brittle.  Read
lines from packages.xml and save off the interesting values, then
compare with expected results afterward.

This both avoids using grep's -A option, which is not supported in
toybox, and allows the script to recognize the cert tag regardless
of its position inside the package tag.

Change-Id: Idc0006e38f4a3f9d5aec223a8a1571f5c11fe3bb
2015-12-16 15:39:30 -08:00
Ethan Chen
909343f3df SELinux: Use custom ADB over network property
* Use a custom system property to trigger the real one, so we avoid
  running afoul of any SELinux CTS requirements.

Change-Id: If5e7a275f492631a673284408f1e430a12358380
2015-12-16 11:01:50 -08:00