Commit graph

125 commits

Author SHA1 Message Date
Zhao Wei Liew
52b350fd29 land: Remove broken zRAM config
Will revisit.
Most likely MIUI's 'memory optimizations' do this
instead of using the traditional init scripts.

Change-Id: Ie168d05fa3f9fd1f5d2d995559a0bcc5cb2745d5
2016-11-10 13:41:04 +08:00
Zhao Wei Liew
a9509ea545 land: Inherit common bluetooth LE product component
Change-Id: I06ed31cc7e4241b147085f51020f9e55c6a492af
2016-11-10 13:41:04 +08:00
Zhao Wei Liew
291f7a5e05 land: Inherit common Wi-Fi product component
Change-Id: I030e203880e046422340b5d1815e9a047ba93567
2016-11-10 13:41:04 +08:00
Zhao Wei Liew
1d5f949821 land: 'Build' QDCM calibration files
Change-Id: Ica62cd78fb5e570021f9ed7d5514747e43ef84df
2016-11-09 13:28:06 +08:00
Zhao Wei Liew
31410ebe03 Revert "land: display: Move panel calibration data to device tree"
This issue can easily be solved by adding a package target.

This reverts commit 2a092ff6a2.

Change-Id: I78c91b5ccfda7238fbb87bb94ee0485a7c9330b6
2016-11-09 09:54:58 +08:00
Zhao Wei Liew
5d030db5a8 land: Allow system to write to LED blink files
Change-Id: I74c69b9790097f8a49b7f4db888755df09b031f3
2016-11-09 09:23:47 +08:00
Zhao Wei Liew
d4d24efb54 land: Improve platform flag inheritance
Change-Id: I709f034ab474a8008aaa60214c009314abb14cd2
2016-11-09 09:17:37 +08:00
Zhao Wei Liew
978908e659 land: Inherit QCOM bootloader board component
Change-Id: Ie4db36a179c20b14baf408dbb0f722505e8a6c68
2016-11-09 09:07:42 +08:00
Zhao Wei Liew
cd3cd7dbf2 land: Remove duplicate overlay
This is duplicated right above.

Change-Id: Ida43705136b4f99c5ee523f1cff552b5399d41d2
2016-11-09 09:01:41 +08:00
Zhao Wei Liew
499619daa6 land: Move keylayouts to vendor
Change-Id: I9d4c45c7be31884224572f262b0bc7bb7f4d1d7b
2016-11-09 09:01:41 +08:00
Zhao Wei Liew
a9e51dd41a land: Move Wi-Fi configs to vendor
Change-Id: Iebbf0b662bd2a1ff03832f93a4d6e255e6eb0f8e
2016-11-09 09:01:41 +08:00
Zhao Wei Liew
c50a61d266 land: Build generic liblights
This suits our kernel driver just fine.

Change-Id: I0fe07157edc9e5f901e79b318421a09ea0b99365
2016-11-09 09:01:29 +08:00
Zhao Wei Liew
f36f7635b0 land: Build OSS GPS HAL
Change-Id: Ifee127d46553aeafebeee769a3a1df63b05a6bff
2016-11-08 23:04:41 +08:00
Zhao Wei Liew
92d5fd6723 land: gps: Modify for CM build system
Change-Id: I48097d23bc302ff5df5d90cfaf2c4a5a5d295a3f
2016-11-08 23:04:29 +08:00
Scott Mertz
a20833363b gps: fix build for OSS builds
gps: Correct forward declaration in proprietary definitions

Fix gps runtime error

The qcom prebuilt binary relies on FlpExtLocation_s,
so we cannot change it to FlpExtLocation.
This patch fixes it.

ether: gps: fix remove trailing space

In setXtraUserAgent,
size_t is unsigned and never being negative.
Will cause segmentation fault, if string is all space.

Change-Id: I1cf1f956943b0739640afe909954ade6921e28a1
2016-11-08 22:08:37 +08:00
Zhao Wei Liew
0a93aea65e land: Inherit QCOM GPS board component
Change-Id: I02883e50e5cefc68a294ea3edca9c2f2a61239c2
2016-11-08 22:08:37 +08:00
Zhao Wei Liew
869688ce63 land: gps: Remove GPS config
We have ours from stock.

