Tao Bao
d79baad222
uncrypt: Communicate via /dev/socket/uncrypt. am: 3a2bb594df
...
am: 21c0054766
* commit '21c005476699a3892a3b5c16a1cd7a4907988c6b':
uncrypt: Communicate via /dev/socket/uncrypt.
2016-03-04 01:26:59 +00:00
Tao Bao
21c0054766
uncrypt: Communicate via /dev/socket/uncrypt.
...
am: 3a2bb594df
* commit '3a2bb594df4b48c6afb1f029041dd6db0735de58':
uncrypt: Communicate via /dev/socket/uncrypt.
2016-03-04 01:00:53 +00:00
Tao Bao
3a2bb594df
uncrypt: Communicate via /dev/socket/uncrypt.
...
We used to rely on files (e.g. /cache/recovery/command and
/cache/recovery/uncrypt_status) to communicate between uncrypt and its
caller (i.e. system_server). Since A/B devices may not have /cache
partitions anymore, we switch to socket communication instead.
We will keep the use of /cache/recovery/uncrypt_file to indicate the OTA
package to be uncrypt'd though. Because there is existing logic in
ShutdownThread.java that depends on the existence of the file to
detect pending uncrypt works. This part won't affect A/B devices without
/cache partitions, because such devices won't need uncrypt service (i.e
the real de-encrypt work) anyway.
Bug: 27176738
Change-Id: I481406e09e3ffc7b80f2c9e39003b9fca028742e
2016-03-02 23:23:32 -08:00
Mattias Nissler
4934bb7e85
Merge "Remove dumpkey build guards after completing code move." am: 5ffc038be6 am: ea0e0faae6
...
am: c4d143356e
* commit 'c4d143356ef1a406bb641b2f1504ab72f083a6bd':
Remove dumpkey build guards after completing code move.
2016-03-01 16:42:22 +00:00
Mattias Nissler
c4d143356e
Merge "Remove dumpkey build guards after completing code move." am: 5ffc038be6
...
am: ea0e0faae6
* commit 'ea0e0faae6c0e57deb1a53683b00ff4651a65502':
Remove dumpkey build guards after completing code move.
2016-03-01 16:38:50 +00:00
Mattias Nissler
ea0e0faae6
Merge "Remove dumpkey build guards after completing code move."
...
am: 5ffc038be6
* commit '5ffc038be6cffd9155fce4f2212ff351415ee7ba':
Remove dumpkey build guards after completing code move.
2016-03-01 11:48:54 +00:00
Mattias Nissler
5ffc038be6
Merge "Remove dumpkey build guards after completing code move."
2016-03-01 11:46:27 +00:00
Prashant Malani
08bae03c94
Merge "Fixes to wear recovery for N" into nyc-dev am: 9db7964834
...
am: 30f368fde0
* commit '30f368fde096a746d5ac407754955691abfc48b7':
Fixes to wear recovery for N
2016-02-29 23:02:44 +00:00
Prashant Malani
30f368fde0
Merge "Fixes to wear recovery for N" into nyc-dev
...
am: 9db7964834
* commit '9db7964834694e10ce0945e17ac7fefc066d8deb':
Fixes to wear recovery for N
2016-02-29 22:59:30 +00:00
Prashant Malani
9db7964834
Merge "Fixes to wear recovery for N" into nyc-dev
2016-02-29 22:56:30 +00:00
Tao Bao
4d88a5d8f4
Merge "uncrypt: Retire pre-recovery service." into nyc-dev am: 65f35b5c35
...
am: bc11dd8b7c
* commit 'bc11dd8b7c675ff21ca505d9d67154f04d2862a9':
uncrypt: Retire pre-recovery service.
2016-02-28 18:47:55 +00:00
Tao Bao
bc11dd8b7c
Merge "uncrypt: Retire pre-recovery service." into nyc-dev
...
am: 65f35b5c35
* commit '65f35b5c3513571c179974829eb93ba069693d2b':
uncrypt: Retire pre-recovery service.
2016-02-28 18:46:29 +00:00
Tao Bao
65f35b5c35
Merge "uncrypt: Retire pre-recovery service." into nyc-dev
2016-02-28 18:44:38 +00:00
Prashant Malani
0eb41c3f37
Fixes to wear recovery for N
...
Bug: 27336841
Change-Id: If4632e9791cce2c39590a4012687271f59a60af1
2016-02-26 17:01:37 -08:00
Mattias Nissler
b66f047d41
Remove dumpkey build guards after completing code move.
...
Bug: 27326256
Change-Id: Ia713b23e3c898c1f10af7c61ea67f34601fdcbe3
2016-02-26 11:20:18 +01:00
Mattias Nissler
25fb74bc83
Merge "Move dumpkey tool to the recovery repo." am: 5197fde242 am: b652678953
...
am: 95b96d98ca
* commit '95b96d98caf6dbaefcfe7b52ba35d27babd70245':
Move dumpkey tool to the recovery repo.
2016-02-26 08:22:01 +00:00
Mattias Nissler
95b96d98ca
Merge "Move dumpkey tool to the recovery repo." am: 5197fde242
...
am: b652678953
* commit 'b652678953f1ff3920bebdd97836eda061a9a36b':
Move dumpkey tool to the recovery repo.
2016-02-26 08:19:34 +00:00
Mattias Nissler
b652678953
Merge "Move dumpkey tool to the recovery repo."
...
am: 5197fde242
* commit '5197fde242e00d6ee112896846da8d0be6303c56':
Move dumpkey tool to the recovery repo.
2016-02-26 08:18:02 +00:00
Mattias Nissler
5197fde242
Merge "Move dumpkey tool to the recovery repo."
2016-02-26 08:16:34 +00:00
Paul Lawrence
e048f0ba7f
Move recovery\'s convert_fbe folder to /tmp am: 661f8a69f2
...
am: 8c3922f4ab
* commit '8c3922f4ab9755180d42e3f8162590892a029247':
Move recovery's convert_fbe folder to /tmp
2016-02-25 21:45:00 +00:00
Paul Lawrence
8c3922f4ab
Move recovery\'s convert_fbe folder to /tmp
...
am: 661f8a69f2
* commit '661f8a69f2b12f3244deed664ab69a9d2efad7fb':
Move recovery's convert_fbe folder to /tmp
2016-02-25 21:37:01 +00:00
Paul Lawrence
661f8a69f2
Move recovery's convert_fbe folder to /tmp
...
The cache folder is no longer available at this time
Bug: 27355824
Change-Id: I74e33266c1ff407364981b186613f81319dd22dc
2016-02-25 13:07:16 -08:00
Mattias Nissler
03b72b0f37
Move dumpkey tool to the recovery repo.
...
The dumpkey tool is used to dump encryption keys in a custom format
used by the recovery code. Nobody else uses this format AFAICT, so
it's more appropriate to keep the code of the tool alongside the
recovery code instead of next to mincrypt.
BUG:27326256
Change-Id: I30176845617972be1d6e46e9a9218e161fbf0680
2016-02-24 14:53:10 +01:00
Josh Gao
61d1bd7156
Merge "minadbd: update for adb_thread_create signature change." into nyc-dev am: 0757a093c1
...
am: 744284bea0
* commit '744284bea06f806f30f67ea3364b200ed871dcb6':
minadbd: update for adb_thread_create signature change.
2016-02-24 01:00:20 +00:00
Josh Gao
744284bea0
Merge "minadbd: update for adb_thread_create signature change." into nyc-dev
...
am: 0757a093c1
* commit '0757a093c187b64867a9ca7c97b80d9aa7d665cf':
minadbd: update for adb_thread_create signature change.
2016-02-24 00:53:17 +00:00
Josh Gao
0757a093c1
Merge "minadbd: update for adb_thread_create signature change." into nyc-dev
2016-02-24 00:50:36 +00:00
Yabin Cui
8cb6069499
recovery: check battery level before installing package. am: 99281df8e2
...
am: 2be10be7d0
* commit '2be10be7d0721ecbff3d0270c5f3026456902b6a':
recovery: check battery level before installing package.
2016-02-23 23:13:56 +00:00
Yabin Cui
2be10be7d0
recovery: check battery level before installing package.
...
am: 99281df8e2
* commit '99281df8e2eb6a302ccbcfd790a6889392541264':
recovery: check battery level before installing package.
2016-02-23 23:00:48 +00:00
Tianjie Xu
90c75ddc05
Merge "Surpress warnings in minzip/Zip.c" am: 4b3cdce702 am: 0d63468171
...
am: cc5372006f
* commit 'cc5372006f6e423e4c3f68b3dc81694fd92a7046':
Surpress warnings in minzip/Zip.c
2016-02-23 19:38:05 +00:00
Tianjie Xu
cc5372006f
Merge "Surpress warnings in minzip/Zip.c" am: 4b3cdce702
...
am: 0d63468171
* commit '0d63468171a80bd84a859fbd36b8d874f030c764':
Surpress warnings in minzip/Zip.c
2016-02-23 19:30:13 +00:00
Tianjie Xu
0d63468171
Merge "Surpress warnings in minzip/Zip.c"
...
am: 4b3cdce702
* commit '4b3cdce702fefa7eac0626f57d09ff018127c191':
Surpress warnings in minzip/Zip.c
2016-02-23 19:25:11 +00:00
Tianjie Xu
4b3cdce702
Merge "Surpress warnings in minzip/Zip.c"
2016-02-23 19:16:42 +00:00
Tianjie Xu
6629655476
Surpress warnings in minzip/Zip.c
...
bootable/recovery/minzip/Zip.c:514:5: warning: Value stored to 'compRemaining' is never read
compRemaining = pEntry->compLen;
^ ~~~~~~~~~~~~~~~
bootable/recovery/minzip/Zip.c:778:9: warning: Null pointer argument in call to memory copy function
memcpy(p, helper->targetDir, helper->targetDirLen);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Bug: 27229894
Change-Id: I0482bac3a4fcddc191783d1e5b5a83cf29fa4e85
2016-02-23 11:15:43 -08:00
Yabin Cui
99281df8e2
recovery: check battery level before installing package.
...
Bug: 26879394
Change-Id: I63dce5bc50c2e104129f1bcab7d3cad5682bf45d
(cherry picked from commit 53e7a0628f )
2016-02-23 11:03:10 -08:00
Yabin Cui
fc993df953
Fix integer overflows in recovery procedure. am: 1273956e69 am: 5978a71d29 am: 877dcba47a am: f4ee1720f3 am: cae056f219 am: 682d691052 am: ae68f02272 am: a3604da6e1 am: 089fe38ac5
...
am: 71c06eb1f7
* commit '71c06eb1f733b4afed3698566477a97487ed22aa':
Fix integer overflows in recovery procedure.
2016-02-23 07:01:59 +00:00
Yabin Cui
71c06eb1f7
Fix integer overflows in recovery procedure. am: 1273956e69 am: 5978a71d29 am: 877dcba47a am: f4ee1720f3 am: cae056f219 am: 682d691052 am: ae68f02272 am: a3604da6e1
...
am: 089fe38ac5
* commit '089fe38ac5a3f12588cc5728ee11a1b0c6f436f3':
Fix integer overflows in recovery procedure.
2016-02-23 06:59:15 +00:00
Yabin Cui
089fe38ac5
Fix integer overflows in recovery procedure. am: 1273956e69 am: 5978a71d29 am: 877dcba47a am: f4ee1720f3 am: cae056f219 am: 682d691052 am: ae68f02272
...
am: a3604da6e1
* commit 'a3604da6e17afbf5b98f1eb2c5fc16bde1731b85':
Fix integer overflows in recovery procedure.
2016-02-23 06:56:27 +00:00
Yabin Cui
eed03e7b16
resolve merge conflicts of e5d3d15cd2 to nyc-dev am: 0d28ba452f
...
am: 80563ee93a -s ours
* commit '80563ee93a46479dfa30a1ee5fbcc9a94e528931':
Fix integer overflows in recovery procedure.
2016-02-23 06:53:47 +00:00
Yabin Cui
a3604da6e1
Fix integer overflows in recovery procedure. am: 1273956e69 am: 5978a71d29 am: 877dcba47a am: f4ee1720f3 am: cae056f219 am: 682d691052
...
am: ae68f02272
* commit 'ae68f0227262d08f250e4cccda6f03b9981bf56d':
Fix integer overflows in recovery procedure.
2016-02-23 06:53:47 +00:00
Yabin Cui
ae68f02272
Fix integer overflows in recovery procedure. am: 1273956e69 am: 5978a71d29 am: 877dcba47a am: f4ee1720f3 am: cae056f219
...
am: 682d691052
* commit '682d6910526a55e6a20e27cde3cf7515fa07a97b':
Fix integer overflows in recovery procedure.
2016-02-23 06:50:58 +00:00
Yabin Cui
682d691052
Fix integer overflows in recovery procedure. am: 1273956e69 am: 5978a71d29 am: 877dcba47a am: f4ee1720f3
...
am: cae056f219
* commit 'cae056f21908173bcf2fa9a1724e46f16abb3258':
Fix integer overflows in recovery procedure.
2016-02-23 06:47:37 +00:00
Yabin Cui
80563ee93a
resolve merge conflicts of e5d3d15cd2 to nyc-dev
...
am: 0d28ba452f
* commit '0d28ba452fb8884f3dfeb20fab193be5343ec29e':
Fix integer overflows in recovery procedure.
2016-02-23 06:46:45 +00:00
Yabin Cui
cae056f219
Fix integer overflows in recovery procedure. am: 1273956e69 am: 5978a71d29 am: 877dcba47a
...
am: f4ee1720f3
* commit 'f4ee1720f33a01518f79a2bf8df4664dab3564d4':
Fix integer overflows in recovery procedure.
2016-02-23 06:44:46 +00:00
Yabin Cui
f4ee1720f3
Fix integer overflows in recovery procedure. am: 1273956e69 am: 5978a71d29
...
am: 877dcba47a
* commit '877dcba47ac311aa65b27e42b3625bcb58d84e47':
Fix integer overflows in recovery procedure.
2016-02-23 06:42:07 +00:00
Yabin Cui
877dcba47a
Fix integer overflows in recovery procedure. am: 1273956e69
...
am: 5978a71d29
* commit '5978a71d2954c7df02cbd0c51582ce4063346f77':
Fix integer overflows in recovery procedure.
2016-02-23 06:35:46 +00:00
Yabin Cui
5978a71d29
Fix integer overflows in recovery procedure.
...
am: 1273956e69
* commit '1273956e69a7d1d5b636f269050b446e0ced3f9b':
Fix integer overflows in recovery procedure.
2016-02-23 06:33:20 +00:00
Yabin Cui
0d28ba452f
resolve merge conflicts of e5d3d15cd2 to nyc-dev
...
Change-Id: Ie8b30e6b114b648e8c03866456c64cf8b740d1e3
2016-02-22 22:16:44 -08:00
Tao Bao
e8a0a6d0d6
Merge "Control fault injection with config files instead of build flags" am: ed796b046d am: 24b3622933
...
am: 842f2d8ccf
* commit '842f2d8ccf4a5675b30a85e41aa3c391195e644b':
Control fault injection with config files instead of build flags
2016-02-23 05:12:15 +00:00
Tao Bao
842f2d8ccf
Merge "Control fault injection with config files instead of build flags" am: ed796b046d
...
am: 24b3622933
* commit '24b3622933092c7227a391939f3f1cdcd3d7c999':
Control fault injection with config files instead of build flags
2016-02-23 05:04:42 +00:00
Tao Bao
24b3622933
Merge "Control fault injection with config files instead of build flags"
...
am: ed796b046d
* commit 'ed796b046daf574b1f4f9ef386a870c845457277':
Control fault injection with config files instead of build flags
2016-02-23 04:57:39 +00:00