Commit Graph

2860 Commits

Author SHA1 Message Date
Steve Kondik
48f8df8ddb extract-utils: Add pinning support
* In many cases, we would like to keep certain files which do not
   exactly match what might be extracted from a factory ROM. This
   becomes extremely annoying over time to manually reconstruct,
   and it's easy to miss these special cases when updating to a
   new vendor release. It's also useful to flag additions which
   aren't found in the upstream release at all.
 * To solve this, we can now "pin" files to a specific sha1 hash.
   Simply append the sha1sum of the file to the appropriate line
   in your bloblist, prepended by a | delimiter.
 * This works by backing up the current files first, running the
   extraction, then checking if any pinned files need to be
   restored.
 * Also add an exit trap to clean up all of our tempfiles

Change-Id: I2010b5175b5701e19a3efb112e8907062ca37d66
2016-08-14 14:10:53 -07:00
Luis Vidal
049d4c52be config: Add WeatherManagerService to PRODUCT_PACKAGES
Change-Id: Ic6d18ebeec31d17104a4093f5da1f956417e345b
2016-08-13 01:34:17 -07:00
Steve Kondik
31125bccef cm: Build HexoLibre as part of common_full
Change-Id: I9af13beb525d118b48b5ca163760e14bd51c3a8a
2016-08-11 16:00:37 -07:00
Ziyan
0e9838ede5 contributors: update Galaxy Nexus maintainers
Change-Id: I65c0efbfe4f8ff5a5f7db9e874d7ae011790ae61
2016-08-10 09:06:13 -07:00
Adrian DC
8e9bf1ce59 cm: Update Xperia Blue contributor
* Update Xperia T (mint) and Xperia V (tsubasa)
 * Add Xperia TX (hayabusa)

Change-Id: I14c7ac1ffa29cbf477eb626fe2651dfee3a45de0
2016-08-10 08:48:36 -07:00
Steve Kondik
eac861613e sepolicy: Move new QCOM-specific policy to the right place
* Don't wanna break the build for anyone again :(  The
   native stuff is very QCOM specific and won't work elsewhere.

Change-Id: Id5dbba1a46dc12cbd5914cf3072ed92a72039b31
2016-08-09 00:07:19 -07:00
Steve Kondik
dfcd472673 sepolicy: Additional policy for LiveDisplay
* LiveDisplay needs to store the user-selected default mode somewhere
   in the case where we are mixing local sysfs-style modes with QDCM
   modes. Add a rule for this.

Change-Id: I42b80df7c0ee3c2815594c8a6feea3dc078c6ae2
2016-08-07 12:05:32 -07:00
Scott Mertz
a995059030 Allow maintenance versions to be ignored
CyanogenMod builds shouldn't show maintenance versions.  Allow the
environment to override this behavior instead

