Commit Graph

322 Commits

Author SHA1 Message Date
Mister Oyster 0b4af783d4 rootdir: huge cleanup based on @dinolek's m2 device tree 2017-12-26 15:38:12 +01:00
Mister Oyster 46537bbd9c ueventd: remove poor-entropy based e/frandom nodes 2017-12-25 13:10:48 +01:00
Mister Oyster cd359fba4e init: add system group back to camserver 2017-12-24 13:53:02 +01:00
Mister Oyster 8fd5fab23b configs: audio: remove FM Tuner In/Out from audio_policy_config.xml 2017-12-23 15:31:34 +01:00
fire855 2cab1ad65c Update audio configs Switch to new audio configuration files 2017-12-23 15:21:02 +01:00
Mister Oyster 54f6148438 configs: audio: convert audio_effects.conf to .xml 2017-12-23 15:16:57 +01:00
Mister Oyster 80103a337b power: move to vendor 2017-12-10 20:04:06 +01:00
Mister Oyster 077595913e power: merge derp 2017-12-10 19:53:02 +01:00
Mister Oyster c7adf80676 fs: use mke2fs for better system stability
... and a dropped forced check that occurs on every boot, use the new
ext4 generation tool by setting TARGET_USES_MKE2FS in BoardConfig.mk

based off https://source.android.com/devices/tech/perf/boot-times
2017-12-10 15:52:43 +01:00
Mister Oyster 3be1ea0284 rootdir: defer zram init to boot_complete
based off https://source.android.com/devices/tech/perf/boot-times
2017-12-10 15:51:15 +01:00
Mister Oyster b44113d298 google overrides: only keep noprovisioning prop
Revert "Google: Add Google overrides"

This reverts commit df5dae5e4c.
2017-12-09 16:07:52 +01:00
Mister Oyster ef0e277672 recovery: don't use toolbox instead of busybox for twrp
see :
2942c7db82
2017-12-08 19:13:11 +01:00
Mister Oyster 69575d7cdf rootdir: remove exported libshim (only linker_forced_lib_shim matters) 2017-12-08 16:58:17 +01:00
Mister Oyster be4145ce58 rootdir: make apps start/switch more fluid 2017-12-08 16:51:20 +01:00
Mister Oyster ba1a05d610 forced_shim: fix vendor/system/mtk_agpsd path (@dinolek saving the day) 2017-12-08 15:45:35 +01:00
Mister Oyster 638320238e sepolicy: fix typo to label cpu* zones 2017-12-08 15:06:34 +01:00
Mister Oyster 622a75e97e system.prop: turn off clearMotion (causing grey stripes and borked video outputs) 2017-12-08 14:52:11 +01:00
Mister Oyster 37e2e0e33a keyhandler: update to match api changes 2017-12-07 21:56:50 +01:00
Mister Oyster c7bf9e070e configs: add wpa_supplicant configs here 2017-12-07 21:01:52 +01:00
Mister Oyster c67c779561 sepolicy: mnld xbin -> bin 2017-12-07 20:47:58 +01:00
Mister Oyster acf13b1846 system.prop: update rild path 2017-12-07 20:47:58 +01:00
Mister Oyster ddfd32764a rootdir: move services to /vendor 2017-12-07 20:47:47 +01:00
Moyster 5a58b3803c mtk: add more mtk power_hint cases 2017-11-24 15:26:20 +01:00
Moyster 0c08c7f9aa permissions: add stepcounter and stepdetectors 2017-11-24 15:26:01 +01:00
Mister Oyster 3637d8e7df sepolicy: fix thermal regexp path 2017-11-24 15:25:30 +01:00
DerTeufel a5c16eebbd ext4: don't use secure discard
this is to speed up wipe /data and /cache in recovery
2017-11-20 20:11:25 +01:00
Mister Oyster 38ad2b6fa7 sepolicy: label cpu temps as sysfs_thermal (fixes temps reporting in enforcing) 2017-11-20 19:15:51 +01:00
Demon000 0266efce2d overlay: frameworks: allow gms to access persistent data partition
This fixes nonfunctioning factory reset protection and addresses
numerous PersistentDataBlockService errors during boot up.

Change-Id: Ifb24b2cffc814a3c2f61eda619f2a5cbe173d0f8
2017-11-12 16:47:07 +01:00
Moyster 01cd589501 cmactions: polish: remove duplicate line 2017-11-12 14:51:48 +01:00
Moyster bdcc0028ed dt: partial merge of @dinolek's cleanup 2017-11-11 17:04:51 +01:00
Steve Kondik a6d50bfed8 dt: Remove forced triple framebuffers
* There is no need for forcing triple buffers on this class
   of hardware. It only serves to introduce latency.

