aboutsummaryrefslogtreecommitdiff
path: root/en/devices/tech/ota/ab/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'en/devices/tech/ota/ab/index.html')
-rw-r--r--en/devices/tech/ota/ab/index.html65
1 files changed, 35 insertions, 30 deletions
diff --git a/en/devices/tech/ota/ab/index.html b/en/devices/tech/ota/ab/index.html
index c1b70856..48a9fea5 100644
--- a/en/devices/tech/ota/ab/index.html
+++ b/en/devices/tech/ota/ab/index.html
@@ -245,31 +245,31 @@
<h4 id="update_engine_source">Update engine source</h4>
- <p>
- The <code>update_engine</code> source is located in
- <code><a href="https://android.googlesource.com/platform/system/update_engine/" class="external">system/update_engine</a></code>.
- The A/B OTA dexopt files are split between <code>installd</code> and
- a package manager:
- </p>
+ <p>
+ The <code>update_engine</code> source is located in
+ <code><a href="https://android.googlesource.com/platform/system/update_engine/" class="external">system/update_engine</a></code>.
+ The A/B OTA dexopt files are split between <code>installd</code> and
+ a package manager:
+ </p>
- <ul>
- <li>
- <code><a href="https://android.googlesource.com/platform/frameworks/native/+/master/cmds/installd/" class="external-link">frameworks/native/cmds/installd/</a></code>ota*
- includes the postinstall script, the binary for chroot, the
- installd clone that calls dex2oat, the post-OTA move-artifacts
- script, and the rc file for the move script.
- </li>
- <li>
- <code><a href="https://android.googlesource.com/platform/frameworks/base/+/master/services/core/java/com/android/server/pm/OtaDexoptService.java" class="external-link">frameworks/base/services/core/java/com/android/server/pm/OtaDexoptService.java</a></code>
- (plus <code><a href="https://android.googlesource.com/platform/frameworks/base/+/master/services/core/java/com/android/server/pm/OtaDexoptShellCommand.java" class="external-link">OtaDexoptShellCommand</a></code>)
- is the package manager that prepares dex2oat commands for
- applications.
- </li>
- </ul>
+ <ul>
+ <li>
+ <code><a href="https://android.googlesource.com/platform/frameworks/native/+/master/cmds/installd/" class="external-link">frameworks/native/cmds/installd/</a></code>ota*
+ includes the postinstall script, the binary for chroot, the
+ installd clone that calls dex2oat, the post-OTA move-artifacts
+ script, and the rc file for the move script.
+ </li>
+ <li>
+ <code><a href="https://android.googlesource.com/platform/frameworks/base/+/master/services/core/java/com/android/server/pm/OtaDexoptService.java" class="external-link">frameworks/base/services/core/java/com/android/server/pm/OtaDexoptService.java</a></code>
+ (plus <code><a href="https://android.googlesource.com/platform/frameworks/base/+/master/services/core/java/com/android/server/pm/OtaDexoptShellCommand.java" class="external-link">OtaDexoptShellCommand</a></code>)
+ is the package manager that prepares dex2oat commands for
+ applications.
+ </li>
+ </ul>
- <p>
- For a working example, refer to <code><a href="https://android.googlesource.com/device/google/marlin/+/nougat-dr1-release/device-common.mk" class="external-link">/device/google/marlin/device-common.mk</a></code>.
- </p>
+ <p>
+ For a working example, refer to <code><a href="https://android.googlesource.com/device/google/marlin/+/nougat-dr1-release/device-common.mk" class="external-link">/device/google/marlin/device-common.mk</a></code>.
+ </p>
<h4 id="update_engine_logs">Update engine logs</h4>
@@ -282,24 +282,29 @@
<ul>
<li><a
- href="https://android-review.googlesource.com/c/platform/system/update_engine/+/486618">
+ href="https://android-review.googlesource.com/c/platform/system/update_engine/+/486618">
Change 486618</a></li>
<li><a
- href="https://android-review.googlesource.com/c/platform/system/core/+/529080">
+ href="https://android-review.googlesource.com/c/platform/system/core/+/529080">
Change 529080</a></li>
<li><a
- href="https://android-review.googlesource.com/c/platform/system/update_engine/+/529081">
+ href="https://android-review.googlesource.com/c/platform/system/update_engine/+/529081">
Change 529081</a></li>
<li><a
- href="https://android-review.googlesource.com/c/platform/system/sepolicy/+/534660">
+ href="https://android-review.googlesource.com/c/platform/system/sepolicy/+/534660">
Change 534660</a></li>
+ <li><a
+ href="https://android-review.googlesource.com/c/platform/system/update_engine/+/594637">
+ Change 594637</a></li>
</ul>
<p>These changes save a copy of the most recent
<code>update_engine</code> log to
- <code>/data/misc/update_engine_log/update_engine.log</code>. Users
- with the <strong>log</strong> group ID will be able to access the file
- system logs.
+ <code>/data/misc/update_engine_log/update_engine.<var>YEAR</var>-<var>TIME</var></code>.
+ In addition to the current log, the five most recent logs are saved
+ under <code>/data/misc/update_engine_log/</code>. Users
+ with the <strong>log</strong> group ID will be able to access the
+ file system logs.</p>
<h3 id="bootloader-interactions">Bootloader interactions</h3>