Commits on Jul 14, 2012
  1. mkbootimg: support pagesize 8192

    Change-Id: I6ea20787b24fa3d271fe3ae1fce9551ee9ed4c57
    koush committed Jul 14, 2012
Commits on Jul 4, 2012
  1. init: Add a mechanism to extend the property service in device configs

    Instead of every so often adding a new set of stuff here for a specific
    device, let the device includes overload the property arrays. The
    new device_perms.h header documents it
    Change-Id: I477e27abebeb4b85abe5fcaf19333999b1625417
    rmcc committed Jul 4, 2012
  2. Revert "init: Add tegra media properties"

    This reverts commit ebe1082.
    rmcc committed Jul 4, 2012
Commits on Jul 3, 2012
  1. init: Add tegra media properties

    The T3 ALSA libraries "communicate" with eachother through
    properties... :|
    Change-Id: Ia35e0939ff672bdc43736a052fddc636c2aa9350
    rmcc committed Jul 3, 2012
Commits on Jun 23, 2012
  1. Merge "init: Check for symlinks with lstat() not open()" into ics

    cyanogen committed with Gerrit Code Review Jun 23, 2012
Commits on Jun 20, 2012
  1. unpackbootimg: Need to also update the written file.

    Change-Id: I45faddbae85273c79b2837f97933634b6e70546f
    koush committed Jun 20, 2012
  2. unpackbootimg: apparently mkbootimg no longer accepts hex values

    Change-Id: I95a33f7b40470e4500d418d863a65a75e7aa8499
    koush committed Jun 20, 2012
  3. unpackbootimg: Fix magic search.

    Change-Id: I68470b637556a08e48ff72b7ef8811cba13b04ad
    koush committed Jun 20, 2012
Commits on Jun 19, 2012
  1. unpackbootimg: Fix up the padding search in case the magic does not f…

    …all on a 8 byte boundary.
    Change-Id: I57471f9c2117cd7965b6958ea0aa88e356436da6
    koush committed Jun 19, 2012
  2. Update unpackbootimg to verify the Android boot image magic value. It…

    … will also search the first 512 bytes for padding.
    Change-Id: I490cba05f2bb616a3f64e3271ecaa61eb9e64be8
    koush committed Jun 19, 2012
  3. init: Check for symlinks with lstat() not open()

    Using open() with an O_NOFOLLOW flag will result in a file falsely
    being determined to be a symlink if the open fails for another
    For example, a character device that isn't ready due to the
    underlying hardware not being initialized yet will fail to open()
    An example of this are any CG2900 device files prior to
    execution of ste-cg29xx_ctrl
    This uses lstat() instead of open() with O_NOFOLLOW to check
    whether a file is a symlink or not.
    Change-Id: Ie0d8d94b426c84c29b1b04d41a4cc15536cb307c
    Entropy512 committed Jun 19, 2012
Commits on Jun 13, 2012
  1. toolbox: rmmod: fix module unloading

    Replace "-" with "_" in module name. This would keep
    rmmod compatible with module-init-tools version of rmmod
    Change-Id: I4470d9a98bc2f299acd94859fca4403aee279d2b
    Signed-off-by: Vishal Bhoj <>
    vishalbhoj committed with tpruvot May 14, 2012
Commits on Jun 11, 2012
  1. libcutils: Fix aliasing violations

    Fix aliasing violtations that caused a need for the
    code to be compiled with -fno-strict-aliasing
    Signed-off-by: Bernhard Rosenkraenzer <>
    libnetutils: Fix aliasing violations
    This allows us to build it with more compiler optimizations
    Signed-off-by: Bernhard Rosenkraenzer <>
    libcutils: Fix aliasing violation
    Signed-off-by: Bernhard Rosenkraenzer <>
    core: Fix build in ISO C++11 mode
    Fix compatibility with ISO C++11 compilers
    Signed-off-by: Bernhard Rosenkraenzer <>
    Change-Id: I8f9aa775b5681d4d8c5202a1a1935acb4efa4171
    adb: Don't force -O2
    Don't force -O2 over -O3 -- the O2 hardcode is there to force
    optimizations, not to reduce them...
    Change-Id: Ic75eeb767db4926f519580fba8f5f7b8e593df4f
    Signed-off-by: Bernhard Rosenkraenzer <>
    Bernhard Rosenkraenzer committed with rmcc Dec 7, 2011
Commits on Jun 2, 2012
  1. init: Fix LPM for charging_mode_booting

    Change-Id: I8093a9c265bdc2331235baa2c0294031b1b9c06b
    committed with cyanogen Jun 2, 2012
Commits on May 31, 2012
  1. Add error handling to SocketClient::sendData

    Return failure and set errno if mSocket isn't valid.
    Change-Id: I579114d435db46d0bb5682167ef34bebe061a8f8
    Mattias Falk committed with cyanogen May 13, 2011