Note: "mt6753" this class of hardware, original commit was about marlin,
aight :(

Change-Id: Ia80618b8efc9b14d77c3a20c2864b71f508b50a4
Signed-off-by: Mister Oyster <oysterized@gmail.com>
2017-11-11 16:42:01 +01:00
Dinolek c1293007b6 media: Fix ac3 audio codec and add other missing codecs 2017-11-06 14:55:56 +01:00
Dinolek 78e57f469b cmactions: Add polish translation 2017-11-04 03:45:54 +01:00
Mister Oyster 8efb383634 sepolicy: xbin/mnld
note for later:
gps&mnld blobs in system/ > only xbin/mnld path works
gps&mnld blobs in vendor/ > bin/mnld path works
2017-10-21 19:56:18 +02:00
Mister Oyster 3d8bb3908b cmactions: cleanup androidManifest 2017-10-21 15:10:59 +02:00
Alberto97 86c9a56b12 cmactions: Remove no more needed workaround
Change-Id: I5dab3efd619c08f11660a2d41b905b0b11b4c1ba
2017-10-21 15:10:59 +02:00
Alberto97 0279002129 cmactions: Remove inexistent activity
Change-Id: I11ee5d097c3e4effa17179af5ac19bcee4f5e975
Signed-off-by: Felipe Leon <fglfgl27@gmail.com>
2017-10-21 15:10:59 +02:00
Mister Oyster 7b509a7cc2 cmactions: Cleanup translations & use dashboard summary 2017-10-21 15:10:59 +02:00
LuK1337 d60a4bdfd3 Doze: Require non-wake up proximity sensor
* getDefaultSensor(type) returns the first sensor
  and in case of capricorn it's wake-up one thus our
  doze package wouldn't work. Passing `false` as a second
  argument makes it work properly.

Change-Id: If73bc43bc166945d27b95513c4255ae5a5590849
2017-10-21 15:10:59 +02:00
Michael W 5f480054b3 doze: Set different timings for wave and pocket detection
* One second is a little bit short for pocket

Change-Id: Id27bba6f01a3a4d54ae9096fae87505f38ee5062
2017-10-21 15:10:59 +02:00
Gabriele M 616ff9adad doze: Protect com.android.systemui.doze.pulse
As stated in ActivityManagerService:

  The vast majority of broadcasts sent from system internals
  should be protected to avoid security holes

Change-Id: I1dc989d9d132d40835ca8dbf277285eb88e30a58
2017-10-21 15:10:59 +02:00
Bruno Martins 283041e455 Doze: Refactor
* Fix Ambient Display's switchbar on/off text.
 * Get rid of unnecessary receiver and all its related code,
   permissions and meta-data.
 * Keep the service running only if Doze is enabled system-wide along
   with at least one of the additional Ambient Display features.

Change-Id: Id1f7f5e099f289a20f5757b7869e297e0ce74f7a
2017-10-21 15:10:59 +02:00
Michael W 2036d7303d doze: Cleanup
* Remove unneccessary newlines
 * Remove redundancy
 * Remove unused variables and imports
 * Make variables local when sufficient

Change-Id: I48f5dfc24275388f1deb31dc27716ed75aae898e
2017-10-21 15:10:59 +02:00
Gabriele M 4faf0e3ab5 Doze: Perform operations as current user
* System processes should use the 'AsUser' variant of some methods

Change-Id: Ic2457950b1f0e9f29f4fb06ef38f00dd919ad8f7
2017-10-21 15:10:59 +02:00
Gabriele M ca95d3f27e cmactions: Protect com.android.systemui.doze.pulse
As stated in ActivityManagerService:

  The vast majority of broadcasts sent from system internals
  should be protected to avoid security holes

Change-Id: I1dc989d9d132d40835ca8dbf277285eb88e30a58
2017-10-21 15:10:59 +02:00
Mister Oyster ac9144adb9 rootdir: cleanup leds unused stuff 2017-10-21 15:10:59 +02:00
Mister Oyster 13f6a72e78 libshims: remove unused-variable/parameters warnings 2017-10-21 15:10:59 +02:00
Mister Oyster 48d928c93c recovery: add TW_INCLUDE_L_CRYPTO 2017-10-21 15:10:59 +02:00
Mister Oyster 9a6ea4671a recovery: support kernel exfat drivers 2017-10-21 15:10:59 +02:00
Mister Oyster 48445216fc rootdir: cleanup (eol spaces / unused services) 2017-10-21 15:10:59 +02:00