Commit graph

2663 commits

Author SHA1 Message Date
Zhao Wei Liew
c4e4e0df41 cm: Create cgroup mount point for BFQ
The global init.rc no longer creates this for us in N,
but we still need it for BFQ cgroups.

Thus, create the mount point in the CM vendor init.rc.

Change-Id: Ice5ff15737329aefd1dad2401bb530a18008fc4d
2016-09-08 03:49:37 -07:00
Zhao Wei Liew
087ec8386d cm: etc: Remove unused superuser.rc import
We are now using the LOCAL_INIT_RC macro for the su daemon.

Change-Id: I333e31179503e4625ec166adeebdce05731f6d8f
2016-09-08 03:49:37 -07:00
Caio Oliveira
58c7d40ec9 cm: charger: Add support for Watch/LDPI devices
* resized by 75% from MDPI

Change-Id: I52fa71feb3813b412d01508c48699778a5a45d5f
Signed-off-by: Caio Oliveira <caiooliveirafarias0@gmail.com>
2016-09-08 03:39:16 -07:00
Steve Kondik
52ffa567f5 cm: New CMSDK API level 7 - Guava
Change-Id: I38bd9b5dea02593801f130a7d790d0dddb1e800e
2016-09-04 04:48:03 -07:00
Steve Kondik
4992d385e7 cm: Update projects and overlays
* Disable non-working stuff (themes)
 * Re-enable now-working stuff

Change-Id: I929fabb2d9068616c48b5f16672cbb66f2600490
2016-09-04 04:46:47 -07:00
Steve Kondik
5b98d78fa9 sepolicy: More cleanups for N
* Fix up recovery stuff
 * Disable themes until ready
 * Disable CMUpdater until ready

Change-Id: I99073b91fbd1ec16e59602da644727a0d019f330
2016-09-04 04:46:06 -07:00
Steve Kondik
a3765ca9ef hax: Disable system-api generation
* Do we even need this? CMSDK doesn't annotate anything as SystemApi,
   and it fails on N.

Change-Id: I73e1021079e05ab56f96008446f12b086d8b41c6
2016-09-04 04:40:57 -07:00
Steve Kondik
21e414adad cm: Build CMParts
Change-Id: I9b4c7ccd478751ae05c68c00ff1939b0f722e03b
2016-09-04 02:52:23 -07:00
Steve Kondik
960c4f46f0 cm: Add partner makefile
Change-Id: I81d46bb7f492abd95be65af58514ae395d9c6cfc
2016-09-04 02:52:04 -07:00
Steve Kondik
79fa59b3be extract_utils: Add flag to disable pinning
* We might want to disable pinning entirely for an extract run.
 * Set DISABLE_PINNING=1 to turn it off and override everything.

Change-Id: I1be90dda68f0de1c5f5a70c946052d70bfaab7ed
2016-09-04 02:52:04 -07:00
Adrian DC
9b4114ee47
vendor: cm: Updates for CM-14.0
* Fix the backuptool for the new version
 * Update text references

Change-Id: I3d557cc4eb5feb07ebbff372dae6d165d29d94ee
2016-09-03 20:31:52 +02:00
Steve Kondik
7561d19795 extract_utils: Fix device online check
* No need to look for /sbin/recovery as adbd will report
   the device as being in recovery mode already. Also, this
   check appears to hang on N.

Change-Id: I3bcb427835ae3cd37c7ea56cbc57bba0d18fcc04
2016-09-02 20:43:02 -07:00
Dan Pasanen
a70323c1d0 common.mk: don't forget your quotes
* Not having these causes kati to wig out in unpredictable ways

Change-Id: I9d0932f5e5719204eae75c25acfdf60e9c533d3f
2016-08-30 14:52:35 -05:00
Hashbang173
3b3a0e1c8b extract_utils.sh: Disable dex preopt on prebuilt apks
Change-Id: I230f1a8bb95cbc1df36bc652b03e58829ec278f5
2016-08-28 20:50:03 -04:00
Luca Stefani
2580197b78 config: Don't include cmsdk_common if cm sdk is disabled
Change-Id: Ie5ef054213c5804352ae0e076d515b1de9e11396
2016-08-26 23:51:44 -07:00
Luca Stefani
9b58af504a build: Kill colors
* Also exclude apickeck if cm sdk is disabled

Change-Id: I48fbb3b2c3130d2a5d49ca726883babea4e5a455
2016-08-26 23:49:44 -07:00
Luca Stefani
90565e3335 Remove unexisting overlays
Change-Id: I5a4c334b035ad78d85686a3270547b3dc67f64d1
2016-08-26 23:48:16 -07:00
Steve Kondik
14761fd865 Revert "selinux: Add rules for the audit daemon"
* No longer used

This reverts commit 15df17f9ac.

