Commit graph

269 commits

Author SHA1 Message Date
Michael Bestas
31e0f72622
zumapro: Remove userdebug/eng configuration
Change-Id: Ie1e8b6bbebdfac97f8bc382e41c70cc8a32caf07
2025-06-26 08:06:46 +03:00
Michael Bestas
3a7805ad6d
zumapro: Remove AOSP gerrit configuration
Change-Id: I3bf3987b08a710ddf278cae5243946fae70fce6a
2025-06-26 08:04:35 +03:00
Michael Bestas
d882fcf2d8
zumapro: Update init scripts from BP2A
Change-Id: I9e36e0faec4860fe714c0151b3cb7f373cbcf0ea
2025-06-26 08:03:32 +03:00
Michael Bestas
2572fa9c4d aml_tz6_351400020 (13155446,com.google.android.go.tzdata6,com.google.android.tzdata6)
-----BEGIN PGP SIGNATURE-----
 
 iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZ9i73wAKCRDorT+BmrEO
 eCszAKCDPz9XHfGe8MRVWRzNq2pXdXVF0QCbBl0InY10bs/yticTO7E4W1RxUWE=
 =J+Dk
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN SSH SIGNATURE-----
 U1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgPpdpjxPACTIhnlvYz0GM4BR7FJ
 +rYv3jMbfxNKD3JvcAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5
 AAAAQANlQ2btTS0n2YdrvKk3D4kWbUY6HRHGqEzeECpZ4glbhl4335hV9PrxnCyC2mIGEZ
 ME6pr+cH7LSVMGMTbuAwY=
 -----END SSH SIGNATURE-----

Merge tag 'aml_tz6_351400020' into staging/lineage-23.0_merge-aml_tz6_351400020

aml_tz6_351400020 (13155446,com.google.android.go.tzdata6,com.google.android.tzdata6)

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZ9i73wAKCRDorT+BmrEO
# eCszAKCDPz9XHfGe8MRVWRzNq2pXdXVF0QCbBl0InY10bs/yticTO7E4W1RxUWE=
# =J+Dk
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue Mar 18 02:18:39 2025 EET
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [ultimate]

# By Piotr Klasa (4) and others
# Via Android (Google) Code Review (32) and others
* tag 'aml_tz6_351400020': (42 commits)
  zumapro: fine tune c2.android.av1-dav1d.decoder for 25Q1
  Use 2025-03-01 deqp level for GLES
  Use 2025-03-01 deqp levels for Vulkan
  Revert "Use 2025-03-01 deqp levels for GLES and Vulkan"
  Use 2025-03-01 deqp levels for GLES and Vulkan
  init.zumapro.soc.rc: Delete rampup and util_est setup
  move common init perf settings to gs_common
  Include 16k board config only when 16k kernel exist
  Revert "move common init perf settings to gs_common"
  Revert "Revert "16KB: zumapro: Move copy_efs_file_to_data script..."
  Revert "16KB: zumapro: Move copy_efs_file_to_data script to gs-c..."
  16KB: zumapro: Move copy_efs_file_to_data script to gs-common
  Revert^2 "Move 16 KB dev option configs"
  Revert "Move 16 KB dev option configs"
  thermal: support low power mode prop switch
  Move 16 KB dev option configs
  move common init perf settings to gs_common
  Reject e911 call during non-emergency satellite session.
  Disable NFC during satellite
  zumapro: Clean up dbc and pm properties.
  ...

 Conflicts:
	overlay/frameworks/base/core/res/res/values/config.xml

Change-Id: I31ce98a3f878176cc1e03a3709fe68e8f62d932a
2025-06-23 05:15:01 +03:00
Michael Bestas
19beed9713 Android 15.0.0 Release 21 (BP1A.250305.020)
-----BEGIN PGP SIGNATURE-----
 
 iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZ8fKCAAKCRDorT+BmrEO
 eGxiAJ9kdOB3bGMC2D+BZ2qX44tDh4U6UwCfZVmV34e2iZoBr1HUvv+PFbdBh44=
 =aWWI
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN SSH SIGNATURE-----
 U1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgPpdpjxPACTIhnlvYz0GM4BR7FJ
 +rYv3jMbfxNKD3JvcAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5
 AAAAQFSO/dKxh4Sd8uhs5QJzCKI6gvYCc8lwQ9mQNatuwPvUcY0egzeoXFaHBFWB6GGqYj
 I2JQr0ogw7/XpRnzDYOA8=
 -----END SSH SIGNATURE-----

