Commit Graph

10 Commits

Author SHA1 Message Date
Arne Coucheron
3f45a4f3de rosemary: Disable serial console notification
Google added a check for this prop in R, and if it's running
it will show a notification about it that it's impacting performance.
Why it's not disabled by default I don't know, so just force disable
it here.

[bengris32] Convert to standalone init script and install to system_ext

Change-Id: Ia06ef15388e7e701ed526664e7748f133ad01ee2
2022-11-12 10:48:38 +03:00
Akash
0c1f0ef04a rosemary: remove seclabel from mi_thermald
Fixes: init: cannot setexeccon('u:r:mi_thermald:s0') for mi_thermald: Invalid argument

Change-Id: I62f55edc8d7c6d52f0c9f2cb64fce4aa51704f00
2022-11-12 10:48:11 +03:00
AgentFabulous
c80503eca7 rosemary: Remove remaining AEE imports from init scripts
Change-Id: I353b478baead81a593651f7c504d94f1a5dce4c1
2022-11-12 10:45:57 +03:00
bengris32
3f3ac99a10 rosemary: Remove fstab entry for recovery partition
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Change-Id: Ie0c7994a4ae07e95b098b5dd90baf3c42eb475b9
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
Debayan
d509acb36c rosemary: Replace ro.vendor.rc with full path
Change-Id: I4209692af02f17ccebac82755faad13834ca88ad
2022-11-07 10:30:32 +03:00
bengris32
921589eaf0 rosemary: Include t-gsi AVB keys
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Change-Id: Ia992c4fc3cafee112bc1f542bc925362f99a3af6
2022-11-07 10:30:32 +03:00
bengris32
2128473f22 rosemary: Reorganise fstab
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Change-Id: I167c9b2c3d6c4a56436e227aed7b4dd4636bf72c
2022-11-07 10:30:32 +03:00
bengris32
16cda86839 rosemary: Initial minimised rootdir
* All AEE, Meta mode, Factory mode related scripts
  have been removed.

Signed-off-by: bengris32 <bengris32@protonmail.ch>
Change-Id: I20ab2c44768ca3f83f8515c2c4455924aaa394d9
2022-11-07 10:30:32 +03:00