Zhao Wei Liew
49dfd1f02d
land: Switch to BFQ after boot
...
LineageOS has several UX improvements making use of BFQ's
cgroups interface. Switch to BFQ once boot is complete
to take advantage of these improvements.
Change-Id: I63299e8d2c27b207af3427ac184a2a4ff4da25f5
2017-01-02 16:49:31 +08:00
Zhao Wei Liew
2f8822331b
land: Set subsystem restart to related
...
Xiaomi used to do this in the kernel, but it is broken in the
OSS kernel due to missing definitions.
Remove the broken kernel code and do it in userspace instead.
Change-Id: I5822cc209d969f3ada898d1bfbdace9bfdfce177
2017-01-02 14:08:06 +08:00
Zhao Wei Liew
6fb1a4b432
land: Remove prebuilt WLAN module
...
We're building this into the kernel now.
Change-Id: Icd3f22ce4fe68cf85d49a55e5c08c0b1fd252dd8
2017-01-02 13:30:12 +08:00
Zhao Wei Liew
67db1c2d30
land: Build kernel from source
...
Change-Id: Iba69bc19f24bd3ddeedae6e5341f21bf07891e7c
2017-01-02 13:27:05 +08:00
Zhao Wei Liew
3e464c2ae7
land: Move common recovery makefile to device
...
This is in no way common.
Change-Id: Ib249fd067bb4f5dd7f5800783f8dc234b2b099ea
2017-01-01 13:18:43 +08:00
padarshr
140482ddf9
Add 'misc' entry in fstab.qcom
...
This change is to add misc partition entry in
fstab.qcom. This is used by uncrypt module to
write into this partition, which is then read by
recovery mode to perform appropriate action.
Change-Id: I5bdd335812085cb3d27c81d0e4325f5cd2160669
2017-01-01 13:02:53 +08:00
Zhao Wei Liew
cddbe38091
land: Remove fstab 'check' warning
...
This is obsolete as we already make use of 'check'.
Change-Id: I6685cd80722b60b295d40a9f2d057c344550d42b
2017-01-01 10:07:01 +08:00
Zhao Wei Liew
754825f005
land: Add more ADSP blobs
...
Change-Id: I3890f639dc82e96665a57a6d0735cf3cde578c64
2016-12-28 19:19:36 +08:00
Zhao Wei Liew
f7e0ebe994
land: Correct LED capabilities overlay
...
The lights HAL we're using currently doesn't support
adjustable brightness.
Also, we do support pulsating LEDs.
Change-Id: If6e7a67acbb08e7c8dd7c60ea5ea7cf069cc6779
2016-12-28 19:19:36 +08:00
Zhao Wei Liew
e8c7238977
land: Stop mounting /oem
...
We don't need this in CM.
Change-Id: I05bb818423a033f0b61938c7f9c4be3cb67447ee
2016-12-28 19:19:36 +08:00
Zhao Wei Liew
a884643247
land: Remove duplicate blob entry
...
Change-Id: I113bd8dc70a7e48a89b6be4ca63aa6f1832c6f5e
2016-12-28 19:19:36 +08:00
Zhao Wei Liew
2e3477ae13
land: Set proper ro.product.model prop for Redmi 3X
...
Change-Id: I3238751782658bc2c5d5058a66569befde3b53ea
2016-12-25 10:39:31 +08:00
Zhao Wei Liew
74ebcefa33
land: Update system props
...
MIUI verison: miui_HM3SGlobal_6.12.22_550d48eac0_6.0
Change-Id: I411bf331cfa16197ea544347a73145aae282ed96
2016-12-25 10:15:56 +08:00
Zhao Wei Liew
757e1adbad
land: Update build fingerprint
...
MIUI version: miui_HM3SGlobal_6.12.22_550d48eac0_6.0
Change-Id: I77ab1930df5a0cb86af8c8ad7e5f86728c05355c
2016-12-25 10:14:52 +08:00
Zhao Wei Liew
a6756d0679
land: Update prebuilt kernel
...
MIUI version: miui_HM3SGlobal_6.12.22_550d48eac0_6.0
Change-Id: I73d417a5868c8a9f2c5a9b70b7d0c89dc54e8342
2016-12-25 10:10:51 +08:00
Zhao Wei Liew
8148cb41fe
land: Clean out doze package
...
Change-Id: Ib1b8cea2b4a4cbe7b526ed8568a0f34bc3470b8c
2016-12-24 11:48:17 +08:00
Zhao Wei Liew
9b82dbb0a2
land: Update system props
...
MIUI version: miui_HM3SGlobal_6.12.15_9ae6840ff8_6.0
Change-Id: I9302afeb53ffbcfba76a0d8318d843bee5e369e4
2016-12-23 18:55:14 +08:00
Zhao Wei Liew
b500fdf6da
land: Update FP sensor ramdisk config
...
MIUI version: miui_HM3SGlobal_6.12.15_9ae6840ff8_6.0
Change-Id: Ia8eefdfe95db735d2019c5f7bab905b00623616d
2016-12-23 09:59:28 +08:00
Zhao Wei Liew
9d8f0338c7
land: Add new camera libs
...
MIUI version: miui_HM3SGlobal_6.12.15_9ae6840ff8_6.0
Change-Id: I9b9d7b79e9d951be01fcba471701717e3643ca99
2016-12-23 09:59:28 +08:00
Zhao Wei Liew
efbcb4d252
land: Update fingerprint
...
MIUI version: miui_HM3SGlobal_6.12.15_9ae6840ff8_6.0
Change-Id: I8a49fc9b07e2b051470bd22d7f24aa448280ee09
2016-12-23 09:59:28 +08:00
Zhao Wei Liew
5eb340b095
land: Update prebuilt kernel
...
MIUI version: miui_HM3SGlobal_6.12.15_9ae6840ff8_6.0
Change-Id: I25fc329ef69d2403971d0534d78a586976633bc3
2016-12-23 09:59:27 +08:00
Zhao Wei Liew
bdfe681d60
Revert "land: Enable console"
...
No longer enabled in miui_HM3SGlobal_6.12.15_9ae6840ff8_6.0.
This reverts commit 4a14076437
.
2016-12-23 09:59:27 +08:00
Zhao Wei Liew
9ef01e64c7
land: Send doze pulse intent on tilt detected
...
Based on oneplus3's implementation.
Change-Id: Ibc4bd629f8280d63f84d23981e01cc861992c17f
2016-12-22 11:23:14 +08:00
Franco Rapetti
c753cb1b98
land: Allow system access to the IR blaster nodes
...
This fixes the IR blaster.
Change-Id: Iccd76cde5d0286b5c2cf9ddeb131f9a22205f427
2016-12-07 18:28:45 +08:00
Zhao Wei Liew
680722cfc7
land: Use boot time video timestamp reference
...
This matches what the camera drivers use.
Change-Id: I4951d31d09fc7952e5dfc49347200972aa9eeaee
2016-12-07 18:27:13 +08:00
Zhao Wei Liew
12681f0f61
land: Remove first_api_level
...
We don't need this as we aren't building GMS.
Change-Id: I00420f6d928165e6d0212c893f3ccdd5447f603d
2016-11-17 20:04:16 +08:00
Zhao Wei Liew
89892712bc
land: Don't log an error on init
...
If we get the board_id, that's fine. Don't log an error message.
Change-Id: I4c0648b3bdc5847c70a02270220846d47ad09067
2016-11-15 15:38:51 +08:00
Zhao Wei Liew
3c8370094d
land: Decrease doze brightness
...
As our touchscreen driver does not support the
new display states supported by doze, we are unable
to enable these new display states.
This results in the doze brightness being higher
than what is commonly expected of doze.
Hence, lower the doze brightness to the minimum
to reach sane brightness levels, until we get an OSS kernel.
Change-Id: I08d8b11397d9f05b7a035e9842bd9eea520bfb55
2016-11-15 15:12:36 +08:00
Zhao Wei Liew
bec5412c5f
land: Enable LTE option
...
Somehow stock doesn't enable this overlay, which means that
LTE is enabled some other way.
AFAIK, Redmi 3S should be LTE-compatible across all models,
so let's just enable it until something else crops up.
Change-Id: I6be4522b95750e6c31fbc54e435e32f0101b47c7
2016-11-15 15:12:36 +08:00
Zhao Wei Liew
1c4015db12
land: Add more stock overlays
...
Change-Id: I3381d9f88f27b0bc80600d347857540991c4034d
2016-11-15 15:12:36 +08:00
Zhao Wei Liew
3b904950fc
land: Enable proximity check on wake
...
A similar feature is also enabled in stock.
Change-Id: I952232bc64efdc4a35ec800d0a306e01ac342365
2016-11-15 15:12:36 +08:00
Zhao Wei Liew
84e5579e09
land: Enable speed_up_audio_on_mt_calls
...
As per stock.
Change-Id: I19a77b017003a000d8297bbc5e5c47d01293ad0b
2016-11-11 23:21:47 +08:00
Zhao Wei Liew
995de1847f
land: rootdir: Clean out init - part 2
...
Change-Id: I3819d3964f7e482fd8d0455a363399d4fc6bd83a
2016-11-11 16:18:06 +08:00
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