Merge tag 'android-15.0.0_r21' into staging/lineage-22.2_merge-android-15.0.0_r21

Android 15.0.0 Release 21 (BP1A.250305.020)

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZ8fKCAAKCRDorT+BmrEO
# eGxiAJ9kdOB3bGMC2D+BZ2qX44tDh4U6UwCfZVmV34e2iZoBr1HUvv+PFbdBh44=
# =aWWI
# -----END PGP SIGNATURE-----
# gpg: Signature made Wed Mar  5 05:50:32 2025 EET
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [ultimate]

# By Rick Yiu (8) and others
# Via Android (Google) Code Review (59) and others
* tag 'android-15.0.0_r21': (83 commits)
  Reject e911 call during non-emergency satellite session.
  dump_power: add battery caretaker dump into bugreport
  [Pixel VPN] Apply reviewed default permissions
  Configure satellite NIDD APN name for Zuma pro devices
  Add country codes of Canda and EU countries to the satellite allowed list
  Add enhanced geofencing data and satelltie access config json for Zuma Pro
  Add enhanced geofencing data and satelltie access config json for Zuma Pro
  modem_svc: use modem_svc_sit version sepolicy
  Set permission for rampup_multiplier
  Use SCHED_QOS_SENSITIVE_EXTREME_SET for InputPolicy
  Add SCHED_QOS_POWER_EFFICIENCY profiles
  update health HAL dependency
  Add `config_satellite_carrier_roaming_esos_provisioned_class` for  the intent to trigger satellite provisioning
  Change TARGET_RECOVERY_UI_LIB to use fully qualified names in zumapro
  Add `config_satellite_allow_tn_scanning_during_satellite_session` flag.
  Fix kasan logic
  Clean up unnecessary data_connection_5g_plus overlay
  Vibrator: Update compatability matrix
  [NTN][VZW P2P] Add config to enable sending check message datagrams when satellite modem is not connected.
  init: zuma: move sched rate limit to late init
  ...

Change-Id: I9c4e0b550fe27df45e16097bc061315b1219da26
2025-03-09 10:59:35 +02:00
Qais Yousef
bde78c822c init.zumapro.soc.rc: Delete rampup and util_est setup
They are now in a common init file.

Bug: 335874870
Flag: EXEMPT not supported for init.rc files
Signed-off-by: Qais Yousef <qyousef@google.com>
Change-Id: I926ffd1cb01b8ee331737c0c335da67eefe76bcc
2025-01-28 17:44:33 +00:00
Piotr Klasa
d49b94adde move common init perf settings to gs_common
compared to ag/31352563 I did not transfer the settings for "write /sys/devices/system/cpu/cpuidle/current_governor teo", which caused the problem

Test: Verified if all values ​​of transferred settings are as they should be after rebooting the device, and and checked that there are no new selinux errors for hal_power_default, verified all metrics that caused power regression in the previous commit on abtd

Bug: 335874870

Flag: EXEMPT not supported by this component yet

Change-Id: If0bdfb529d60633cc5623120eed720c421a735fb
2025-01-23 03:36:59 -08:00
Piotr Klasa
08d2cadeb8 Merge "Revert "move common init perf settings to gs_common"" into main 2025-01-21 01:27:07 -08:00
Piotr Klasa
f1e2f154d6 Revert "move common init perf settings to gs_common"
Revert submission 31215196-move_common_init_perf_settings_to_gscommon

Reason for revert: Power Regression
Bug: 390502171

Reverted changes:
/q/submissionid:31215196-move_common_init_perf_settings_to_gscommon

Change-Id: I833a06e6e0b4bda120ac107e17360f9c0d0c1dfa
2025-01-20 07:31:38 -08:00
Treehugger Robot
0542d480bb Merge "thermal: support low power mode prop switch" into main 2025-01-17 07:15:34 -08:00
Piotr Klasa
23e07013ed Merge "move common init perf settings to gs_common" into main 2025-01-16 01:38:35 -08:00
Peter (YM)
2d2db04567 Merge "thermal: update acces permission to flash therm" into main 2025-01-15 18:18:18 -08:00
TeYuan Wang
b8d3c0def1 thermal: support low power mode prop switch
Add lower power mode property toggle to switch thermal hal config

