Commit Graph

7 Commits

Author SHA1 Message Date
bengris32
38c0cbd8a8 rosemary: Build create_pl_dev
* create_pl_dev is an OSS replacement for mtk_plpath_utils.

Change-Id: I0c484acaf582d2e802116c4927d98e98e2e7a179
Signed-off-by: bengris32 <bengris32@protonmail.ch>
2024-03-01 15:44:06 +01:00
bengris32
ca7c10c3e5 rosemary: Sleep 2 seconds before attempting to turn on backlight
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Change-Id: I2c3d63754e4cf6f555a2af56b463a24aef17acae
2022-11-12 10:45:57 +03:00
bengris32
76979ec2c5 rosemary: Create A/B symlinks for preloader in recovery
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Change-Id: Ibe71fe2477025c5abf293229eafbea27a20d7f8c
2022-11-12 10:45:57 +03:00
bengris32
cc10db6dbd rosemary: Ensure nonblocking ffs is disabled everywhere
* Move the persist.adb.nonblocking_ffs property into
  PRODUCT_DEFAULT_PROPERTY_OVERRIDES to ensure its set
  everywhere.

Signed-off-by: bengris32 <bengris32@protonmail.ch>
Change-Id: I543194ffd3a87dc4ff3093cb6919c194e501ffa2
2022-11-12 10:44:26 +03:00
John Stultz
8fef010592 rosemary: Disable nonblocking_ffs to avoid recent crashes with
adbd

Recent changes to adbd have enabled nonblocking_ffs by default.

These have seeminly uncovered some bad memory corruption in the
kernel ffs gadget driver on every kernel I've tried so far.

Unfortunately I've not been able to diagnose what is going wrong,
so for now, lets disable the nonblocking_ffs.

We still need to root cause the issue as it's a problem even with
the mainline kernel on HiKey, so its likely a generic kernel issue.

Disable nonblocking_ffs in recovery, too.

Change-Id: I7a0797cc9e8e5f263e533beea23642f768c0f017
Signed-off-by: John Stultz <john.stultz@linaro.org>
2022-11-12 10:44:26 +03:00
bengris32
6ed1aaa5ab rosemary: Set sys.usb.configfs in recovery
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Change-Id: I9896f6be050c64238027c2df3ef9fa3a60180fbe
2022-11-12 10:44:26 +03:00
Nolen Johnson
7bf1d20c84 rosemary: Set sys.usb.ffs.aio_compat in recovery
Change-Id: Id0275b6a4a5828d038d378124798c33f7784cd47
2022-11-12 10:44:26 +03:00