Commit graph

140 commits

Author SHA1 Message Date
Zhao Wei Liew
a29e7c7eb5 land: Clean out bluetooth scripts
Change-Id: I4cd132cf99664e085053a6d2a660e03a3ee0fdda
2016-11-11 16:17:48 +08:00
Zhao Wei Liew
3f2be3d009 land: Add potential touchscreen configs
Change-Id: I21354e84cb8825c7b69b1a806c7b70bb8aa9f3bf
2016-11-11 12:36:27 +08:00
Zhao Wei Liew
7cf10eeb61 land: Dex-preopt boot image
Change-Id: I00a73e746ed5aba4fb90fd15889a4f014d10f57c
2016-11-11 11:56:37 +08:00
Zhao Wei Liew
4796eb37b3 land: Update firmware on install-time
This ensures that every user has the same firwmare.

Change-Id: I000f004e797f5f7b87b278491070631a54547021
2016-11-11 09:12:54 +08:00
Zhao Wei Liew
ae19300740 land: Properly set up low power modes on charger
We don't need all of the other stuff. Just disable all cores
and enable LPM.

Change-Id: I4721f9a5aa57d0523f37f7352ade8b9a2919b0d9
2016-11-11 06:59:46 +08:00
Zhao Wei Liew
f0906fbf4c land: Set up low power modes on recovery
Change-Id: I3f79b5277936e4d3f0b5c0b134ea4211ab3cf920
2016-11-11 06:57:07 +08:00
Zhao Wei Liew
1db73983eb land: Set up low power modes earlier
The device can get quite warm
while booting, especially duirng dexopt.

Change-Id: I0d843838b1e81fdf125ac8af65892b31124ae58d
2016-11-11 06:51:47 +08:00
Zhao Wei Liew
d491a5a503 land: Define LED capabilities using the new overlay
Change-Id: Ifadba8cb76d273f2b8275f5ddbbb419915be67c7
2016-11-11 06:46:39 +08:00
Zhao Wei Liew
ba0f865fac land: Remove unnecessary kernel board flags
Change-Id: I72e85a2ab6e93921955bebd6a273120867ab1b73
2016-11-10 20:01:17 +08:00
Zhao Wei Liew
ea310ecfc6 land: Add package targets for libtime_genoff
Turns out this is needed for the native time service feature.

Change-Id: Ib28a302efbdb02188124ef8cde2caff5632516aa
2016-11-10 14:21:50 +08:00
Zhao Wei Liew
1ea605580e land: Move media and IRSC configs to vendor
Other than media_codecs since we need to add in the FFMPEG include.

Change-Id: I4592df5ea83519bba10bc174b0c345ac9a26a25a
2016-11-10 13:41:04 +08:00
Zhao Wei Liew
07ef0bf215 land: Move audio configs to vendor
Change-Id: I5b061be2be2f752c333dd836f9f72964c759a8aa
2016-11-10 13:41:04 +08:00
Zhao Wei Liew
4ea22816f0 land: Update build fingerprint
Change-Id: Ib4585d46078405f763e858d0f4339a6744381341
2016-11-10 13:41:04 +08:00
Zhao Wei Liew
7a6f35f582 land: Update kernel
MIUI version: miui_HM3SGlobal_6.11.3_809cd78ce3_6.0

Change-Id: I52a91651fbc22dd4f288977e04574bfd44addd9c
2016-11-10 13:41:04 +08:00
Zhao Wei Liew
4a14076437 land: Enable console
Comes from stock miui_HM3SGlobal_6.11.3_809cd78ce3_6.0.

Change-Id: I1b32560bae1f6f948ec60a1ca8f0b77e8a2fe25b
2016-11-10 13:41:04 +08:00
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