Bug: 363070211
Test: toggle property to confirm thermal config switch
Flag: EXEMPT test only
Change-Id: I932c8d29e2a0eb939ab8f8f7c4c79d02153f49eb
2025-01-15 18:09:27 +00:00
Piotr Klasa
807f9037ee move common init perf settings to gs_common
Test: Verified if all values ​​of transferred settings are as they should be after rebooting the device, and and checked that there are no new selinux errors for hal_power_default
Bug: 335874870
Flag: EXEMPT not supported by this component yet

Change-Id: I8b65fa99dfc84f7d676eba1449a0d32b7d1be846
2025-01-14 14:11:54 +00:00
Zouberou Sayibou
0ab2630c0d zumapro: Clean up dbc and pm properties.
Bug: 384978512
Flag: EXEMPT clean up only
Change-Id: I14f66b1bf42631757ab0e9acda6dd7c30c542a96
Signed-off-by: Zouberou Sayibou <zouberou@google.com>
2025-01-09 22:16:36 -08:00
Peter (YM)
559d473d38 thermal: update acces permission to flash therm
Bug: 384874009
Test: Build and boot to home
Change-Id: Ib0a2dec9e4e93726c8d53cad73be449f8d2e219b
Signed-off-by: Peter (YM) <peterym@google.com>
2025-01-03 07:42:27 +00:00
Piotr Klasa
a63fbd1ca8 Move all vendor_sched parameters and permissions to init.pixel.perf.rc
Bug: 335874870
Test: Checked that permissions and values ​​for all affected files are correct (ls -l, cat)
Flag: EXEMPT not supported by this component yet
Change-Id: I56f8ac747a97e866e2a663ab70c141871330ec8f
2024-12-11 15:31:11 +01:00
Michael Bestas
4772d02af9 Android 15.0.0 Release 6 (AP4A.241205.013)
-----BEGIN PGP SIGNATURE-----
 
 iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZ1IssQAKCRDorT+BmrEO
 eCS1AKCAqQqQ2PZ/HMIFuzLZPWfZjvCRDACeJWblhIHa+ODC9PYstxkKALZVXCo=
 =E9VY
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQJLBAABCgA1FiEEHrBYPudH862glXQBzJUERRm+ZmkFAmdY7PoXHG1rYmVzdGFz
 QGxpbmVhZ2Vvcy5vcmcACgkQzJUERRm+ZmlTuBAAss0qZU+h9oujq988gz6/SCTb
 Np3yMsknkUSdP9RcKm7qJBXpcdntcVtfUUyrOQ0Ki0myfdokSd8IMtZ0zFUewbiv
 QPpQJzt89htSwVsYIdnDJP9voegljkSLMSBCSiEg5uF+oW4uS2GFEtr/uDYHnAnX
 JmdrEps/Qreu42Zwgw9cItb1gQUzu9WNeRK53cy28TmTzPbx43nho0SYOs6sCDPN
 +2kk9EIRBZpPSh5bJB6Mqu2A5vSLqzM0YfX98iFQfWpfrOYlpFt1uKwI5SP9bu4L
 HSJRaSzIugentYQC89dWb2NLuFTWKgsWHSoCt9iqc4i8CDOkpOFv/Jw6xZM9HlPm
 Kk64SeiuCvqrg3rLz/muMae7bpNI2GHs3g3aSk7ibfcG4gCNmYzqXlyUI5jawRrQ
 wnbXflME2BIlfG0xGbqXh5lj+xK5DrsNRuyVZVlu0orw8RI3ZqrpCv7Bd6SI6vpM
 Gys+gR572DfO50OmuE7KzfV0OP6PLymM9/zxnK43qKLkaJ8yWruvpgtUlDcB85ed
 86FUe2iAhvQU+t88M/nC0YBR+PptB4HrlMLyUoRgfb6odq+kmqKfL620pmIKWssG
 qvs4boCVzvCzaNxJJj1bvFutB3get/0W0+PK8kWXiLnnVOheV8TsSnBonDXxfSOw
 S2KzBh/EIh+j/ICOces=
 =ELmX
 -----END PGP SIGNATURE-----

Merge tag 'android-15.0.0_r6' into staging/lineage-22.0_merge-android-15.0.0_r6