Change-Id: I498b67396829e826c8d38797e786f73ea33adeb8
2016-11-08 21:47:51 +08:00
Zhao Wei Liew
7309587048 land: Import OSS GPS HAL
CAF tag: AU_LINUX_ANDROID_LA.UM.5.1_RB1.06.00.01.192.038

Change-Id: Ia9189744ccaca7d4c9f3a5097a955e6a849192a7
2016-11-08 21:39:00 +08:00
Zhao Wei Liew
44cf433e98 land: Enable LED customization options
Change-Id: I0ce98bbdc4187939f7f812788ccf7b74b7d03bb8
2016-11-08 21:13:27 +08:00
Zhao Wei Liew
69343265bd land: Inherit common GPS product component
Change-Id: I3e323617aab83457bfdacbed2b05bca3a321d0e0
2016-11-07 16:17:16 +08:00
Zhao Wei Liew
e95306cdf2 land: Build some lib dependencies
Change-Id: I43b64004fb504bd4c697d24398b0f74fde834d4c
2016-11-07 16:05:40 +08:00
Zhao Wei Liew
7a30127544 land: Switch to prebuilt audio HAL
Xiaomi added a bunch of stuff into the audio HAL.
Use it for now until it is figured out.

Change-Id: I9e815b4d9f0788714cd0eab5f5a92b6b2d7924e3
2016-11-07 15:16:17 +08:00
Zhao Wei Liew
5fcc8be609 land: Remove redundant perf component
Change-Id: Ib80f11a26703f645ebee58adb0f0d0643e9f3d31
2016-11-07 15:12:24 +08:00
Zhao Wei Liew
96cc2eebbe land: Disable button backlight settings
We don't support button backlight.

Change-Id: I06bdd13fbe1e733ea631838eb3118edc5de7b676
2016-11-07 12:02:06 +08:00
Zhao Wei Liew
251ac9a30e land: Add DE.o.msm8937
Not sure what this is for, but it sure hints
to being msm8937 media/camera-related firmware.

Change-Id: Ief91feb337bff00f33a85e74305c17ee78c01be9
2016-11-07 11:55:11 +08:00
Zhao Wei Liew
0acebb3110 land: Set missing FM prop
Change-Id: Ib03b182711fa757ca406c118d7bf03b9389941a3
2016-11-07 11:54:57 +08:00
Zhao Wei Liew
def758d06a land: Inherit common clang board component
Change-Id: Ib529dac935f53bb968572fcfe19b87e4b6db9133
2016-11-07 11:54:57 +08:00
Zhao Wei Liew
4845b7a2e8 land: Inherit common dlmalloc component
Change-Id: I66b9a73d61b4d22ae80b021e8dd09db9b17319e5
2016-11-07 11:54:57 +08:00
Zhao Wei Liew
7facbe2de3 land: Add missing audio flags and props
Change-Id: Ie39d2398c1f5fd590bb6457aadeb8316b7dd48b7
2016-11-07 11:54:57 +08:00
Zhao Wei Liew
9c0ce3716f land: Set missing camera props
Change-Id: Ic5885818c6617764c0cd82da94a50c8d30df683b
2016-11-07 11:54:57 +08:00
Zhao Wei Liew
c98b80097b land: Clean up init - part 1.5
* Remove duplicate perfd definition
 * Remove invalid options

Change-Id: I7ec3a5a921f18fc280d181f199a5c587fe269096
2016-11-07 11:54:57 +08:00
Zhao Wei Liew
5936de1264 land: Remove QC location provider overlays
These aren't used anyways.