Change-Id: If2a187179e4c93e2afc78be4cb863a48dbbe1dd0
2016-08-26 03:15:10 -07:00
Steve Kondik
aa38b56dac sepolicy: Clean up policy for N
Change-Id: I39ddec0f60a9995de13b82f09705d246d7e0f454
2016-08-26 02:52:20 -07:00
Luca Stefani
7d2b6d238b cm: charger: Fix cm healthd
Change-Id: Ibd8e9470e01d14a11941e47c099d6dd13d5d51cc
2016-08-25 15:08:19 +02:00
Brandon McAnsh
477913bfa9 disable non-ported overlays
Change-Id: I3a4c868b5d168425008377c20439f6fe0133af0d
Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>
2016-08-24 11:55:54 -04:00
Brandon McAnsh
46c9f6c593 Convert default wallpaper to png
Change-Id: I47a8db3bff0a3ed44144ef487438c29c15a9cc67
Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>
2016-08-24 11:55:54 -04:00
Dan Pasanen
69354102bc cm-13.0 -> cm-14.0
Change-Id: I3820cd42208bf92aea4cf945eaade3ae59ed549a
2016-08-24 10:19:50 -05:00
Abhisek Devkota
e900dddb9e Fix Discovery permission blockage
RM-290
Change-Id: If1f9fe3b1821b8880ac75044dbb1a660edd78679
2016-08-23 11:43:07 -07:00
Brandon McAnsh
5f562fde33 charger: Fix 640dpi symlink
Change-Id: Ibb2cd183221bc7887af52835bf33fe1b3ba0ab7e
Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>
2016-08-19 00:02:45 -04:00
Adnan Begovic
a194731dd4 cm: "Released" means current.
Since mainline devices will always identify as a latest
  release api level (due to userbase volume), make sure
  we check against the current api vs api -1.

Change-Id: I9e9b41a1af5d3a93f58b2e0e0545b979d1cef978
2016-08-17 14:15:14 -07:00
Brandon McAnsh
850dd22e12 charger: Add 640dpi support
* xxxhdpi

Change-Id: I53f86c3bf68d8ba3ad21273b44f75ea6434d7883
Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>
2016-08-17 05:44:20 -07:00
Adrian DC
3e85bf7907
version: Keep the maintenance version defined and use it if needed
* The maintenance version should not be set optionally
    to its official value status, but only be used when needed

 * Use the TARGET_VENDOR_SHOW_MAINTENANCE_VERSION := true
    introduced in I77c924a13122c8e1d9af14501e46bc532f7aefbd
    to show the value of the maintenance version in releases,
    with an intermediary CM_VERSION_MAINTENANCE variable

Change-Id: I22b944a1d2d8586e5f3c75e19ca1c53aa3b22b59
2016-08-16 19:26:11 +02:00
dzadzev
ec6c945852
apns: Fix T-Mobile MK DATA access
* Authentification type "PAP or CHAP"
    required to get DATA access and MMS

Change-Id: Iddd1fc66668426c5a4c90b398bb5d5ff52f59a3f
2016-08-15 12:03:03 +02:00
Steve Kondik
e73b8c1bd6 cm: Allow LiveDisplay to write to display misc dir
* Need write permission to create file containing the current mode.

Change-Id: I4ed26412e7ec38861156110c7eb51ef707a0999f
2016-08-15 01:43:06 -07:00
Adrian DC
e91605ce48 cm: charger: Export the RTC Clock and Alarm timestamps
* Gives easy access to the RTC values in order to verify or debug
    the current status of the RTC clock and alarm, for example
    if a user says powered-off alarm doesn't work

Change-Id: I47e71433a53a25fe9880e7be6a1f5bdb1105ef78
2016-08-14 21:53:56 -07:00
Adrian DC
cadd0be089 cm: charger: Add support for double backlight displays
* Some devices using AMS AS36xx LEDs controllers
    are using 2 backlight paths to light the display,
    mostly on Sony Huashan and Sony Blue board devices

 * Although most of the displays have interlaced backlights
    and the half dark path can be hard to see, other displays
    have a top / bottom path that make half the screen on / off

 * Control the backlight level of both path if the device does have
    BACKLIGHT_PATH set, and if present, SECONDARY_BACKLIGHT_PATH

 * Leave the HEALTD_BACKLIGHT_LEVEL config accessible
    to override the default 100 / 255 brightness used in healthd

Change-Id: If774c3e66acedddf7ba676581e7c88b7e83a66b6
Signed-off-by: Adrian DC <radian.dc@gmail.com>
2016-08-14 21:53:37 -07:00
Steve Kondik
7595620750 cm: Add custom off-mode charging screen
* Moving this to open-source from CyanogenOS :)
  * Thanks to Chao Chen, Ethan Chen, Pat Erley, Scott Mertz,
    and Keith Mok for various contributions to this.

Change-Id: If79f9c279668d14ee0cde62889bb09e7185ef08c
2016-08-14 14:10:53 -07:00
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