Android 15.0.0 Release 6 (AP4A.241205.013)

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZ1IssQAKCRDorT+BmrEO
# eCS1AKCAqQqQ2PZ/HMIFuzLZPWfZjvCRDACeJWblhIHa+ODC9PYstxkKALZVXCo=
# =E9VY
# -----END PGP SIGNATURE-----
# gpg: Signature made Fri Dec  6 00:44:01 2024 EET
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [marginal]
# gpg: initial-contribution@android.com: Verified 2483 signatures in the past
#      3 years.  Encrypted 4 messages in the past 2 years.
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg:          It is not certain that the signature belongs to the owner.
# Primary key fingerprint: 4340 D135 70EF 945E 8381  0964 E8AD 3F81 9AB1 0E78

# By Juan Yescas (14) and others
# Via Android (Google) Code Review (81) and others
* tag 'android-15.0.0_r6': (118 commits)
  Set auto prefer idle task name
  Set priority task name
  Change permission of fg_wi file nodes
  Delete TARGET_CPU_VARIANT_RUNTIME.
  Force EST loopback for hidden menu testing
  Add input event profile to mitigate input latency of input threads
  Control the "init_dpm.sh" to be built in zumapro devices
  [ZumaPro] Change default MTE mode to Asymm.
  usb: modify initial_descriptor_timeout to 500ms
  Control the modules built from vendor/google_devices/zumapro/prebuilts/gpu
  Revert "Revert "Move PRODUCT_SHIPPING_API_LEVEL to defined by de..."
  Revert "Disable EHLD"
  zumapro: avoid vector<const T>
  16kb: Select proper fstab for targets that only boot 16kb kernels
  16kb: Set f2fs block size to 16384 for targets that only boot 16kb kernels
  16kb: Config fstab for targets that only boot 16kb kernels
  Deprecate preloaded_nanoapps.json
  Delete PRODUCT_FULL_TREBLE_OVERRIDE.
  Control GoogleDialer built from zumapro/proprietary/GoogleDialer
  Add pixellogger with non radio
  ...

Change-Id: I8b9080bd2f089873aa4f2845913c2cf24d7a6857
2024-12-11 03:38:02 +02:00
Nathan Kulczak
056b4d427e Merge "Vibrator: Add permissions for owt_lib_compat" into main 2024-12-10 17:44:25 +00:00
Rick Yiu
20ca1e9f98 Set permission for rampup_multiplier
Bug: 355612114
Flag: NONE init rc file does not support flag
Test: build pass
Change-Id: I410866488af508cb02d7fa509f4458fbdf676078
2024-12-06 01:53:25 +00:00
Joner Lin
a55772f311 Merge "init.zumapro.board.rc: bluetooth own uart debug node" into main 2024-12-05 05:11:48 +00:00
Jenhao Chen
68fed19e40 Merge "init: zuma: move sched rate limit to late init" into main 2024-11-27 14:58:16 +00:00
Will Song
7f6e9bb150 init: zuma: move sched rate limit to late init
Since pixel performance has a shared configuration,
we need to move override values into late init.

Bug: 381100494
Test: Boot
Flag: EXEMPT bug fix
Change-Id: I359c33622f18c9345ee3f250ca5d5c61bc1440cc
2024-11-27 02:46:54 -08:00
Kelvin Zhang
62ef44c3d8 Merge "Allow metadata to be formatted as ext4" into main 2024-11-25 18:39:33 +00:00
jonerlin
2aec743b4b init.zumapro.board.rc: bluetooth own uart debug node
Bug: 376774204
Test: Manual
Flag: EXEMPT project configuration patch
Change-Id: Iedd5c0e9fd7c917c152c156adffb62f9043f11c5
2024-11-25 17:26:10 +00:00
Will Song
4ee7fadcef Revert^2 "devices: Move cpufreq perf settings to gs-common"
Re-land after making SELinux corrections.

35162f9a7c

Bug: 335874870
Flag: NONE code refactor
Test: Boot and check parameters
Signed-off-by: Will Song <jinpengsong@google.com>
Change-Id: I8a7c50d9d4a8e77714a7a87d7d974decdac1e877
2024-11-22 13:51:52 -08:00
Kelvin Zhang
40d34122ef Allow metadata to be formatted as ext4
This does not convert /metadata to ext4, the default is still f2fs.
EXT4 would only be used if we are on 16KB mode

Flag: EXEMPT bugfix
Bug: 379759696

Change-Id: I854f563ecd49fc3d7d73ede581cf3d3081c5e555
2024-11-22 18:11:15 +00:00
Nathan Kulczak
90782c6262 Vibrator: Add permissions for owt_lib_compat
Add permissions to access owt_lib_compat sysfs attribute

