Skip to content

Commit 5cc8b36

Browse files
author
Mattijs Korpershoek
committed
feat(android): ota: Update ota package name for Android 15
In Android 15, the ota filename is renamed from: * ${BOARD}-ota-eng.${USER} to * ${BOARD}-ota-${USER}. For example, am62p-ota.eng.mkorpershoek becomes am62p-ota-mkorpershoek. Update both sideload and update_engine sections accordingly. Signed-off-by: Mattijs Korpershoek <[email protected]>
1 parent 6683f26 commit 5cc8b36

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

source/devices/AM62PX/android/Application_Notes_OTA.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ OTA via ``adb sideload``
3636
3737
$ adb reboot sideload
3838
$ adb wait-for-sideload
39-
$ adb sideload $DIST_DIR/am62p-ota-eng.${USER}.zip
39+
$ adb sideload $DIST_DIR/am62p-ota-${USER}.zip
4040
$ adb reboot
4141
4242
@@ -78,7 +78,7 @@ OTA via Update Engine
7878
$ lunch <BUILD_TARGET>
7979
$ DIST_DIR=dist_output
8080
$ BOARD=am62p
81-
$ bootable/recovery/updater_sample/tools/gen_update_config.py --ab_install NON_STREAMING $DIST_DIR/$BOARD-ota-eng.${USER}.zip $DIST_DIR/$BOARD-ota-eng.${USER}.json file:///data/user/0/com.example.android.systemupdatersample/files/packages/$BOARD-ota-eng.${USER}.zip
81+
$ bootable/recovery/updater_sample/tools/gen_update_config.py --ab_install NON_STREAMING $DIST_DIR/$BOARD-ota-${USER}.zip $DIST_DIR/$BOARD-ota-${USER}.json file:///data/user/0/com.example.android.systemupdatersample/files/packages/$BOARD-ota-${USER}.zip
8282
8383
.. warning::
8484

@@ -99,8 +99,8 @@ OTA via Update Engine
9999
$ adb root
100100
$ adb shell mkdir /data/user/0/com.example.android.systemupdatersample/files/configs
101101
$ adb shell mkdir /data/user/0/com.example.android.systemupdatersample/files/packages
102-
$ adb push $DIST_DIR/$BOARD-ota-eng.${USER}.json /data/user/0/com.example.android.systemupdatersample/files/configs/
103-
$ adb push $DIST_DIR/$BOARD-ota-eng.${USER}.zip /data/user/0/com.example.android.systemupdatersample/files/packages/
102+
$ adb push $DIST_DIR/$BOARD-ota-${USER}.json /data/user/0/com.example.android.systemupdatersample/files/configs/
103+
$ adb push $DIST_DIR/$BOARD-ota-${USER}.zip /data/user/0/com.example.android.systemupdatersample/files/packages/
104104
105105
#. Change SELinux label:
106106

source/devices/AM62X/android/Application_Notes_OTA.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ OTA via ``adb sideload``
3636
3737
$ adb reboot sideload
3838
$ adb wait-for-sideload
39-
$ adb sideload $DIST_DIR/am62x-ota-eng.${USER}.zip
39+
$ adb sideload $DIST_DIR/am62x-ota-${USER}.zip
4040
$ adb reboot
4141
4242
@@ -78,7 +78,7 @@ OTA via Update Engine
7878
$ lunch <BUILD_TARGET>
7979
$ DIST_DIR=dist_output
8080
$ BOARD=am62x
81-
$ bootable/recovery/updater_sample/tools/gen_update_config.py --ab_install NON_STREAMING $DIST_DIR/$BOARD-ota-eng.${USER}.zip $DIST_DIR/$BOARD-ota-eng.${USER}.json file:///data/user/0/com.example.android.systemupdatersample/files/packages/$BOARD-ota-eng.${USER}.zip
81+
$ bootable/recovery/updater_sample/tools/gen_update_config.py --ab_install NON_STREAMING $DIST_DIR/$BOARD-ota-${USER}.zip $DIST_DIR/$BOARD-ota-${USER}.json file:///data/user/0/com.example.android.systemupdatersample/files/packages/$BOARD-ota-${USER}.zip
8282
8383
.. warning::
8484

@@ -99,8 +99,8 @@ OTA via Update Engine
9999
$ adb root
100100
$ adb shell mkdir /data/user/0/com.example.android.systemupdatersample/files/configs
101101
$ adb shell mkdir /data/user/0/com.example.android.systemupdatersample/files/packages
102-
$ adb push $DIST_DIR/$BOARD-ota-eng.${USER}.json /data/user/0/com.example.android.systemupdatersample/files/configs/
103-
$ adb push $DIST_DIR/$BOARD-ota-eng.${USER}.zip /data/user/0/com.example.android.systemupdatersample/files/packages/
102+
$ adb push $DIST_DIR/$BOARD-ota-${USER}.json /data/user/0/com.example.android.systemupdatersample/files/configs/
103+
$ adb push $DIST_DIR/$BOARD-ota-${USER}.zip /data/user/0/com.example.android.systemupdatersample/files/packages/
104104
105105
#. Change SELinux label:
106106

0 commit comments

Comments
 (0)