53 Commits

Author SHA1 Message Date
Asriadi Rahim
f8cc6e2155 taimen: Increase system_ext size partition
* Since 500MiB system_ext is not enough for A14, so need upgrade to 700MiB for build complete :)
* Ofc need flash new repart script

Signed-off-by: Asriadi Rahim <asriadirahim03@gmail.com>
2024-06-08 21:37:48 +08:00
Asriadi Rahim
026a790a81 taimen: Build specific kernel_defconfig
* Eucalyptus taiemn defconfig

Signed-off-by: Asriadi Rahim <asriadirahim03@gmail.com>
2024-06-08 21:35:57 +08:00
Asriadi Rahim
e2f7d97e5c taimen: Define fstab.hardware
* Since walleye and taimen require repartitioning
so the definition of the system_ext is also different, we need different fstab adjustments,
on the other hand this is necessary because we are no longer mounting from the kernel side.
* Switch to eucalyptus kernel

Signed-off-by: Asriadi Rahim <asriadirahim03@gmail.com>
2024-06-08 21:34:49 +08:00
Christopher N. Hesse
8b5323ff25 taimen: Remove prebuilt kernel modules copy rules
Change-Id: Ifc1320c085ab8c7670921b638c5e33754d6cfb6b
2024-06-08 21:31:00 +08:00
JarlPenguin
32dc7d5f70 taimen: defined product & system_ext as A/B partitions
This is done to distribute the system space more evenly thanks to product partitions.
2024-06-08 21:21:16 +08:00
PixelBoot
d0dd6e00e1 taimen: define local A/B ota partitions
Partitions vary between walleye and taimen now.
No longer define A/B OTA partitions in common wahoo tree.
2024-06-08 21:21:16 +08:00
Tao Bao
5e83695f18 Add recovery.wipe file.
Bug: 36427762
Test: lunch muskie-userdebug && make bootimage. Check
      $OUT/recovery/root/etc/recovery.wipe exists.
Change-Id: Id86c53d62d2b5a293f22b37fef3c64caa82f15f1
2024-06-08 21:21:16 +08:00
Dan Pasanen
d29221bcd3 taimen: Disable ext4 share_dup_blocks
* This allows us to remount ext4 partitions read-write

Change-Id: Idb66b7290a27550db70441c38b4ab3207bdcaff7
2024-06-08 21:19:46 +08:00
Tianjie Xu
06ff813fcc Use more specific option to set dark mode
We have switch misc_writer to use more specific flags to set the dark mode.
Modify the caller as well.

Bug: 131775112
Test: set dark mode, check device boots with dark mode
Change-Id: Ic79a83f58c3b0ca09dd530f28e93da234ae4463a
2019-11-11 15:50:15 -08:00
Tao Bao
449d5897ea Merge "Dark boot on dark theme." into qt-dev
am: 02e6a6128b

Change-Id: I23efa69331d722320d112ae1fee7e3aff82e78a0
2019-06-24 16:10:29 -07:00
Tao Bao
f3e4b070a1 Dark boot on dark theme.
Bug: 113028175
Bug: 134430124
Test: Build and flash taimen with the matching bootloader change. Toggle
      dark mode in Settings. Check serial log regarding the start of
      vendor.theme_{set,clear} services. Also read the value via `dd bs=1
      skip=2048 if=/dev/block/sda5 count=32 | xxd` to confirm the change.
Test: Trigger a factory reset via Settings. Check the value in /misc
      after the reset.
Change-Id: I3ae9ac41d689a4d0a9d5e0275de92c35dda068b7
2019-06-19 15:56:36 +00:00
Felix
b579e740d3 sepolicy: Use BOARD_VENDOR_SEPOLICY_DIRS am: 974f5d850b
am: bd3ed8b86d

Change-Id: Ide1ec0186adb1a3ea34bc42cec76a8f6d756b417
2019-05-29 17:32:47 -07:00
Felix
974f5d850b sepolicy: Use BOARD_VENDOR_SEPOLICY_DIRS
BOARD_SEPOLICY_DIRS is deprecated.

Signed-off-by: Felix <google@ix5.org>
Change-Id: Ic45c6692eff416a805f522fc7569d441c05e00cc
2019-05-28 14:12:04 +02:00
Orion Hodson
87aabdedda Taimen: Enable ext4 share dup blocks
Resolve system image build issues by enabling extra partition space.

Bug: 120448575
Bug: 128876541
Test: lunch taimen-userdebug && m -j100 && flashall && boot
Change-Id: I19f49a09f8105ee30606c4f0f1423a06a71deb73
2019-03-19 16:38:50 +00:00
Petri Gynther
afdb0ea9d6 Remove unsupported gcc and kcfi kernel modules code
Change-Id: I96b3d77be88950470f7f9d57b7d8adde9e1a18b0
2019-02-04 22:17:15 -08:00
Ahmed ElArabawy
2867702c34 WiFi: Switch wifi driver in wahoo into DLKM
Current implementation for Taimen is to build the WiFi driver as a static
module (part of the kernel image)
This commit uses a dynamic linkable Kernel Module which is loaded at
init, and never unloads