Bug: 346570576
Flag: vendor.vibrator.hal.flags.enable_pwle_v2
Test: Flash to device and access sysfs
Change-Id: I2c59c3328f65343e4cefdb675de2ad630916f9b2
Signed-off-by: Nathan Kulczak <nathankulczak@google.com>
2024-11-22 06:30:23 +00:00
Treehugger Robot
94baa04f6b Merge "correct the naming of frame_interval_ns and expected_present_time_ns" into main 2024-11-15 06:54:45 +00:00
Joen Chen
ea2353c51a correct the naming of frame_interval_ns and
expected_present_time_ns

Bug: 378992900
Flag: EXEMPT bugfix
Test: swipe home screen, and check the notifyExpectedPresent()
Change-Id: I062e94c30cdf38da3138617afe0acf01bc1de78a
2024-11-14 06:17:46 +00:00
Juan Yescas
1ef792a230 Move modem setup to init.persist.rc
When the modem setup is done is init.efs.rc file,
there is boot time regression in the 4kb configuration.

Bug: 374435821
Flag: EXEMPT bugfix
Test: Build and tested in abtd
Change-Id: I909f9eb45f783fda45e7782419845d236c263aa0
2024-11-13 15:08:23 -08:00
Steven Tsai
512af9cd55 zumapro: always create the symlink of trusty_persist
Bug: 357015856
Flag: EXEMPT bugfix
Change-Id: I8d523aed3ff5a18456db0c4714e536447ddfee3d
Signed-off-by: Steven Tsai <steventsai@google.com>
2024-11-12 08:20:59 +00:00
Nick Kralevich
ab0b600939 Merge "Enable MTE in -eng builds on zumapro devices." into main 2024-10-29 17:09:41 +00:00
Nick Kralevich
2bf5d31904 Enable MTE in -eng builds on zumapro devices.
MTE is a low overhead tool which enables detection of memory
safety bugs in interactive workloads. See
https://source.android.com/docs/security/test/memory-safety/arm-mte
for background and information.

This change enables MTE by default on -eng builds. See
go/mte-eng for more information.

Co-authored-by: Evgenii Stepanov <eugenis@google.com>
Test: Device boots and no MTE crashes
Bug: 316398899
Flag: EXEMPT only affects eng builds, not shipping code
Change-Id: I8be52af4f0349907651ae661972c85ea46e2aa72
2024-10-28 11:59:41 -07:00
Ethan Chen
badbb52bed
Disable userdebug diagnostics
* We can't make use of most of the debug features on userdebug builds.

Change-Id: I31df2090b31243b742c4e82dc08cd8491dada54f
2024-10-27 22:51:29 +02:00
Rick Yiu
19ab0dfe42 Set permission for sched qos nodes.
Bug: 355612114
Flag: NONE init rc file does not support flag
Test: build pass
Change-Id: I2512cad0e4a6f377af0526816caa4f219c658e98
2024-10-25 08:17:21 +00:00
Rick Yiu
30c7fadda5 Enable sched qos for vendor groups
Enable settings by different groups.

Bug: 355612114
Flag: NONE init rc file does not support flag
Test: build pass
Change-Id: Ic4eccc64797cb6511f5f3c50f9e5a0b8f0791edc
2024-10-25 07:59:18 +00:00
Rick Yiu
4edd952b94 Set auto prefer idle task name
Set InputDispatche and InputReader prefer idle explicitly, which is a
workaround and should be removed after they become ADPF.

Bug: 366146314
Flag: NONE init rc file change does not support flags
Test: tasks set as expected
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:76b662b189e0ab7a555d93a8390c792631cc0558)
Merged-In: Ica1cc1bcf44205f6ccfb09529a52107b1c5091b3
Change-Id: Ica1cc1bcf44205f6ccfb09529a52107b1c5091b3
2024-10-17 00:28:42 +00:00
Rick Yiu
758649b0b3 Set priority task name
Set task name and boost value for ExoPlayer:Place thread.

Bug: 357956265
Test: build pass
Flag: NONE init rc file change does not support flags
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:2e83b04a10be95d45c6996a8ed000cc328d76f10)
Merged-In: I09e79a16b7b6a0675de606b2f65dfbee154ec943
Change-Id: I09e79a16b7b6a0675de606b2f65dfbee154ec943
2024-10-17 00:28:31 +00:00
Juan Yescas
2a8f6806b2 Mount efs and persist partitions at right stage for 4kb and 16kb
Bug: 373455889
Bug: 347108593
Test: Built and flash zumapro device
Flag: EXEMPT bugfix
Change-Id: Ibe8d50d77c47de6fd75df6a22931d4dd0c05399a
2024-10-17 00:13:57 +00:00
Rick Yiu
76b662b189 Set auto prefer idle task name
Set InputDispatche and InputReader prefer idle explicitly, which is a
workaround and should be removed after they become ADPF.

