summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* grouper: move gps.xml to the device tree (2/2)Ziyan2016-08-303-1/+35
|
* sepolicy: update for NZiyan2016-08-3011-6/+23
| | | | | | | TODO - workaround execmod denials (neverallow): [ 18.749197] type=1400 audit(1472427338.993:7): avc: denied { execmod } for pid=603 comm="glgps" path="/system/vendor/bin/glgps" dev="mmcblk0p3" ino=1790 scontext=u:r:glgps:s0 tcontext=u:object_r:system_file:s0 tclass=file permissive=1 [ 25.101056] type=1400 audit(1472427345.343:8): avc: denied { execmod } for pid=551 comm="system_server" path="/system/vendor/lib/hw/gps.tegra3.so" dev="mmcblk0p3" ino=1809 scontext=u:r:system_server:s0 tcontext=u:object_r:system_file:s0 tclass=file permissive=1 [ 25.813375] type=1400 audit(1472427346.057:9): avc: denied { execmod } for pid=174 comm="mediacodec" path="/system/vendor/lib/libnvmmlite_audio.so" dev="mmcblk0p3" ino=1843 scontext=u:r:mediacodec:s0 tcontext=u:object_r:system_file:s0 tclass=file permissive=
* overlay: add downsized default wallpaperZiyan2016-08-301-0/+0
| | | | | Our DDK doesn't play nice with textures larger than 2048 px; let's resize the new wallpaper of Android N so it fits within the limit (use the previous dimensions).
* Switch to open-source secure services implementationZiyan2016-08-3054-26/+12468
| | | | | | Source: omapzoom.org - OMAP uses open-source tf_daemon and libtf_crypto_sst. Further reverse-engineering and inspection revealed that these aren't dependent on the platform - in fact, we are now building a match of our old proprietary blobs.
* Delete dhcpcd init entries, since dhcpcd is no more.Ziyan2016-08-281-40/+0
| | | | | Based on: https://android.googlesource.com/device/moto/shamu/+/c669325dc65c0c095c74e6226c8a58fa587d8ca3
* Delete /mnt/sdcard symlinkZiyan2016-08-281-1/+0
| | | | | Based on: https://android.googlesource.com/device/moto/shamu/+/ab93dab9d03b9a58d459598effa1bc133854ec6d
* Migrated dumpstate to C++.Felipe Leme2016-08-282-1/+1
| | | | | | BUG: 25563823 Change-Id: Ia827cfd4dc669d9ebb42ca0583eac79f8bef91d2
* init: power: avoid to idle core0 in lp2 stateAndré Pinela2016-08-211-0/+1
| | | | | Change-Id: I46138974605dfc815af25342ddc8099d985c3830 Signed-off-by: André Pinela <sheffzor@gmail.com>
* init: factor out power init to a separate fileAndré Pinela2016-08-203-59/+66
| | | | | Change-Id: I90a0c489daaaf79e865f691944ef8ba85ba87791 Signed-off-by: André Pinela <sheffzor@gmail.com>
* power hal: disable low power cluster when screen onAndré Pinela2016-08-201-0/+4
| | | | | Change-Id: Ia78766ba6c8bafb3d5f64e3518b102b1333b6d55 Signed-off-by: André Pinela <sheffzor@gmail.com>
* init: factor out sensors init to a separate fileZiyan2016-08-202-149/+149
|
* switch to hdpiAndré Pinela2016-08-191-1/+1
| | | | | Change-Id: I612ce8b8f4c0babfca9f65aca5334b454a6377cd Signed-off-by: André Pinela <sheffzor@gmail.com>
* sensors-load-calibration: fix service name and sepolicyZiyan2016-08-182-2/+3
| | | | | Service names can't be longer than 16 characters. Also added a missing selinux rule to avoid possible denials.
* init: usb: Assign bDeviceClass to composite types and define rndisAndré Pinela2016-08-151-0/+28
| | | | | | | | | Assign "mtp,adb" "ptp,adb" to composite device class and define rndis descriptors to enable USB tether with or without adbd running. Change-Id: I93bde829dfc94ae0dc1db28b1c7043d25238f0d4 Signed-off-by: André Pinela <sheffzor@gmail.com>
* enable target userimage to use f2fsAndré Pinela2016-08-151-0/+1
| | | | | Change-Id: Iefed3b6b28d40e7b941a3b59179386da45aa4953 Signed-off-by: André Pinela <sheffzor@gmail.com>
* grouper: define tetherable interfacesAndré Pinela2016-08-151-0/+25
| | | | | Change-Id: Ia850f71ec68a624a4e6c79a1db26912e93712808 Signed-off-by: André Pinela <sheffzor@gmail.com>
* grouper: enable f2fs mountsAndré Pinela2016-08-151-10/+12
| | | | | Change-Id: I654d53b43b498b024f9c52ecc3e8d0345183ee39 Signed-off-by: André Pinela <sheffzor@gmail.com>
* power hal: swap to nvidia power halAndré Pinela2016-08-1419-393/+1329
| | | | | Change-Id: Icea322116c778ebf1849dd7418919e2623418a63 Signed-off-by: André Pinela <sheffzor@gmail.com>
* Remove deprecated propsZiyan2016-08-041-9/+0
|
* nfc: build the firmware ourselvesZiyan2016-08-043-1/+5561
|
* fstab: define OTG device sysfsZiyan2016-08-031-0/+2
|
* init: enable KSMZiyan2016-07-031-0/+4
| | | | According to https://source.android.com/devices/tech/config/low-ram.html#ksm.
* Set up the mixer at adev_open()daniel_hk2016-07-031-0/+1
| | | | | | | | | | | | M doesn't select the audio device at start now. Hence the mixer is not properly set up. That's why there is no audio output after reboot. However, when the orientation sensor detected changes, the audio HAL driver will be adjusted. During the adjustment, the mixer is reset and bring the audio back. To fix this strange scenario, I set up the mixer with select_device() at the end of device open. Change-Id: I6878993da55d0ee76b81229e20c2c16f53bf7ac3
* sepolicy, init: move tilapia-specific stuff (1/2)Ziyan2016-07-025-15/+0
|
* init: define emmc queue settings and io scheduler (cfq)André Pinela2016-06-271-1/+8
| | | | | Change-Id: I7cd204ac91a74e0ba5b35f7fe72d83b2aec3dc58 Signed-off-by: André Pinela <sheffzor@gmail.com>
* sepolicy: add sar proximity sensor policiesAndré Pinela2016-06-272-0/+5
| | | | | Change-Id: I9f342df86c24061159c7d264cb0cfdb64a8c68de Signed-off-by: André Pinela <sheffzor@gmail.com>
* touchscreen: elan firmware is now embebbed on kernelAndré Pinela2016-02-233-5/+0
| | | | Signed-off-by: André Pinela <sheffzor@gmail.com>
* Set the correct way to initialize cpuquietAndré Pinela2016-02-191-2/+2
| | | | | | | | | | The sequence must be: - Set the governor (init) - Set permissions (init) - Enable cpuquiet (power hal) - Customize governor parameters (power hal) Signed-off-by: André Pinela <sheffzor@gmail.com>
* Enable doze powersavingAndré Pinela2016-02-191-0/+3
| | | | Signed-off-by: André Pinela <sheffzor@gmail.com>
* Include nfc app with nxp stack to avoid messing the platformAndré Pinela2016-02-192-1/+88
| | | | Signed-off-by: André Pinela <sheffzor@gmail.com>
* sepolicy: updatesZiyan2016-02-1913-43/+35
| | | | | | - remove kernel < 3.3 workarounds - tighten some rules - add missing rules
* Replace sensors-config with a shell scriptZiyan2016-02-198-49/+29
| | | | Requires a vendor and kernel commit as well.
* Reorganize a few filesZiyan2016-02-195-82/+74
| | | | This is only a cosmetic change, which makes maintaining this device tree easier.
* makefiles: remove unnecessary/no-op thingsZiyan2016-02-196-112/+2
| | | | This is just a cosmetic change.
* props: move to system.prop, cleanupZiyan2016-02-192-25/+18
|
* init: cleanupZiyan2016-02-192-152/+118
| | | | | | | | - remove unused/unnecessary commands - unify a few mkdir/chown/chmod commands - fix indentation - move the nfc property to system.prop - move some blocks so it's easier to maintain this file
* overlay: clean up fw/base/core, remove unused MusicVisualization overlayZiyan2016-02-192-88/+5
| | | | | | | | | | The only change here is that config_ui_enableFadingMarquee defaults to false, which seems to be the new standard on newer devices anyways. The rest consists of: - removing the MusicVisualization overlay, as it isn't built anymore - removing entries which are using the default values - syncing comments with the parent overlay
* touchscreen: remove unused touchscreen configsZiyan2016-02-193-112/+0
|
* Remove full_grouper, just use aosp_grouper insteadZiyan2016-02-193-36/+11
| | | | Also corrected PRODUCT_BRAND and PRODUCT_MODEL, and added PRODUCT_MANUFACTURER.
* Remove persist.sys.usb.config overrideZiyan2016-02-191-4/+0
| | | | | | https://android.googlesource.com/device/moto/shamu/+/8de2aa968d333fe3a4ffe330859207566150bce9 Fixes ghost MTP.
* Remove self-extractors and factory image generatorZiyan2016-02-1951-5263/+0
|
* Reorganize grouper treeAndré Pinela2016-02-1915-16/+15
| | | | Signed-off-by: André Pinela <sheffzor@gmail.com>
* The vendor/asus/grouper is now common to grouper and tilapiaAndré Pinela2016-02-192-3/+1
| | | | Signed-off-by: André Pinela <sheffzor@gmail.com>
* [k3.4] power: don't use the LP cluster in interactive mode, misc fixesZiyan2016-02-191-7/+10
| | | | | | | | The LP -> G cluster transition takes about 300 ms, causing a very noticeable delay and stuttering. Only enable the LP cluster usage in non-interactive mode. Also disabled the cpuquiet core locker in non-interactive mode, and fixed a warning.
* [k3.4] power: fix cpuquiet permissionsZiyan2016-02-192-2/+1
| | | | | Setting the governor from the power hal will recreate the sysfs entries, resulting in insufficient permissions for core locking.
* [k3.4] power hal: adapt to kernel 3.4André Pinela2016-02-192-32/+79
| | | | | | | | | | Since it's no longer used the outdated interactive governer of kernel 3.1, this settings have to be adapted to meet the new tunnables available. The old tegra hotplug have a substitute: cpuquiet Change-Id: I2a2f38a393d701a82293c48933ba62c90c861782 Signed-off-by: André Pinela <sheffzor@gmail.com>
* [k3.4] audio: refine audio hal for kernel 3.4André Pinela2016-02-194-129/+5
| | | | Change-Id: Ieaa43cbc5ef62686c58d38b12671fff1171efede
* [k3.4] audio: update pcm and mixer card IDsZiyan2016-02-191-2/+2
| | | | Since the unused Intel HDA card was removed from the kernel, the card IDs changed.
* [k3.4] Switch to grouper_defconfigDábiel Járai2016-02-191-1/+1
|
* Remove deprecated egl.cfgZiyan2016-02-192-3/+0
|