| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Change-Id: Id59b79f079c587630f5f6ed0418a45f2b8cd99ff
Conflicts:
nandroid.c
|
|
|
|
| |
Change-Id: Iab3290adca1602a23fc407d2b3f50b9aeac60389
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Using http://goo.gl/6AQ3u might fail. The resulting backup
consists of a tarball of the filesystem being backed up,
but it might end up truncated, for reasons yet unknown.
Issuing adb backup data, for instance, causes recovery to
call tar, streaming it's stdout <a> through a socket <b>.
The adb client reads from <b> and copies what it to the
final backup file.
Somehow, sometimes, not all the content generated at <a> is
read at the adb client, which causes a truncated tar file
to result. I'm unsure why this happens: Doesn't <a> get
flushed before <b> is closed? Or is it that <b> is closed
with outstanding data in its buffers, which never make it
to the other side?
Either calling sync() or sleep() seems to remedy the issue,
but I'm not sure if sync() has any effect on sockets or
pipes. I also understand that sleeping for some time is not
the best solution to a race condition.
Therefore, I'm adding calls to sync() and sleep() and
waiting for reviews from someone who knows better how
these calls work.
Patch set 2: Remove sync() call
Change-Id: If4733066fdad809eb73e87c670f37acc4debe82d
|
|
|
|
| |
Change-Id: I2b0c3918528e5f7e6f4d2f8df1592c55f98317d3
|
|
|
|
| |
Change-Id: Id9e73317a6b46ddc0ec0c3005bfc9ef55cf7bf0d
|
|
|
|
|
|
| |
Patchset 1) initial patch
Change-Id: I76719bdd90be716f1beaeac293c5158eddf3a240
|
|
|
|
| |
Change-Id: Id252dd3fdd528ff2b87816a0f1947f2a54d5200a
|
|
|
|
| |
Change-Id: Ia5d6832137700b542c88b3c8d14efdd470bd195d
|
|
|
|
| |
Change-Id: I008d18e613e6a34099dc577d0452790f29a67169
|
|
|
|
|
|
|
|
|
|
| |
* Change "choose backup format" to "choose default backup format"
to clarify that the change is persistent
* Change the default backup format selection such that it correctly
shows the current default format (instead of always showing tar)
Change-Id: I4fe4bd9a07633f8fc4d335c424e20aea99f90f85
|
|
|
|
| |
Change-Id: I3b3b85e2eec3a81fd50aa4bdba531def607a6bfc
|
|
|
|
| |
Change-Id: I65990d21657bc11367269186b8efde63778fb611
|
|
|
|
|
|
| |
https://github.com/CyanogenMod/android_bootable_recovery/commit/77013ccee7c0c4570fad84f854b5b6a44bee6a73#commitcomment-2172624
Change-Id: I3383ff66eb44b2507674f91ab0e20f30246b969b
|
|
|
|
| |
Change-Id: Ic9dcb1745f4172919da9d33fa6961bee3bef3b15
|
|
|
|
| |
Change-Id: I0e75d71c496d64153d9a1b0da79865b3b0367264
|
|
|
|
| |
Change-Id: Ibd144703050ca33378b0af2eec63d8c8440c7a23
|
|
|
|
|
|
| |
handlers.
Change-Id: I0df52b3929ea3aaf179e1c572b80841c89879ca8
|
|
|
|
|
|
|
|
|
| |
exist.
nandroid: fix strftime usage mess caused by duplicate var names.
dedupe: verify paths exist and fail properly.
Change-Id: I06f3389a8b30d6c05aceff9f08cdaa83d032692a
|
|
|
|
|
|
| |
collection.
Change-Id: I419184acaf9e5656ee02fb7ddbf19dc4a5e7304f
|
|
|
|
|
|
|
|
|
| |
we need to be in the directory we want to backup, not the parent
directory
Patchset 2: fix filename of yaffs2 image
Change-Id: Ibf9576bc93d5b61c5f8608212bf68de05d5eb4a4
|
|
|
|
| |
Change-Id: Ieed4764b595f7a545b9e2113c34d7360e078ff4e
|
|
|
|
| |
Change-Id: I9680881f88d7d8b56fc544ac79f032647cd2f49f
|
|
|
|
| |
Change-Id: I697e04aedeb48ad4895a61fa303336ae3e98cdbd
|
|
|
|
| |
Change-Id: I9d03f72453d20ba8647b6f81821bf71004621011
|
|
|
|
| |
Change-Id: I3e57f4d038d6a5e2657c06c6de26d303a37fd2b3
|
|
|
|
|
|
|
|
| |
Change-Id: Ifdd37cf6f7109e55f0ab168bb8386e93a7751d94
Conflicts:
nandroid.c
|
|
|
|
| |
Change-Id: Ibd66afe03c9a2c183e4c7db35fe34adf0f5e24ff
|
|
|
|
| |
Change-Id: I2065755c26a2b49f09ac8592c61faa9474ce2f57
|
|
|
|
| |
Change-Id: Ia3b89aa8a05a882f8e2bea6e1375df08e17e2b00
|
|
|
|
|
|
| |
max files). May also address busybox large fs issues.
Change-Id: I1f5a5d717ac55ae6cf053ceaa1bf0b4e0061f00a
|
|
|
|
| |
Change-Id: I4fc59efc42991bdcf4fcd09feacfeb6fd984d58c
|
|
|
|
|
|
|
|
|
|
| |
refresh limitation
is in ui_print itself.
Revert "Only update UI at 1 Hz during nandroid backup/restore"
This reverts commit 04076f0722381ca68420c3b9172dac78d3b91017.
|
|
|
|
| |
Change-Id: I966def8862a8c864bfc17834bf5a2363b290bf0c
|
|
|
|
| |
Change-Id: I198e789ee01e8a5b10eee33ed59a2d828cfb096a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On high-resolution devices such as the Galaxy Note, UI updates
consume more CPU than all other operations. For example, a nandroid
restore on Note pegs an entire core at 1.4 GHz for the recovery
process while tar is using only 14% of the other core, and iowait
times are low indicating the CPU is not simply waiting for IO.
Nandroid backup/restore should be I/O bound, not CPU bound.
This changes the update interval to 1 Hz during nandroid
backup and restore.
Change-Id: Ic021cd6dc453b92468396cab1a31bd693efb43e0
|
|
|
|
| |
Change-Id: I35ad822ed602e2b1018f1e1a0d67499867b60a40
|
|
|
|
| |
Change-Id: I0e7bec03bb29f1ae72f23321f89cf704e54ff4d9
|
|
|
|
|
|
|
|
|
|
|
|
| |
is_data_media
-force /data as backup_path if volume for /sdcard is null and the same is true
Change-Id: I927b723cde5b519d81402c6d841f2424627253e8
Conflicts:
nandroid.c
|
|
|
|
| |
segfault happening due to C structs not being zeroed out.
|
|
|
|
| |
Change-Id: I6295b5bb7ada967ca223758be58d555c1a2ff462
|
|
|
|
| |
Change-Id: I403331df04d6a4cf75fd898af42dec7aab5a1b59
|
|
|
|
| |
Change-Id: I70cbb4df78b0bbc9d227d19aa6d9434eba2b540d
|
|
|
|
| |
Change-Id: I4aace74f1d3638241939f842a4526f9724cf5dac
|
|
|
|
| |
Change-Id: I65be72b5cd8c0679fb328a78eb4016e2c89ec9b0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Can't back this up unless we start selectively excluding apps, which is gross.
Most apps only store interstitial files here, so it is not a huge deal.
Apps need to be able to work properly without an SD card. (Oops ROM Manager).
Revert "backup and restore of /sdcard/Android (see getExternalFilesDir)"
This reverts commit 50732e3c67454e174f008ba5443b21070f360a56.
Conflicts:
Android.mk
Change-Id: I3978c5521b4f29c4d709c3bb6a8fa7e53678a79e
|
|
|
|
| |
Change-Id: I6306464cdce4e3b48e0d109284e5606f65a84ee2
|
|
|
|
| |
Change-Id: Iee385a602e33a44dfa0deee8af49133f16f09d2c
|
|
|
|
| |
Change-Id: I1125db9cb1a12a95060f7673965fd40994a78c5b
|
|
|
|
| |
Change-Id: I4afe3a8d4484f91b1e689d7b3aa4f137acd66e93
|
|
|
|
| |
Change-Id: Ib01131f3a65ce4114e73abe2c7ba42263d281844
|