Commit graph

84 commits

Author SHA1 Message Date
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
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
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
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
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
5d030db5a8 land: Allow system to write to LED blink files
Change-Id: I74c69b9790097f8a49b7f4db888755df09b031f3
2016-11-09 09:23:47 +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
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
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
653524eee9 land: Simplify init.qcom.sh
Change-Id: I11e862abfb222e514afe042047924dc737592f85
2016-11-06 18:32:57 +08:00
Zhao Wei Liew
43bb34fc21 land: Move cpuset config to power script
Change-Id: I9debac486fd9e15aa526538e84c1fbf7037897e6
2016-11-06 18:32:57 +08:00
Zhao Wei Liew
a1ec7ac7db land: Remove redundant preload
This is correctly handled by a board flag instead.

Change-Id: I0842a4a05965928a822717bd145c96ca496d98df
2016-11-06 18:32:57 +08:00
Zhao Wei Liew
e3700b5f8b land: Clean up some setprops
* Move them to product/
 * Remove obsolete ones

Change-Id: Id0159c636f515e53a0779d9bde2923c4d3492e88
2016-11-03 18:29:13 +08:00
Zhao Wei Liew
8ccdb7d6be land: Remove dependency on QCOM post-boot shell script
Refactor all the relevant stuff to init.qcom.power.rc

Change-Id: I6a4a60a8da01e392885ce302300ab0a25d8b30ad
2016-11-03 14:52:10 +08:00
Zhao Wei Liew
515c28fb0d land: Format /data and /cache on boot if unformatted
Change-Id: I06a8cd48aa55f23e99d50dfebf97a9ae1c752632
2016-11-02 20:55:31 +08:00
Zhao Wei Liew
f1d6c83d5d land: fstab: Remove discard mount option
Android has periodical TRIM.

Change-Id: Ib48cf718cb50f3c200f426975246872fbb559436
2016-11-02 20:24:56 +08:00
Zhao Wei Liew
ebb875566f land: Mount partitions in fstab
Change-Id: Idb393988181e4cd4be840a4079b16ba45e6809c6
2016-11-01 18:05:25 +08:00
Zhao Wei Liew
84a127fdcb land: Stop mounting /cust
This is only for MIUI customisations.

Change-Id: I610b3a05ddd8eb15043d8337da5dec25b04f9c2e
2016-11-01 17:38:36 +08:00
Zhao Wei Liew
b5797934fc land: Add FM support
Change-Id: I5242695322946da1a526650cbb39de46cbacf677
2016-11-01 14:26:53 +08:00
Zhao Wei Liew
148b670d9a land: Enable zRAM
Change-Id: I6edebe7668195de8bcb52cf7fe8fc807e083b247
2016-11-01 14:13:59 +08:00
Zhao Wei Liew
2ecbcc8276 land: Start sensors and set relevant perms
Change-Id: I379465f7a0bb1a8b5539861672c87d6dbcb2ffe5
2016-10-31 22:46:04 +08:00
Zhao Wei Liew
da5ee5a596 land: Set missing display perms and property
Change-Id: I7d710f0b5a70e776304c0d104fd0b5ce6d375fc0
2016-10-31 22:39:12 +08:00
Zhao Wei Liew
32f30a62b0 land: Start relevant services on class main
Change-Id: I7e287b17f44a49244d3c2a8f4f98f03a0157e068
2016-10-31 22:27:04 +08:00
Zhao Wei Liew
63b61111e2 land: rootdir: Refactor post-boot power configuration
This makes it such that we can be more versatile in applying
our power configuration (recovery, different init triggers, etc.)

This will not be included in init.qcom.rc until this is verified.

Change-Id: I3a721ee8f31129f80662c752c370e951a4f80c38
2016-10-31 08:51:53 +08:00
Zhao Wei Liew
b227feb407 land: fstab: Disable dm-verity on /system
We need to boot.

Change-Id: Icd24cf989dec0f9473380be9be71d68deb314c36
2016-10-30 23:08:23 +08:00
Zhao Wei Liew
b30637abe7 land: Mount /boot and /recovery in fstab
Needed by the build system.

Change-Id: I27ee18a799f3bac490f7e0763affa69fc75c1a39
2016-10-30 23:07:31 +08:00
Zhao Wei Liew
dc1dc77497 land: rootdir: Build the init scripts
Change-Id: I564643fa4e91d1299783d60a844bdf9c7d27b60f
2016-10-30 19:11:10 +08:00
Zhao Wei Liew
4de3706b0f land: Add initial product makefiles and dependencies
Change-Id: If94ab716eb95da7cf3c5f58b1265fcf630edc5e5
2016-10-30 17:19:05 +08:00
Zhao Wei Liew
76dc8844c2 land: Add initial board makefiles and misc dependencies
Change-Id: Ia80204fbcdcbd2076299f92f797fa5a4f40e545c
2016-10-30 17:19:05 +08:00