Bug: 366146314
Flag: NONE init rc file change does not support flags
Test: tasks set as expected
Change-Id: Ica1cc1bcf44205f6ccfb09529a52107b1c5091b3
2024-10-10 08:46:08 +00:00
Juan Yescas
0c1aa1be86 Merge "Copy files on efs/efs_backup/modem_userdata/persist partitions to /data in 16kb mode" into main 2024-10-08 18:33:28 +00:00
Treehugger Robot
740512e745 Merge "Move setup of the persist partition to init.persist.rc" into main 2024-10-08 18:31:32 +00:00
Juan Yescas
60dc676409 Copy files on efs/efs_backup/modem_userdata/persist partitions to /data in 16kb mode
There are 4 partitions that are flashed at the factory and use F2FS fs with
4kb block size:

- /dev/block/by-name/efs
- /dev/block/by-name/efs_backup
- /dev/block/by-name/modem_userdata
- /dev/block/by-name/persist

These partitions can NOT be mounted by 16kb kernels because F2FS
expects BLOCK_SIZE == PAGE_SIZE.

In order to access the files in these partitions by 16kb kernels,
the dump.f2fs tool is used.

This change will perform these steps at boot time ONLY for 16kb mode. For
every partition (efs/efs_backup/modem_userdata/persist):

1. Use dump.f2fs to copy the content of the partition
to /data/vendor/copied/<partition name>.img.
2. If the copy was succesfull, rename /data/vendor/copied/<partition name>.img
to /data/vendor/copied/<partition name>
3. fsync the content of the directory /data/vendor/copied/<partition name>.

After the content of the partitions is in /data/vendor/copied,
bind-mount the partitions to the directory /mnt/vendor. See conf/fstab.efs.from_data.

Note: This change ONLY applies to 16kb kernels. This change does not modify
the original partitions.

Bug: 347015136
Bug: 362368691
Test: $ source build/envsetup.sh
      $ lunch [zumapro]-trunk_staging-userdebug
      $ m
      $ ./vendor/google/tools/flashall -w
Flag: EXEMPT bugfix
Change-Id: Idf46a2a3a4f0b2e91ee4a0322a0c469e055684c8
2024-10-07 22:46:49 +00:00
Madhav Iyengar
a2761f3edc Merge "[chre-hal-xport] Give permissions for new xport" into main 2024-10-07 21:45:41 +00:00
Madhav Iyengar
e6525d245f [chre-hal-xport] Give permissions for new xport
Bug: 369883034
Flag: android.chre.flags.refactor_hal_xport_agnostic
Change-Id: Id22ab1352d38a4e8b37bb8414917efb8f6ed75c0
2024-10-07 21:45:23 +00:00
Treehugger Robot
45722a697e Merge "Set priority task name" into main 2024-10-07 15:45:38 +00:00
Juan Yescas
49a4d989ad Move setup of the persist partition to init.persist.rc
The setup of the persist partition is moved to init.persist.rc.
This will make easier to configure 16kb targets in follow up
changes.

Bug: 347015136
Test: $ source build/envsetup.sh
      $ lunch [zumapro]-trunk_staging-userdebug
      $ m
      $ ./vendor/google/tools/flashall -w
Flag: EXEMPT bugfix
Change-Id: Ifd17fc1f25ea8cf73470630e14a38116e0b7b96a
2024-10-04 08:19:22 -07:00
Pawan Wagh
4bac938c20 Merge "Copy fstab from zuma to zumapro for 16kB developer options" into main 2024-10-03 21:17:50 +00:00
Pawan Wagh
9111a59f32 Copy fstab from zuma to zumapro for 16kB developer options
Update fstab used so that both ext4 and f2fs are supported.
Copying previously release config to zumapro to support pixel
9.

Test: atest Enable16KbTest
Flag: build.RELEASE_GOOGLE_CAIMAN_16K_DEVELOPER_OPTION
Bug: 347108593

Change-Id: I8da600ac8e91e61abc20a324762f19dddf846851
2024-10-03 20:05:56 +00:00