Commit Graph

2889 Commits

Author SHA1 Message Date
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
Keith Mok 6bc84be525 sepolicy: Add permission for formatting user/cache partition
If the "formattable" fstab flag is set, init will tries
to format that partition, added the required policy to allow it.

Change-Id: I858b06aa3ff3ce775cf7676b09b9960f2558f7f6
2015-12-16 10:41:51 -08:00
Keith Mok fcfc13ac6f sepolicy: Add domain for mkfs binaries
The init binary must transition to another domain when calling out to
executables. Create the mkfs domain for mkfs.f2fs such that init can
transition to it when formatting userdata/cache partitions if the
"formattable" flag is set.

Change-Id: I1046782386d171a59b1a3c5441ed265dc0824977
2015-12-16 10:40:28 -08:00
Abhisek Devkota aa40255d77 Remove CMAccount
These servers are being retired. Use C-Apps (Cyanogen Acct),
Android Device Manager, or one of the many other services
that are capable of performing these tasks.

Change-Id: Ifc20768f24d3a5f9a7510b98c5e7d563fc703382
2015-12-15 12:19:29 -08:00
Simon Shields 7f67b4e940 sysinit: use a for loop instead of run-parts
Change-Id: Ifdff2c72ff4f77ff5ceb14cc9614174024b04d1a
2015-12-12 19:53:37 +11:00
Abhisek Devkota 967c5036d6 Fix Digi Mobile defaults
RM-165

Change-Id: Iaa701046ea24799b1c7b303ce258332eaeffbbd8
(cherry picked from commit b4b8759454556b440432d5ce8415db5f65456662)
2015-12-10 10:13:17 -08:00
Wolfgang Wiedmeyer d02579012a verify signatures of downloads from the f-droid repo
add prebuilt dir to gitignore

Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2015-12-06 16:28:05 +01:00
Roman Birg 8470084dbd apns: update for IMS
These come from the Angler device tree.

Change-Id: I7abf4773a57502f29ce9f7938584b7881a7f5a90
Signed-off-by: Roman Birg <roman@cyngn.com>
2015-12-05 16:17:30 -08:00
Christopher N. Hesse 4e5add7dcd cm: Update maintainers
Change-Id: I59ee11b1454f9901242a01ab7c6eb4a6dd4314e0
2015-12-05 01:15:50 -08:00