Bug: 73177354
Test: Manual test

Change-Id: I7c10296c2bc54e7a93e85464989030a1aa6fd7d7
Signed-off-by: Ahmed ElArabawy <arabawy@google.com>
2018-03-29 09:18:45 -07:00
Hridya Valsaraju
c9b20d2236 Merge "Indicate index of device tree overlay applied for Taimen" am: daa30b0b95 am: 39747668db
am: 75c4586090

Change-Id: Idd15b18eade5f29ec9cd80a59e324d4008556982
2018-02-27 18:48:04 +00:00
Hridya Valsaraju
05e6fff331 Indicate index of device tree overlay applied for Taimen
Bug: 67779848
Test: make -j32
Change-Id: I6196805b87bebb2eef74993d3ca31e5511c3129f
2018-02-27 00:07:19 +00:00
Vishwath Mohan
ef7aece760 Add support for taimen_kcfi targets.
Adds support for a kernel CFI enabled target for Taimen.

Bug: 67506682
Test: lunch taimen_kcfi && m -j50
Change-Id: I79519e229e8186532425b69860b70f0b51d716ec
2017-11-21 14:35:17 -08:00
Siqi Lin
5e7b2dcfbe Add taimen_kernel_debug_* targets
Set paths for kernel modules for the new debug targets.
The kernel to use for each target is specified in the lunch
target Makefile.

Bug: 68266758
Test: lunch new targets and make
Change-Id: Ib4a8ccf7f84c0bf106d5d937b420bca13f6e6d47
2017-11-03 14:17:52 -07:00
Patrick Tjin
dcd43a0824 Remove taimen_clang
Taimen kernel is default to clang already, no need for the target.

Bug: 66686376
Change-Id: I44a1309e252c58df4bf886a9500bbdd9fad34ecc
Signed-off-by: Patrick Tjin <pattjin@google.com>
2017-09-22 17:35:56 +00:00
Adrian Salido
c3f3b300aa display: Change low persistence mode brightness to 50nits
Bug: 36660610
Change-Id: I85e4642b549b3c67f873748a3ff00cb942894ddb
2017-08-08 16:55:01 -07:00
Steve Pfetsch
a749875aa0 sepolicy: Allow adb shell access to ftm4 autotune sysfs node
Bug: 63911898
Change-Id: Id39f48709253ce96ae7910f4e3157e2c2eda558a
2017-08-07 11:27:12 -07:00
jiwon912.choi
614dc65297 display: Change low persistence mode brightness
Bug : 62663757

- Change low persistence(LP) mode brightness from 255 to 159
- If panel version is 2-1, Set LP mode brightness to 255

Change-Id: Ie3754ac9ab11347e4f4edf91a607a17fc6b776fc
2017-07-07 13:30:13 -07:00
Tao Bao
b540c45ae2 Define rounded corner setting for recovery.
Bug: 62732748
Test: Boot into recovery; check that recovery menu and 'View recovery
      logs' don't have obscured text.
Change-Id: I03387573a4e474bff7d823f5390acef61a9312e8
(cherry picked from commit 174e936f52)
2017-06-23 09:39:09 -07:00
Siyuan Zhou
8d3f549111 Added directory to kasan ko files.
Change-Id: I9a2f5c972dbc30c48312af8e8a05ece568ba68aa
2017-06-02 11:01:28 -07:00
eunsoo.na
c91d4b4b08 taimen: Add lge battery linux kernel module
Test: lge_battery is loaded (logs present)
Bug: 62023915
Bug: 36789160
Change-Id: I21bbb1f4beb46e603ccf844003e983b7ad55667d
Signed-off-by: eunsoo.na <eunsoo.na@lge.com>
2017-05-23 13:58:58 -07:00
Nick Desaulniers
7291d91374 Merge "taimen: fix taimen_gcc builds" 2017-05-22 23:47:48 +00:00
Nick Desaulniers
32961d2b10 taimen: fix taimen_gcc builds
A comment inbetween a line continuation stops the line continuation,
producing invalid syntax.

Change-Id: Icfcc30f14f3a5c49c4a3ede9ed872e5aa668ffe8
2017-05-22 15:00:54 -07:00
Andrew Lehmer
c6ad038b87 Revert ALS/prox recalibration init script
Bug: 38377320
Test: loaded on taimen
Change-Id: Ifce25901117afe295055074863ae3993651e27db
2017-05-22 12:48:38 -07:00
Nick Desaulniers
3bf0d00606 Merge "taimen: include correct kernel modules" 2017-05-19 22:16:02 +00:00
Nick Desaulniers
ff5370caae taimen: include correct kernel modules
Based on whether the lunch target is set to taimen, taimen_clang, or
taimen_gcc.