Change-Id: Ib93eddf32ff8f16c5bdf5b8bb72477c4189dfc77
2016-11-07 11:54:57 +08:00
Zhao Wei Liew
7da45d1c38 land: fstab: Remove non-existent flag 'resize'
Change-Id: Id74edbcd6015da50e262ba5138d516594be9103a
2016-11-07 11:54:57 +08:00
Zhao Wei Liew
f8fba85af1 land: Get rid of qti.ims.sh dependency
Change-Id: Icadb27a4e8db723c56f1cc67f6fcc7af750b138f
2016-11-07 11:54:57 +08:00
Zhao Wei Liew
3e75ba2f22 land: init: Ensure we're running on the correct device
Change-Id: I2c5d5bf9fbdb0fbb7b4e042199d497a3e4be795b
2016-11-07 11:54:57 +08:00
Zhao Wei Liew
df8dde6344 land: init: Dynamically set board ID on init
Change-Id: Id08be566818ae5d920bb1298ccb92a302ba41018
2016-11-07 11:54:57 +08:00
Zhao Wei Liew
3d9e9b98d3 land: Remove unnecessary blob package targets
Change-Id: I098c93c61bc99fb99fd7be157d00ecec9041657c
2016-11-07 11:54:57 +08:00
Zhao Wei Liew
6eb49fb19a land: Inherit Cyanogen livedisplay component
Change-Id: Ifa12f15dba88271a06628267c11687d82ecd4b23
2016-11-07 11:54:57 +08:00
Zhao Wei Liew
411294e83f land: Check reboot reason when setting alarm_boot prop
Originally in early_boot.sh

Change-Id: If2ce845a28d363a2336f61cf3debac659f953172
2016-11-07 11:54:57 +08:00
Zhao Wei Liew
36a430bf60 land: Slightly clean up init scripts
* Merge init.target.rc into init.qcom.rc
 * Re-organise init triggers based on actual init sequence
 * Clean up a little bit of whitespace
 * Remove services for daemons not even present in stock

Change-Id: I6682040cfbc2aabe3886bd64f4277cc99172a7bf
2016-11-07 11:54:57 +08:00
Zhao Wei Liew
9849c64197 land: Move GPS configs to vendor
We're unlikely to modify them anytime soon,
so keep the device tree cleaner for now.

Change-Id: I7c3ceb80d8749dcac8735dd89e2767f79deb71ef
2016-11-07 11:54:57 +08:00
Zhao Wei Liew
e24a056a0e land: Set missing radio props
Change-Id: I9659df9b394c6b1550be1e9d90743e7a494a30a0
2016-11-06 18:32:57 +08:00
Zhao Wei Liew
0dbeec84a6 land: Enable QC combo location provider
Change-Id: Idb3d9c485fc90f20f855b1a8229767addf8e85fd
2016-11-06 18:32:57 +08:00
Zhao Wei Liew
90e2d67daf land: Add missing camera libs
Will sort all this shit out later.

Change-Id: I4f90d6712f410f87967cf2db5c0100554421e0c7
2016-11-06 18:32:57 +08:00
Zhao Wei Liew
bd27673466 land: Open camera hardware with openCamera()
Change-Id: Ic4775d43337ae53e59a4ed47639524e8a65cf7d5
2016-11-06 18:32:57 +08:00
Zhao Wei Liew
29ceeed567 land: Set 2 more stock overlays
Change-Id: I0530d76c16b89af6b48108de8c4c50e1c0dd7b90
2016-11-06 18:32:57 +08:00
Zhao Wei Liew
653524eee9 land: Simplify init.qcom.sh
Change-Id: I11e862abfb222e514afe042047924dc737592f85
2016-11-06 18:32:57 +08:00
Zhao Wei Liew
35fff3eb44 land: Configure for menu keys
App switcher doesn't work atm. Seems like the key is being
forced to menu, so let's just configure it as menu for now.

Change-Id: I4aa74eeac117b0c56d81382bf77a35c8a27c486d
2016-11-06 18:32:57 +08:00
Zhao Wei Liew
fac337657d land: Enable adaptive brightness by default
Match stock.

Change-Id: I48a2ce3beb8db88e5c561ef5aa85ee5d8645013b
2016-11-06 18:32:57 +08:00
Zhao Wei Liew
6ff8a088a9 land: Enable UI blur support
Blob from the latest OP3 CM 13.0 revision.

Change-Id: Iae876a267d7462ab19c84cb1dc5a9b6abbd76b98
2016-11-06 18:32:57 +08:00