perfetto shows a lot of wasted time done on hwc composition strategy on mtk targets
Change-Id: I88c810c954ae689f5ecd5c8f03e5130c356ae631
Signed-off-by: rmp22 <195054967+rmp22@users.noreply.github.com>
* TBH - hardly any user uses adb root.
* adb root poses root detection risks.
* Most devices are user or userbuild type.
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
RescueParty's aggressive approach to error recovery almost never helps
with the problems we're likely to face, and its risk of data loss is far
too high. Force-disable it entirely and remove all other conditions,
especially those that depend on data integrity in the first place, to
reduce the risk of RescueParty triggering falsely and causing data loss.
Note that it is still possible to force-enable RescueParty for testing
purposes using the persist.sys.enable_rescue property.
Android 15 limits refresh rate to 60hz for games unless we enable the developer option 'Disable default frame rate for games' manually.
Adding this prop enables it by default.
Pre-optimizing prebuilt Gapps is not needed because they are mostly
updated via Play Store and device will optimize them on install.
Save some space on /product partition and reduce build time.
Signed-off-by: Le Hong Duc <hongducthbk123@gmail.com>
Devices that shipped on API 33 or higher need to set
ro.product.first_api_level to 32 in order to pass integrity.
Set SPOOF_FIRST_API_LEVEL_32 := true in BoardConfig*.mk to enable.
Signed-off-by: AnierinB <anierin@evolution-x.org>
* OEMs like OnePlus and Nothing detect camera package name to unlock features like 48mp.
* Use TARGET_CAMERA_PACKAGE_NAME to specify the package name.
Signed-off-by: AnierinB <anierin@evolution-x.org>
Squashed commit of the following:
commit b11f60fd9b601caa10f8caec5c9f3a10c5082d68
Author: Jared Duke <jdduke@google.com>
Date: Wed Feb 16 15:43:55 2022 -0800
Enable R8 code shrinking for system_server on Pixel
Opt in to whole-program Java optimizations via R8 for Pixel devices.
This can be explicitly disabled during builds via
`SYSTEM_OPTIMIZE_JAVA=false m`.
Note that this change only enables code shrinking for system_server,
and should not impact stack traces. Additional R8 optimizations
will be enabled after broader improvements to retracing infrastructure.
See go/aperf-system-r8-faq for additional details and guidance. Also
note that R8 shrinking optimizations are implicitly disabled in ENG builds.
Enabling for non-Pixel devices will proceed in stages as we flesh
out infrastructure and validate with test populations.
Results: services.jar (20MB -> 17MB)
Bug: 210510433
Test: m + atest FrameworksServicesTests + manual testing on Raven
Change-Id: I13c0674105aa2cab7722f52344486e86e3bde26b
commit ecc5901ee57253edb0fdde5d5099c4e1078f7b6f
Author: Jared Duke <jdduke@google.com>
Date: Tue Jan 4 15:21:39 2022 -0800
Enable SystemUI R8 optimizations for Pixel
Opt in to whole-program Java optimizations via R8 for Pixel devices.
This can be explicitly disabled during builds via
`SYSTEMUI_OPTIMIZE_JAVA=false m`.
Note that this change does introduce changes to stack traces that
may require retracing for fully accurate debugging and diagonstics.
See go/aperf-system-r8-faq for additional details and guidance. Also
note that optimizations are implicitly disabled in ENG builds.
Enabling for non-Pixel devices will proceed in stages as we flesh
out infrastructure and validate with test populations.
Results:
* SystemUIGoogle.apk (40MB -> 35MB)
* SystemUIGoogle.odex (32MB -> 25MB)
Test: m + atest SystemUITests + presubmit + manual testing on Raven
Bug: 203472868
Change-Id: I67ff2c06885b21164a3034e9922163337e8787f3
Change-Id: Ib89500d70780fdf8485aaf04976d4cc607b4ccf7