- 26 Feb, 2015 1 commit
-
-
Jesse Zhao authored
Change-Id: Id3e2c0795b817db9a85bc84cba2aa05d20179d39 Bug: 18503789 (cherry picked from commit 5bf74b23)
-
- 29 Oct, 2014 2 commits
-
-
Michael Runge authored
We have seen cases where the boot partition is patched, but upon recovery the partition appears to be corrupted. Open up all patched files/partitions with O_SYNC, and do not ignore the errors from fsync/close operations. Bug: 18170529 Change-Id: I392ad0a321d937c4ad02eaeea9170be384a4744b
-
Michael Runge authored
Some files appear to be missing their sync to disk. Bug: 18145574 Change-Id: Ic858624a4dd65bbfc54d30f3a13c607078270345
-
- 24 Oct, 2014 5 commits
-
-
Michael Runge authored
Bug: 18092022 Change-Id: I6c42038ebeb1cfc1e7ca0d3e12310fdce1b990b0
-
Nick Kralevich authored
At the end of the OTA script, we walk through /system, updating all the permissions on the filesystem, including the UID, GID, standard UNIX permissions, capabilities, and SELinux labels. In the case of a symbolic link, however, we want to skip most of those operations. The UID, GID, UNIX permissions, and capabilities don't meaningfully apply to symbolic links. However, that's not true with SELinux labels. The SELinux label on a symbolic link is important. We need to make sure the label on the symbolic link is always updated, even if none of the other attributes are updated. This change unconditionally updates the SELinux label on the symbolic link itself. lsetfilecon() is used, so that the link itself is updated, not what it's pointing to. In addition, drop the ENOTSUP special case. SELinux has been a requirement since Android 4.4. Running without filesystem extended attributes is no longer supported, and we shouldn't even try to handle non-SELinux updates anymore. (Note: this could be problematic if these scripts are ever used to produce OTA images for 4.2 devices) Bug: 18079773 Change-Id: I87f99a1c88fe02bb2914f1884cac23ce1b385f91
-
Michael Runge authored
Bug: 18079773 Bug: 18092222 Change-Id: Ifc3f3e123de729dfbb2f49414b3207afa96268d5
-
Michael Runge authored
Bug: 18079773 Change-Id: Ic6fddbcbcb6ddb9e1cbd1698df98387c0033ae15
-
Nick Kralevich authored
Create a new recovery UI option to allow the user to view /cache/recovery/last_log for their device. This gives enhanced debugging information which may be necessary when a failed OTA occurs. Bug: 18094012 Change-Id: Ic3228de96e9bfc2a0141c7aab4ce392a38140cf3
-
- 23 Oct, 2014 1 commit
-
-
Michael Runge authored
This should help with reentrant OTAs. Bug: 18079773 Change-Id: I102fd738e3b450483ecd4471384c12e89fc586e2
-
- 22 Oct, 2014 1 commit
-
-
The Android Automerger authored
-
- 21 Oct, 2014 1 commit
-
-
The Android Automerger authored
-
- 20 Oct, 2014 1 commit
-
-
The Android Automerger authored
-
- 16 Oct, 2014 1 commit
-
-
The Android Automerger authored
-
- 15 Oct, 2014 1 commit
-
-
The Android Automerger authored
-
- 14 Oct, 2014 1 commit
-
-
The Android Automerger authored
-
- 13 Oct, 2014 1 commit
-
-
The Android Automerger authored
-
- 12 Oct, 2014 1 commit
-
-
The Android Automerger authored
-
- 09 Oct, 2014 1 commit
-
-
The Android Automerger authored
-
- 08 Oct, 2014 1 commit
-
-
The Android Automerger authored
-
- 07 Oct, 2014 1 commit
-
-
The Android Automerger authored
-
- 06 Oct, 2014 1 commit
-
-
The Android Automerger authored
-
- 05 Oct, 2014 1 commit
-
-
The Android Automerger authored
-
- 01 Oct, 2014 1 commit
-
-
The Android Automerger authored
-
- 30 Sep, 2014 1 commit
-
-
The Android Automerger authored
-
- 29 Sep, 2014 1 commit
-
-
The Android Automerger authored
-
- 28 Sep, 2014 1 commit
-
-
The Android Automerger authored
-
- 25 Sep, 2014 1 commit
-
-
The Android Automerger authored
-
- 24 Sep, 2014 2 commits
-
-
Jeff Sharkey authored
This will help us track down who requested a data wipe. Bug: 17412160 Change-Id: I1c439fbd29f96b9851810baca9101f683a0f18d8
-
The Android Automerger authored
-
- 23 Sep, 2014 1 commit
-
-
The Android Automerger authored
-
- 22 Sep, 2014 1 commit
-
-
The Android Automerger authored
-
- 21 Sep, 2014 2 commits
-
-
The Android Automerger authored
-
The Android Automerger authored
-
- 20 Sep, 2014 1 commit
-
-
The Android Automerger authored
-
- 18 Sep, 2014 1 commit
-
-
The Android Automerger authored
-
- 17 Sep, 2014 1 commit
-
-
The Android Automerger authored
-
- 16 Sep, 2014 1 commit
-
-
The Android Automerger authored
-
- 15 Sep, 2014 1 commit
-
-
The Android Automerger authored
-
- 14 Sep, 2014 1 commit
-
-
The Android Automerger authored
-
- 13 Sep, 2014 1 commit
-
-
The Android Automerger authored
-