Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cm 12 0 #1

Open
wants to merge 654 commits into
base: cm-11.0
Choose a base branch
from
Open

Cm 12 0 #1

wants to merge 654 commits into from

Conversation

naughtyboy83
Copy link
Owner

No description provided.

Doug Zongker and others added 30 commits March 12, 2014 20:34
…overy"

* commit 'cb1bdc9e427b8b7262d1e56fef47d2bb6d76139f':
  remove pixelflinger from recovery
…minui"

* commit '239fb930e4d91de5d3a66997d32d43414055d40e':
  separate fbdev-specific code out from minui
Conflicts:
	screen_ui.cpp
	screen_ui.h

Change-Id: Iefe7dde04cc76639f56730a19238436073f18ffb
* commit '5950899369b712f66aa56c857c66ed1b6741f0e0':
  allow CheckKey to request mounting /system
* commit '8f087d024619467de8609656e8a14370f24b817c':
  update tools for making recovery images
* commit 'c91612d4668688c5d7bf76c258c11010697a03d2':
  remove pixelflinger from recovery
* commit 'a7266ef0b1804e3ddeea58bda9a416e807a55f88':
  separate fbdev-specific code out from minui
Change-Id: I92d5abd1a628feab3b0246924fab7f97ba3b9d34
* commit '026ebe0214d6c1c9b3ddc22c35e9ac37e5f622bc':
  Recovery 64-bit compile issues
* commit '026ebe0214d6c1c9b3ddc22c35e9ac37e5f622bc':
  Recovery 64-bit compile issues
* commit '4b6de1ba1ce0fff95c18a8abb7ba6e5762006d49':
  Recovery 64-bit compile issues
Reduce the number of copies of libpng boilerplate.  Rename
res_create_* functions to be more clear.  Make explicit the use of the
framebuffer pixel format for images, and handle more combinations of
input and output (eg, loading a grayscale image for display rather
than use as a text alpha channel).

Change-Id: I3d41c800a8f4c22b2f0167967ce6ee4d6b2b8846
Regression - verification and extraction on memory, not files

Bug: 12188746
Change-Id: Ib6facc4aff6be3a31a7d184ef1c493fdd4012c21
Change-Id: Ib95b5bcd8d24014e1f2a956d2f31c99a471d3e30
Change-Id: I19f9f460145fdcf5cdc58ee4fa25ff3c9ba398f0
…v-plus-aosp

* commit '80c1a386d3f614919708b37986919ecaf74ee738':
  refactor image resource loading code in minui
We were printing the address of channels instead of the value there.

Change-Id: I652340c7c1a0abaf01af555e54d2c0366d21ad78
* commit '130a7985386f7f7741179fc38b1a15da7ec9f358':
  fix error log statement
* commit '130a7985386f7f7741179fc38b1a15da7ec9f358':
  fix error log statement
* commit '47c7e365071f75489604b2d0ba3109fe39bac1ef':
  fix error log statement
The "--shutdown_after" option causes recovery to power down the device
on completion rather than rebooting.

Removes the last vestiges of the "--previous_runs" argument, which
doesn't seem to be used for anything.

Change-Id: I465eda2ef59d367e2b1c79a8dc69831263c69a4d
Change-Id: Ib1d15be84cec58e23472ef2014d322f3f55c6bb8
Change-Id: I3d00437d519f93652ccae6b361e89e853ccae9b3
The "--shutdown_after" option causes recovery to power down the device
on completion rather than rebooting.

Removes the last vestiges of the "--previous_runs" argument, which
doesn't seem to be used for anything.

Change-Id: I465eda2ef59d367e2b1c79a8dc69831263c69a4d

Conflicts:
	recovery.cpp
* commit 'bacf9b4558c69e918d9c05b6f111bbb223829829':
  add --shutdown_after option to recovery
…v-plus-aosp

* commit 'b4bbf8878c3a6b2a17a3a96f1a23300748dbd81a':
  add --shutdown_after option to recovery
tdmcyngn and others added 29 commits November 25, 2014 16:10
Reset menu_show_start if the selected item won't be visible.  This
fixes the display after selecting an item from the second page in
the file list.

Change-Id: Iff2bef39ec294c47bcaadce4128adb6d14d9e4db
 * Fix reboot_now comments to reflect actual usage.

Change-Id: I692d626185af24620382f7b318c2b77f643ccfb8
Change-Id: I1c9b78c8fba3c23f2ecddb7659746af0bd12ee55

sr: Fix incosistent menu options capitalization

Change-Id: I304443ce2cce2c35ad1c55444af6e3e7b53d7ea1

sr: Only use 4 items on wipe confirmation screens

 * Large fonts in Touch UI prevent more than about 7 menu lines.

Change-Id: If523a85d67460c0ac4e012727d946eadb9c68436

recovery: Density based header and fonts

 * Scaled images based on http://review.cyanogenmod.org/#/c/64091/

Change-Id: Iccf15aaa0a1d3f000f9f4768b520125b8f825791
Change-Id: Id8d7fde4d9bd8b300dc1ee5ea55ac17651019c0f
Change-Id: I1099fa2d571caa36a8d20db2ff7fc7f30d0f322e
Change-Id: Ia75203e95837a4a69b420ae769c920992ac6f144
 * The progress thread is running all the time, which causes the device
   to heat up while in recovery. Start this thread only when the
   progress mode is set to something other than EMPTY, and add a
   terminating condition so that it exits when finished.

 * Incorporate Tom's patch to keep it updated when visible, since
   both are needed to get working progress indications without
   killing batteries.

 * Clear buffer in draw_progress_locked() and always call this in
   update_progress_locked().  This is necessary to ensure that all
   backing frames in the graphics implementation get updated because
   we aren't guaranteed to have any particular number of backing
   frames.

 * Remove dialogs on wipe operations since we are using the progress
   animation now.

 * Set progress indicator after showing "Formatting" text to avoid
   momentary flicker.

