Tianjie Xu
5f0c7e0356
Merge "Create a wrapper class for update package" am: ba9965199a
...
am: d4f28312dc
Change-Id: I737fdd08ceea35db4158532cfa3a8a01fe5dbba7
2019-03-11 14:10:45 -07:00
Xin Li
e818616ad4
[automerger skipped] DO NOT MERGE - Merge PPRL.190305.001 into master am: 3399fdabf5 -s ours am: 645f73ac4b -s ours
...
am: c2fa178392 -s ours
am skip reason: subject contains skip directive
Change-Id: I7fdda6acb0d6ccdef6244cbcf2abe0ed6ae6d6db
2019-03-11 13:52:22 -07:00
Xin Li
dc19fd9217
[automerger skipped] Merge "DO NOT MERGE - Merge PPRL.190305.001 into master" am: 6c54127462 -s ours
...
am: c4c7abfb41 -s ours
am skip reason: subject contains skip directive
Change-Id: I762fa0a55e6c8eae15a32cdc2a03021735496b19
2019-03-11 13:25:16 -07:00
Tianjie Xu
d4f28312dc
Merge "Create a wrapper class for update package"
...
am: ba9965199a
Change-Id: I47c82792b37d0e720ab54876915c8aba288382c7
2019-03-11 13:13:57 -07:00
Xin Li
c2fa178392
[automerger skipped] DO NOT MERGE - Merge PPRL.190305.001 into master am: 3399fdabf5 -s ours
...
am: 645f73ac4b -s ours
am skip reason: subject contains skip directive
Change-Id: Ibf364dac68820722421ea8bd60a95c901a28eeeb
2019-03-11 13:07:01 -07:00
Tianjie Xu
ba9965199a
Merge "Create a wrapper class for update package"
2019-03-11 19:53:57 +00:00
Xin Li
c4c7abfb41
[automerger skipped] Merge "DO NOT MERGE - Merge PPRL.190305.001 into master"
...
am: 6c54127462 -s ours
am skip reason: subject contains skip directive
Change-Id: I77cd31b071f61d3d010af29408c732134d9b7028
2019-03-11 12:52:32 -07:00
Xin Li
645f73ac4b
[automerger skipped] DO NOT MERGE - Merge PPRL.190305.001 into master
...
am: 3399fdabf5 -s ours
am skip reason: subject contains skip directive
Change-Id: I76691bb68b90c6cc4165c64b90daeb3bb71b77e1
2019-03-11 12:31:39 -07:00
Tao Bao
dfdf63501e
minui: Fix the wrong move of the callback.
...
The input_cb in ev_init() should be shared among the detected input
devices.
Test: Boot into recovery. Check key inputs.
Change-Id: I0315f6a23625bacedd333fefacbf4ac6797bc1fd
2019-03-11 12:07:11 -07:00
Treehugger Robot
6c54127462
Merge "DO NOT MERGE - Merge PPRL.190305.001 into master"
2019-03-11 18:56:28 +00:00
xunchang
f07ed2efeb
Create a wrapper class for update package
...
Creates a new class handle the package in memory and package read from fd.
Define the new interface functions, and make approximate changes to the
verify and install functions.
Bug: 127071893
Test: unit tests pass, sideload a package
Change-Id: I66ab00654df92471184536fd147b237a86e9c5b5
2019-03-11 10:43:52 -07:00
Xin Li
3399fdabf5
DO NOT MERGE - Merge PPRL.190305.001 into master
...
Bug: 127812889
Change-Id: Ieceaef8b4dd56737a5836dd5e968b609cd084d36
2019-03-11 09:13:10 -07:00
big biff
4087034d08
Merge "Add path for time and date fix" into android-9.0
2019-03-09 22:24:26 +01:00
Tianjie Xu
de902a5f9b
Merge "Add a new entry in wipe package to list all wipe partitions" am: a8969842ae am: de5ba7ab97
...
am: a4bd1404e6
Change-Id: Ie0e54c0f4d35cc0fd72eb2d86e5a16fd3b957300
2019-03-07 18:14:39 -08:00
Tianjie Xu
a4bd1404e6
Merge "Add a new entry in wipe package to list all wipe partitions" am: a8969842ae
...
am: de5ba7ab97
Change-Id: Ifa7953e465954fc733688d4288a740022362be2a
2019-03-07 17:29:06 -08:00
Tianjie Xu
de5ba7ab97
Merge "Add a new entry in wipe package to list all wipe partitions"
...
am: a8969842ae
Change-Id: I436eebb747d7474c5cae754e6c1d2f6ad0546b56
2019-03-07 16:51:46 -08:00
big biff
7812dd49e1
Merge "vold_decrypt: Add android 9.0 support" into android-9.0
2019-03-08 00:52:21 +01:00
Tianjie Xu
a8969842ae
Merge "Add a new entry in wipe package to list all wipe partitions"
2019-03-07 22:14:43 +00:00
Captain Throwback
5ab596451a
mksh: add mkshrc when using TW_USE_TOOLBOX
...
Fixes broken shell prompt in Terminal and adb shell
Before: https://del.dog/7vphlkc
After: https://del.dog/vhkjgo8
Add as prebuilt with suffix "_twrp" to avoid conflict
with original mkshrc and rename via POST_INSTALL_CMD
Prebuilt version adjusts TMPDIR variable from
"/data/local/tmp" to "/tmp" for TWRP
Change-Id: I42a1b2a8c114f66dbe659c07485f1dfae8a5d314
2019-03-07 18:34:15 +01:00
big biff
968009d741
Merge "partition: add squashfs support" into android-9.0
2019-03-07 15:00:38 +01:00
xunchang
e0d991ceca
Add a new entry in wipe package to list all wipe partitions
...
This gives us finer control over the partitions to wipe on the host
side.
Bug: 127492427
Test: unit tests pass, install a wipe package on sailfish
Change-Id: I612f8bac743a310f28e365b490ef388b278cfccb
2019-03-06 15:37:28 -08:00
Mauronofrio Matarrese
2dab70d83c
Add path for time and date fix
...
This will add another path where looking for ats_* files
This is needed on some devices like OnePlus 6/6T
Change-Id: I9ac7cdd05ddc80f3e269efda96be2b7712d68af0
2019-03-05 02:23:58 +01:00
big biff
f9ec593f1e
Merge "minuitwrp: Remove unused variables" into android-9.0
2019-03-03 01:04:23 +01:00
Tao Bao
23cbb9a7de
Merge "Use O_CLOEXEC at a few places." am: e3857ca43e am: 4e95d7503e
...
am: df2067d038
Change-Id: I92ca72988bb96ab0c17becc9d93d1ade30037c61
2019-03-01 16:22:07 -08:00
Tao Bao
df2067d038
Merge "Use O_CLOEXEC at a few places." am: e3857ca43e
...
am: 4e95d7503e
Change-Id: Ic7a3d4af225abc0c21c76881b00efa7427ec2915
2019-03-01 16:18:06 -08:00
Tao Bao
4e95d7503e
Merge "Use O_CLOEXEC at a few places."
...
am: e3857ca43e
Change-Id: If5b1622ca66d0722107bdac5daef1eda823cdf20
2019-03-01 16:14:07 -08:00
Treehugger Robot
e3857ca43e
Merge "Use O_CLOEXEC at a few places."
2019-03-02 00:04:26 +00:00
Tao Bao
b549243b27
Use O_CLOEXEC at a few places.
...
Found these FDs unintentionally propagated into forked processes (e.g.
updater) during my local debugging. Use O_CLOEXEC to avoid that.
Test: Dump open FDs in updater process.
Test: Sideload a package on taimen (which uses framebuffer).
Test: Run graphics test on taimen.
Change-Id: I1fb65dd4a103c47d28b15973def9e9359c251ca3
2019-03-01 14:24:41 -08:00
Tao Bao
b9cbb4d9e2
Merge "Use android::base::Pipe." am: 21cfc8b6f4 am: a04a7d89c2
...
am: 33bbeb40ce
Change-Id: Ifcbc4cd5923d82893c7428951955cb0cd4207a3a
2019-02-28 18:40:52 -08:00
Tao Bao
33bbeb40ce
Merge "Use android::base::Pipe." am: 21cfc8b6f4
...
am: a04a7d89c2
Change-Id: Ibc0d9bc7766572901fa20a1d1acb8edd8f760a3c
2019-02-28 18:33:44 -08:00
Tao Bao
a04a7d89c2
Merge "Use android::base::Pipe."
...
am: 21cfc8b6f4
Change-Id: Ic7c2cb62062710984fa3fbd5ed3c577cd84cd926
2019-02-28 18:29:35 -08:00
Treehugger Robot
21cfc8b6f4
Merge "Use android::base::Pipe."
2019-03-01 02:17:24 +00:00
Tao Bao
6fcd208db4
Use android::base::Pipe.
...
Also clean up the comments regarding updater/recovery protocol.
Test: Sideload a package on taimen. Check that /tmp/recovery.log
contains the log from update_engine_sideload.
Test: Factory reset on taimen. Check that log file has the info from
mke2fs.
Change-Id: If560269ce7007769fc85a63bd228813bdd75bebd
2019-02-28 15:53:28 -08:00
Zhomart Mukhamejanov
4be5562ae9
Merge "Updater updater_sample/README.md - build instructions." am: 52db3dc12e am: 2ee3614be3
...
am: 32bd2aa290
Change-Id: Ie988dd227283f3280466e7ad375ffc857ea6b679
2019-02-25 22:47:45 -08:00
Zhomart Mukhamejanov
32bd2aa290
Merge "Updater updater_sample/README.md - build instructions." am: 52db3dc12e
...
am: 2ee3614be3
Change-Id: I0849351afb0796f430b71263c250b2e721f665fd
2019-02-25 22:32:42 -08:00
Zhomart Mukhamejanov
2ee3614be3
Merge "Updater updater_sample/README.md - build instructions."
...
am: 52db3dc12e
Change-Id: I71784d07fc6952377c5a06116f2aa0850d613ee3
2019-02-25 20:57:58 -08:00
Zhomart Mukhamejanov
52db3dc12e
Merge "Updater updater_sample/README.md - build instructions."
2019-02-26 04:00:52 +00:00
Zhomart Mukhamejanov
011b5bbc06
Updater updater_sample/README.md - build instructions.
...
Change-Id: Icbd577e3ceeec2766eca690b529b31f562df6fb2
Test: docs only
2019-02-25 16:19:55 -08:00
Xin Li
965e5dafd3
Merge stage-aosp-master into pi-dev-plus-aosp
...
am: 3574ac5cff
Change-Id: I526e1ec56871d4b132578591e27477dbe17656d5
2019-02-25 05:05:27 -08:00
Xin Li
3574ac5cff
Merge stage-aosp-master into pi-dev-plus-aosp
...
Bug: 126125118
Change-Id: Ib376a93e85883804b7b75085a21683452e1609d3
2019-02-25 00:27:11 -08:00
Xin Li
d429ddca6b
Merge "DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-master" into stage-aosp-master
2019-02-21 07:04:42 +00:00
David Anderson
fc9c0f4644
Merge "Add a logo to the fastbootd screen." am: d294935bf7 am: dbefca86b8
...
am: 2fc243eef3
Change-Id: I420b2e143058a954f4238ea360fefea7edd70e69
2019-02-20 20:26:03 -08:00
David Anderson
2fc243eef3
Merge "Add a logo to the fastbootd screen." am: d294935bf7
...
am: dbefca86b8
Change-Id: I5068b33ee54aa847356ef167122953d16e735e43
2019-02-20 20:22:05 -08:00
David Anderson
dbefca86b8
Merge "Add a logo to the fastbootd screen."
...
am: d294935bf7
Change-Id: I1cbd17fbd7636c1e5779b376c01984e9986bbcec
2019-02-20 20:18:05 -08:00
David Anderson
d294935bf7
Merge "Add a logo to the fastbootd screen."
2019-02-21 04:07:29 +00:00
Xin Li
6b72e3f03b
DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-master
...
Bug: 120848293
Change-Id: I4ac749387dca39a09e96ea5588b651d06728033b
2019-02-20 16:17:20 -08:00
bigbiff bigbiff
c630cee1ae
slot management: add library for slot management.
...
Change-Id: I7d0a67bc8e237866485680a5c54443435e7d2737
2019-02-20 18:06:55 -05:00
Bill Yi
0d853ddffd
[automerger skipped] Import translations. DO NOT MERGE am: fc8af23e97 -s ours
...
am: c3f22a4c2d -s ours
am skip reason: subject contains skip directive
Change-Id: I260e894a14bd59a487d3a9fd7468462994b9a379
2019-02-16 12:17:03 -08:00
Bill Yi
c3f22a4c2d
[automerger skipped] Import translations. DO NOT MERGE
...
am: fc8af23e97 -s ours
am skip reason: subject contains skip directive
Change-Id: I4ff4a94f634207aa24c72788a755565798782cba
2019-02-16 12:12:05 -08:00
Bill Yi
fc8af23e97
Import translations. DO NOT MERGE
...
Auto-generated-cl: translation import
Bug: 64712476
Change-Id: Ie357c8e7a6445223a5a657cd0e96ded4689837f6
2019-02-16 01:07:42 -08:00