Change-Id: I77c924a13122c8e1d9af14501e46bc532f7aefbd
2016-08-05 12:26:54 -07:00
Louis Popi
a516c2f0ac cm: extract_utils: Add a firmware extraction method
Change-Id: If14f6932cbdccf45ca0cc91c403e951363e91260
2016-08-05 08:31:55 +01:00
Luca Stefani
3a03012242 cm: extract_utils: Fixup xml files
Change-Id: Icb8efcca0e6e37a3ea7432716fcbfbd631d96c19
2016-08-05 00:01:45 -07:00
Luca Stefani
7f9fff2317 cm: extract_utils: Implement oat2dex
* Shipping baksmali and smali (version 2.1.3) in vendor/cm
   (Official sources: https://github.com/JesusFreke/smali)

Change-Id: Iaca6337fa2d4b5f2d6654ef5142ec0313af63f5a
2016-08-05 00:00:52 -07:00
Adrian DC
463feb6005 cm: sepolicy: Fix the vold blkid.tab denial from recovery
* denied  { link } for  pid=190 comm="minivold"
    name="vold_blkid.tab" dev="tmpfs" scontext=u:r:vold:s0
    tcontext=u:object_r:vold_tmpfs:s0 tclass=file

Change-Id: I0b3e47dd00c5a32261691f51838a8d9af9778faa
2016-08-05 00:00:03 -07:00
vm03
ce489f178c
Add LG msm8226 family maintainers
Change-Id: Ibc71e03c23aa13dc8a2dc34258d0fa315d510c12
2016-08-04 13:48:47 +03:00
vm03
fea2dc9ae8
Add Asus Z380KL maintainer
Change-Id: I7604a82028dfcfbcd040b2a19056992185d93f8b
2016-08-04 13:47:05 +03:00
Jessica Wagantall
79204e6a99 version: Set version string to 13.0.1 to reflect security update
CYNGNOS-3177
Update security patch for 2016-08-01

Change-Id: Iaa1d8d9efef067030b0d37803381827d2a4ac0c8
2016-08-03 15:53:29 -07:00
DodoGTA GT
19b67c6cfc Tele2 (LT) APN updates
Tested and working

Change-Id: I88b9a64bb665ab502ab9bbeb3bd99cfc5e3a928d
2016-08-03 03:43:05 -07:00
d34d
851457aedb config: Add ThemeManagerService to PRODUCT_PACKAGES
Change-Id: I8f858b3932ffd557cd752918fbb059caf3770a42
2016-08-02 12:15:46 -07:00
d34d
79eda9ebb8 sepolicy: Put theme service in its own context
Allow the theme manager and its data to be sandboxed in
its own context

Change-Id: I7898663d1c196bfe04fa4c539d20191a43fde284
2016-08-02 12:15:34 -07:00
TheStrix
7f81f3ce33 cm: Update contributors
* Add kenzo maintainer
* Update klte, jf and flo maintainers and contributors

Change-Id: I9e588bbce614809a6056d8884f81e92cdc129249
2016-08-01 08:54:20 -07:00
Steve Kondik
cd726ac1db sepolicy: More IOP rules
Change-Id: I6d6cfd7202c94135344eb718e0c6ac5347a0ece7
2016-08-01 02:08:38 -07:00
dianlujitao
5b6ff16746 sepolicy: Fix MTP for sdcardfs
Change-Id: I8fe011140798925ee5b5926355868febd595a788
2016-07-29 21:25:15 -07:00
Abhisek Devkota
fdd1ffcc19 Gello artifact: v29
Change-Id: I5466ef563b337efb9147a08b5c253454d1263e29
2016-07-29 13:02:12 -07:00
Christopher N. Hesse
fb00ca6f88 Add missing OnePlus Two contributors
Change-Id: Ia3c9f5b61869951b7401c46b26fca1e8b3b6f151
2016-07-29 12:14:59 -07:00
Steve Kondik
fa37074c9f sepolicy: Let the IO prefetcher look at sdcardfs
Change-Id: Ie618887fbf292c702df720f04840ab3c8ff222f7
2016-07-29 04:24:05 -07:00
Steve Kondik
03ce400352 Revert "extract_utils: Don't write multilib tags on 32-bit only devices"
* Not gonna work without preparsing all the lists combined together.

This reverts commit b7b7f88443.

Change-Id: I63ceead414d7f8416e2c2c8e4b12098077b545e2
2016-07-29 04:24:05 -07:00
Luca Stefani
630d7ed01f cm: sepolicy: Allow system_server dir read access
Change-Id: Ia6fc26781c1cb576c2feee3e941d7206e7878bb5
2016-07-28 20:21:24 -07:00
Bruno Martins
3b96ba5841 cm: extract_utils: Rewrite file existence checks
Change-Id: I7c1584ec7162e0e18fae471e6aceef6123a5d10b
2016-07-28 16:24:28 -07:00
Steve Kondik
b7b7f88443 extract_utils: Don't write multilib tags on 32-bit only devices
Change-Id: I41b6f71c45a566ba1b4dd5cb72c4ebf44388b363
2016-07-28 16:12:19 -07:00
Steve Kondik
a991cf1f9b extract_utils: Add support for files in rootfs
* A final "rootfs" tag in the last column will place
   the chosen file into the ramdisk
 * Currently only supports files in /sbin
 * Cleaned up usage of class-specific flags
 * Simplified code

Change-Id: Id823d70aab51f8767522f697eaf65f52fc64b94b
2016-07-28 16:12:19 -07:00
Steve Kondik
441752f996 sepolicy: Allow media_rw write to fix camcorder denials
Change-Id: Icc892d8b2c34950431564738b66d8e8baefc62be
2016-07-27 23:58:08 -07:00
Marcos Marado
73709d3ffb Add missing truphone APNs
Issue: CMM-42
Change-Id: I31a1f2774b9de8278ec67810ca55503800cc8a06
2016-07-27 03:05:28 -07:00
Steve Kondik
6905134e76 sepolicy: Revert custom sdcardfs policy in favor of AOSP
* Upstream policy showed up in AOSP this morning. Dropping
   ours in favor of AOSP.

Revert "sepolicy: A few more denials"

This reverts commit 522c421f66.

Revert "sepolicy: More policy for sdcardfs"

This reverts commit 4a24ffeb6a.

Revert "sepolicy: Add sdcardfs support"

This reverts commit ba87877dd0.

Change-Id: I4f066b9bd5d8c899137fcaa12999f2547f9e0ec0
2016-07-26 18:43:41 -07:00
Steve Kondik
522c421f66 sepolicy: A few more denials
* Hopefully the last of the sdcardfs denials

Change-Id: I2a9fbc33696d2517fd2596f64f55656a14d66c2c
2016-07-26 07:53:16 -07:00
Steve Kondik
4a24ffeb6a sepolicy: More policy for sdcardfs
Change-Id: Iddc6f86bd1e4b9942139acf9b7e75279b3865b8a
2016-07-25 22:11:33 -07:00
Roman Birg
cdb0ea61fa cm: include CMAudioService in builds
Change-Id: I318f6f9aca96edba056c1a5a2dc010279f389e78
Signed-off-by: Roman Birg <roman@cyngn.com>
2016-07-25 09:56:30 -07:00
Jason Riordan
005d47e04c Movistar [ES] APN updates
Change-Id: Ifae773b9f0de7813feefa9dcfdd79bce79406436
2016-07-25 01:28:34 -07:00
Steve Kondik
d4a0f0adff sepolicy: Add rule to allow sdcardfs to read package list
* Do not carry forward into N release.

Change-Id: I1f90695c48ac5a19848efafb146eabdff1ca4b6a
2016-07-24 04:28:55 -07:00
Steve Kondik
ba87877dd0 sepolicy: Add sdcardfs support
Change-Id: Ib9486b0ad7ed0e4c53494271e6fd35bcfedba40a
2016-07-24 00:16:22 -07:00
Bruno Martins
6fed2cf409 sepolicy: Allow batterymanager and batteryproperties services to be found
Change-Id: Ia2a1734a74c4bba0bc09f150442aec573d769370
2016-07-23 20:51:04 -07:00
Abhisek Devkota
df0ba3a0fe Gello artifact v26
Change-Id: Icd15825eff33a3f5d14108186a111a77cd9f2770
2016-07-22 08:24:46 -07:00
Steve Kondik
52f3680199 cm: Remove stray echo from extract_utils
Change-Id: I2d893a3f8472a86835feef24540e82c47b69fd67
2016-07-21 09:43:52 -07:00
Steve Kondik
60ef86de1a cm: Underp dumping of 64-bit only libraries
Change-Id: I9c2140b40747fc7f847f1a532c42fb7ae5bfc3fd
2016-07-20 20:08:54 -07:00
Zhao Wei Liew
374d138367 cm: Configure mmcblk1 IO on sys.io.scheduler prop
Ensure that the IO parameters for mmcblk1 are always updated.

Change-Id: Ic6a4c453035052db639cf8a2c9336019d9908cc2
2016-07-20 18:36:12 -07:00
Kevin F. Haggerty
a9322a2082 APN: Add Inland Cellular APNs
Change-Id: I4bd2a7890a880633ec7c6e5aa385e91344f3aefc
2016-07-18 16:39:36 -07:00
Steve Kondik
4e2aaabd13 cm: Add generic tools for extract-files / setup-makefiles scripts
* Instead of having to enumerate packages and do a bunch of tedious
   shit, we now have a way to do it automatically based only on
   the blob lists.
 * Devices still need to implement a short script, but this library
   handles all the core functions.
 * Yes, we should probably be doing this in Python- Bash is
   absolutely horrible at dealing with arrays and lists.

Change-Id: I73b30ff4531c4d1b33ac53db33abf62555f500b4
2016-07-18 10:10:44 -07:00
Steve Kondik
bf4a4b4853 cm: minor IMS APN update
* Add IMS APN for AT&T
 * Add magical? parameter for TMO

Change-Id: Idd4d74cf04894467ce51a97d73abb74aba0e1021
2016-07-15 12:37:36 -07:00
razorloves
cddc169a16 Revert "cm: add selective based spn (2/2)"
Appears to be unused in CM13.

This reverts commit 2cfe6b260b.

Change-Id: Ia9beee776fd86f516ed9834f92530355a189f326
2016-07-14 09:55:21 -07:00
OzzysCmAcc
6cce279889 cleanup vodafone germany apns
Change-Id: I3cb844c653820e938037b32036a83d9778900b83
2016-07-09 23:23:07 +02:00
Abhisek Devkota
f1c5ab81b7 Adapt to 6.0.1_r52 backup whitelist
As of f/b 9b8c6d2df35455ce9e67907edded1e4a2ecb9e28
 we need to whitelist who can be backup services.

Change-Id: I52a004924e6d2651c5ecdec51a8c5a80bdd54a38
2016-07-07 14:52:37 -07:00
Michael Bestas
2d2eb9a22d init: Add VibratorHW sysfs permissions
Change-Id: I956a7361fd2a77f0d6076376e69a65b0615ac394
2016-07-07 14:17:09 -07:00