Change-Id: Ib70d2cb25f01d9920ffb698b5b5b47af827ef483
 * Remove extraneous menu update causing jank
 * Use official colors

Change-Id: I5ca3faf54a51853fde8270edeee0fba778906659
 * Fixes "View recovery logs"

This is probably not the best solution, perhaps find a different way?

Change-Id: Ibd901ce7f69ec05c4d26cdb027e51b7e5b826034
Change-Id: Ief15f876f8abfd596a1b9c5b439be8d6ce1e3e28
Change-Id: Idef0e724098fbdd79fd1a4c0654e5818182cb1e6
Communication with adb is now done via stdin/stdout.  Dupe these
descriptors and use them for read/write, and redirect the actual
stdin/stdout to the recovery log file.

Also limit progress updates to once per second to avoid overrun
on the messages socket, and silence some debug output.

Change-Id: I674fc9c38d94ea411f4ec5b271ed7a977c31aa93
* Commit 8b0f4a4 "Old-school Holo UX" changed
  these to something out of sync with the rest,
  and also broke recovery on the devices that fell into
  this density bucket.
* Restore the AOSP images.

Change-Id: If55a9925903d9bb1cfc77d6752666c7e2e6d20fe
Provide a means to include device-specific recovery modules that need to
be built (i.e. not pre-built). A list of recovery modules can be
specified by a device with:

TARGET_RECOVERY_DEVICE_MODULES := rec_mod_one rec_mod_two

Change-Id: Ibd19a71318863461d472471a4f7cfddfb1b9ae0d
Change-Id: I86bfa73d4004a3b44b3047ee72205a8fa079ec20
Change-Id: I157fb0a71e859967d7e9b0537b71f2727fbf6f30
 * When browse_directory() returns NULL, update status to INSTALL_NONE
   so that the wipe cache logic doesn't get invoked.

Change-Id: I2651dc4d353168cb80b9e13b64e2a4ff29e81e2c
Change-Id: I17d55935f0e286f9b264cbbca623a94f9db6dc88
 * Use detach mount for local storage paths in setup_install_mounts().

 * Remove hardcoded path unmount in start_sdcard_fuse().

Change-Id: I6fe5a36fa37a153b7654a3bb580c67df571eb813
 * Always launch adb as a child process, not a thread.  This allows us
   to cancel with SIGTERM when the host does not initiate sideload.

 * Always kill adb from the sideload thread, where it was launched.

 * Remove the magic exit file in the FUSE sideload code in favor of a
   signal handler.

 * Use a timer to wait for the fuse sideload file instead of a counted
   number of sleep calls.  This ensures a consistent wait time when the
   process receives signals.

 * Allow ENOTCONN for sideload file, in case a previous adb instance
   was terminated without properly cleaning up.

 * Provide sideload cancellation in adb_copy_file().  Note the whole
   adb_copy_file mechanism is is ugly but it will be replaced with a
   block cache in fuse_sideload.c.

 * Allow cancel of sideload thread from the UI thread via member
   sideload_data.cancel.

 * Fix semantics for stop_sideload and wait_sideload.  stop_sideload
   sets the cancel flag for the sideload thread.

 * install_package starts the progress thread, it cannot be used to
   cancel the UI wait.

Change-Id: Ibf63a6b57fe1be52227974d811f302f1b5860c06
bootable/recovery/voldclient/dispatcher.cpp:79: error: undefined
reference to 'vold_unmount_volume(char const*, bool, bool)'

Change-Id: Iafdfd0df2f9803962ebc318b12c9241c38e29681
Commit 1b090f7 made the progress bar
being drawn incorrectly, because it made the empty part of the progress
bar always being drawn completely, even though it should be drawn only
partly, because there's also a filled part. Fixit.

Change-Id: I3d574d1ab3dc0a7c8f85c90a03f084caf852de0d
Create a cache of block data received via adb.  The cache size is set
to ensure that there is at least 100mb available for the installer.

When the cache is large enough to hold the entire file, each block is
read via adb at most once.

When the cache is not large enough to hold the entire file, the cache
will need to be pruned.  Because files tend to be read sequentially
during install, the pruning algorithm attempts to discard blocks that
are behind the current file position.

Remove logic to fetch the entire file in favor of the cache.

Change-Id: Id8fc7fa5b38f1d80461eb576b1a1b5d53453cfc1
 * When the host aborts sideload during verification, the FUSE file is
   mmap()'d and the abort generates a SIGBUS.  Handle this with longjmp
   and return VERIFY_FAILURE.

 * During adb sideload, handle SIGTERM by setting a flag.  This allows
   the sideload thread to terminate gracefully.

 * Note SIGTERM is handled by the main adb thread, so the sideload
   thread does not get an EINTR from read().  Add a select() to ensure
   that the sideload thread can detect the error.

Change-Id: I2287ca2e7178138723c437174970434bfcb3c215
... otherwise it is omitted from build.

Change-Id: I45930e1501f13af641ee96ac64164aae4101d85b
This also removes an unnecessary sleep after vold successfully connects.

Change-Id: I4370dc145e811af6e61ddbe313c28eaef723c0a8
No idea why this is here, but it breaks arm64 builds. bionic's signal.h
must be used on those

Change-Id: Ia6c39116061e1e47747b1c868e7e0b4d70c3c894
Press the home key returns "TOGGLE", this behaviour conflicts with the regular home key handling, that is the home key doesn't work as selection key.
Change-Id: Ic1ae27304aa939e2c8db242121afd43d28d3aa9e
@naughtyboy83 naughtyboy83 self-assigned this Mar 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.