Commit graph

289 commits

Author SHA1 Message Date
Zhao Wei Liew
9e060c64cd land: Rebrand to LineageOS
Change-Id: I1db1dc8c93032f49a048e43654e0779bab4485e6
2017-01-08 18:57:43 +08:00
Zhao Wei Liew
6e582024ed land: Move several product and board fragments to common
Change-Id: Iafc70349057d90df68df2d3feafc1f085e90aacc
2017-01-08 18:57:43 +08:00
Zhao Wei Liew
a6c9e54b17 land: Update CM device fragment paths
Change-Id: Iae93f921e6603c5500dc7f94c79cdcb5d767a4ba
2017-01-08 18:57:43 +08:00
Zhao Wei Liew
91c30b329c land: Add mdptd and some acdb data
The ACDB data is really just in case.

Change-Id: I66fa88a7596496c008d2d00c005f0e0a0ac5f6ff
2017-01-07 16:29:35 +08:00
Zhao Wei Liew
90bd3e3211 land: Remove duplicate proprietary file entries
Change-Id: Ia188c389b91b880b8cd6aec47c3873f6d7b0451c
2017-01-07 16:10:42 +08:00
Zhao Wei Liew
5cedb9f645 land: Remove persist.radio.redir_party_num
Not set anymore in stock 7.1.5.

Change-Id: Id02e1de12732b245ff5c4f3e3a8d3479a3942bf8
2017-01-07 12:02:54 +08:00
Zhao Wei Liew
6af1898f45 land: Update build fingerprint
MIUI version: miui_HM3SGlobal_7.1.5_e696a743c5_6.0

Change-Id: I27210a5787a02333f18d3c8935ff9c19ebced1a9
2017-01-07 11:59:51 +08:00
Zhao Wei Liew
b5610cc5ac land: Build more stuff and add more blobs
Change-Id: I0e236e808c3ccaca7fe761b6896951b1e1a5466a
2017-01-03 13:20:43 +08:00
Zhao Wei Liew
05a90f857f land: Run wcnss_service only once
Change-Id: If221bd85cbfb3b98ccc54dfe058cbf9d84b0e17f
2017-01-03 10:58:05 +08:00
Zhao Wei Liew
cb4a848944 land: Remove core control module
We build this statically into the kernel now.

Change-Id: I0cef6e1d42d2125ee2bf201a1e6ba3717d0a6225
2017-01-03 07:25:34 +08:00
Pavankumar Kondeti
92505e3728 land: don't load core_ctl module
core_ctl is now statically built with in the kernel. No need to
load it.

Change-Id: I7635d6f136ac2c791af8c49989f2db768385d6c3
2017-01-02 21:55:15 +08:00
Zhao Wei Liew
dfad696d54 land: Reformat fstab for neatness
No functional change.

Change-Id: Ibd04b9764c16fe2830d097748235648f15c6ee7d
2017-01-02 19:29:02 +08:00
Zhao Wei Liew
195915442a land: Run fsck on /cache and /persist
These are writeable partitions, so we should fsck them.

Change-Id: If575e4aa665ae4007211731d86f1687dc22640b8
2017-01-02 19:25:39 +08:00
Zhao Wei Liew
43522be692 land: Disable atime on /data and /cache
Simple RO operations will touch the atime value, triggering writes.
This is bad for performance and flash lifetime.

Change-Id: I80626c8b60fbafe16cc833975cea22684343c6d0
2017-01-02 19:22:42 +08:00
Zhao Wei Liew
28693e9528 land: Remove barrier=1 EXT4 mount option
This is the default.

Change-Id: Ic7f2dc20882a61b2513d8516e84a3ad74653c934
2017-01-02 19:20:41 +08:00
Zhao Wei Liew
62db76181e land: Enable F2FS support
Change-Id: I4a1b3eb2e18be583a4089c70943572ec19dc86a1
2017-01-02 19:14:26 +08:00
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