Bug: 32455818
Change-Id: I0299aa01649ca3fa5ebf050364da7f15a7b240da
2017-05-18 14:44:33 -07:00
Andrew Lehmer
ffbe89e90e Fix ALS/prox calibration at init if needed
Bug: 38066490
Test: loaded on taimen and verified behavior and registry
Change-Id: I08c27bd3f62dcad90854815e70be49fb21294db9
2017-05-17 16:18:47 -07:00
Andrew Lehmer
c555bae9d2 Increase low-persistence mode brightness
Bug: 38245535
Test: loaded on taimen and ran DreamBench
Change-Id: I67f15668336eaacb47f95782ba5e0f62adceb073
2017-05-16 15:42:22 -07:00
Joel Fernandes
23385a0650 taimen: Add LISA related script path for storing LISA scripts
Bug: 38046504

Change-Id: Ie33dd55be55c898710ac8fdb60651e3960a690de
Signed-off-by: Joel Fernandes <joelaf@google.com>
2017-05-16 14:37:58 -07:00
Gopinath Elanchezhian
c536a32003 Merge "Part 2 : Board config change for perf setup test script." 2017-05-10 19:27:19 +00:00
gopinath
42db652a54 Part 2 : Board config change for perf setup test script.
b/37865876

Change-Id: I60c338282fbb895f48958773347eda23e89f86e6
2017-05-10 09:54:48 -07:00
Max Bires
0aaa3aebd4 Merge "Turning enforcing on for taimen" 2017-05-10 02:18:50 +00:00
Thierry Strudel
871c969220 move fstab and BOARD_AVB_ENABLE to wahoo
Change-Id: Ide7f7d4dcd6d4d67f209943e2ce2048015e1a010
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2017-05-09 12:17:32 -07:00
Max Bires
f7a98ea137 Turning enforcing on for taimen
Sanity testing was done around noon ToT today for the following:
GPS/Maps
Chrome
Wi-Fi/Wi-Fi Calling
LTE
VoLTE
Camera (HDR on/off, Video Slo-Mo on/off)
Start-Up Wizard
Play App Download and Launch
Fingerprint
Account Registration

Bug: 34784662
Test: Enforcing is on globally on taimen, individual permissive domains are still
permissive

Change-Id: I113c5e8959fbd07ae689644223dbea7a5a8a6b32
2017-05-08 15:24:14 -07:00
Thierry Strudel
64db4b6e3e Use BOARD_VENDOR_KERNEL_MODULES for modules instead of PRODUCT_COPY_FILES
Change-Id: I676cda3893393467661d5db0adb499027d24b3c9
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2017-05-08 14:59:15 -07:00
Vineeta Srivastava
901fc8bbad Add proprietary to paths
Bug: 36524009
Change-Id: If3147b0d6cc643813e391a7d2c65a158c43a5a1b
2017-04-28 19:03:52 -07:00
Max Bires
a66ba7a73d Setting Taimen into permissive to allow wahoo to turn on enforcing.
Taimen will remain in permissive until Monday, May 1st when this change
will be reverted so as to give a week for teams to write policy for the
actual devices that just came in.

Bug: 34784662
Test: Taimen is in permissive mode
Change-Id: I67fc3c0d22dac2956437957e1f7575414cb8a045
2017-04-24 10:16:14 -07:00
Pat Tjin
27fd464e41 Merge "Revert "REVERT ME taimen: enable permissive mode SELinux for bringup"" 2017-04-13 17:27:49 +00:00
Pat Tjin
349178a100 Revert "REVERT ME taimen: enable permissive mode SELinux for bringup"
This reverts commit adf15a0710.

Change-Id: Ic317bd8fbdec58722318b96b53f981421edfe6c9
2017-04-10 23:42:14 +00:00
Vineeta Srivastava
f2be2edc3b Merge "Enable AVB feature and set boot partition size" 2017-04-04 05:15:52 +00:00
Vineeta Srivastava
0402af370d Split fstab from wahoo
Change-Id: Idb3b7b539ed7c2b6b7db91ca0b77bf1b35cbbd13
2017-04-04 03:31:02 +00:00
Devin Kim
89b56a800e Enable AVB feature and set boot partition size
Change-Id: Ied57a2b190365d43333648faabbad80313bfd06a
2017-03-30 16:17:00 -07:00
Patrick Tjin
adf15a0710 REVERT ME taimen: enable permissive mode SELinux for bringup
Test: Build
Change-Id: If10d0b6ded3c0c3dc076d8976935412eaad15201
2017-03-10 15:02:44 -08:00
Thierry Strudel
22c65953d7 BoardConfig: default to console ON
Change-Id: Ia19f652b3b7d2e4ae366b5ae53886ae664b1b2df
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2017-03-07 16:28:20 -08:00