Commits on May 29, 2012
  1. init: Fix chown and chmod for write-only files

    Change-Id: I570b631ced11ab104aafe7ebfe71bae4e380d8af
    benoitgoby committed with tpruvot Mar 29, 2012
  2. init: make chmod/mkdir/chown not follow symlinks

    This change brings init's do_chmod, mkdir, and do_chown into line
    with open's O_NOFOLLOW semantics, causing them to fail when the
    last element of their target path is a symlink.
    Change-Id: If00e1a25cfe17ef6f738af4bf0541abd0c1b084b
    gcondra committed with tpruvot Mar 20, 2012
  3. init: Add noexec mount option

    Change-Id: Ic13d66797a86d38432e79af0c3387ce986d0a19f
    Lars Svensson committed with tpruvot Jul 14, 2011
  4. Kindle Fire USB ID

    Adds Lab126's USB id to the known USB Devices
    Change-Id: I3cd5d90bba68123d5d3d2d67e1ab7d60137eb388
    Signed-off-by: Jon Sawyer <>
    Jon Sawyer committed with tpruvot Apr 15, 2012
  5. Fix typo in queue_property_triggers ident

    Signed-off-by: Chris Dearman <>
    Change-Id: I5f18ccb0912b9bb89c9f5104f9505c610c109af8
    chrisdearman committed with arco Mar 1, 2012
  6. init: Fix charger mode for qcom devices

    The filesystem exclusion logic before the Samsung lpm stuff was
    merged was completely broken and always returned true. (i.e.,
    fs hooks always ran)
    if (strcmp(bootmode, "charger") != 0 || strcmp(battchg_pause, "true") != 0)
    These 2 conditions are never false simultaneously (they're alternative
    charger mode flags), so the filesystem mount hooks always happened.
    The LPM support patch fixed that logic, but broke other devices in
    the process, since some implementations use stuff from /system (or even
    link with bionic) for charger mode.
    This patch makes the exclusion logic apply _only_ to Samsung LPM
    devices or those supported by the original AOSP code
    (androidboot.mode=charger), and lets every other device run the
    fs hooks
    Change-Id: I26006fe65761ad86fa6f4cfa5681d9b008844e64
    rmcc committed May 29, 2012
  7. Fix Samsung chargermode logic

    Samsung devices with BOARD_CHARGING_MODE_BOOTING_LPM get their config
    out of lpm.rc. Everybody else still needs the hardware-specific init.rc
    files to read charger mode config out of.
    Change-Id: Ibbe0446d2b18b018258b7b2951a88014709006ac
    rmcc committed May 29, 2012
Commits on May 28, 2012
  1. Merge "charger: allow custom charger res" into ics

    codeworkx committed with Gerrit Code Review May 28, 2012
  2. Merge "system/core: Support for audio routing to WiFi Display device"…

    … into ics
    cyanogen committed with Gerrit Code Review May 28, 2012
  3. Merge "toolbox: implement rm -f flag" into ics

    cyanogen committed with Gerrit Code Review May 28, 2012
  4. Merge "libnl2: Add the missing callback handler functions" into ics

    cyanogen committed with Gerrit Code Review May 28, 2012
  5. charger: allow custom charger res

    Example: BOARD_CHARGER_RES := device/samsung/galaxys2/res/charger
    Change-Id: I4cf359974475c06d219cb92c38efa2b8223ae367
    codeworkx committed May 28, 2012
Commits on May 27, 2012
  1. charger: Add support for non-standard charging interfaces

     * Certain devices may have multiple battery devices or broken uevent
       reporting when a power supply is disconnected.
     * Add a new BOARD_BATTERY_DEVICE_NAME to force which device to monitor.
    Change-Id: I3045bf17a4d962cc5f0e6a951472916412ac0d0d
    cyanogen committed May 27, 2012
  2. init: Fix the charging mode mess

     * Clean this mess up so that it actually works, even for lpm.rc only.
     * Add option from arcee to override the custom charging mode parameter.
    Change-Id: I025e61714f42bb1409aac1a68d01b12d9fed1237
    cyanogen committed May 27, 2012
  3. system/core: Support for audio routing to WiFi Display device

    Change-Id: I4569425b6a10987df225c6d66d2addd07327f881
    Ravi Kumar Alamanda committed with intervigilium Dec 20, 2011
Commits on May 26, 2012
  1. init: Add option to disable the initlogo

     * It looks like crap on some hardware due to different framebuffer
       formats. Just disable it if the option is set.
    Change-Id: Iad8ca25072fd16ca984050c6605bc1646821bee1
    cyanogen committed May 26, 2012
Commits on May 24, 2012
  1. libnl2: Add the missing callback handler functions

    This is required to build newer iw nl80211 wireless tools (v3+)
    Based on a commit by TI-OpenLink (nl_socket_set_cb only)
    which doesn't look like correct, so fix it and complete those
    to be compatible with opensource upstream...
    headers of these missing functions are in external/libnl-headers/netlink/socket.h
    Change-Id: If2bd6f998aa2712e8aeb581a6d8ce88ebf48b05d
    tpruvot committed May 23, 2012
Commits on May 23, 2012
  1. toolbox: implement rm -f flag

    this prevent compatibility errors in scripts (file "-f" not found)
    The force flag will not return an error if the file doesnt exist.
    Signed-off-by: Tanguy Pruvot <>
    Change-Id: I3267963284ee247629da5ab299e900c6e4a4ac68
    tpruvot committed May 4, 2012
Commits on May 21, 2012
  1. init: Properly detect hardware revision

     * get_hardware_name was returning early if the hardware type was set on
       the command line, and not proceeding to parse it from /proc/cpuinfo
     * Fix it so that it always parses ro.revision :)
    Change-Id: Ib5d31d536066fc6829db756cb6e5f003a05bf440
    cyanogen committed May 21, 2012
Commits on May 15, 2012
  1. init: Increase maximum number of Android properties to 372

    (cherry picked from commit 2af5dedb813b5f2fb1355ccf6e4a5de2378665d6)
    Change-Id: Ic4b45a10196b24ba2e4798fef45a125f9f3dbf15
    David Ng committed with cyanogen Mar 5, 2012