1. 06 Feb, 2016 3 commits
    • nkk71's avatar
      Remove range_sha1 check on block partition(s) · 4ba06182
      nkk71 authored
      * some installer-scripts are using "if range_sha1("/dev/block/platform/msm_sdcc.1/by-name/system",...) == "<sha1_hash>" then ..." which obviously breaks multirom rom flashing to secondary since this condition will always be false
      * workaround -> remove the check and let it always be true
      4ba06182
    • nkk71's avatar
      Add MultiROM support to standard TWRP tree · 09e43081
      nkk71 authored
      Squashed commit that allows MultiROM TWRP to be built from
      within the standard TWRP environment.
      
      MultiROM build flags and TARGET_RECOVERY_IS_MULTIROM
      must be defined in device tree.
      
      -------------------------------------
      
      MultiROM-support:
      - Move files to separate folder
        * Move primary multirom files to /recovery/multirom
        * Move multirom prebuilt files to /recovery/multirom/prebuilt
        * Move cp_xattrs folder used by multirom to /recovery/multirom/cp_xattrs
      - Add Android.mk for mrom-prebuilt files
      - Add Android.mk for mrom-cp_xattrs files
      - Fix include paths
        * fix includes in multirom.h/c/hpp/cpp files to go to parent (main recovery folder)
      - Add read_data function
        * Add read_data function used by multirom
        * Don't append to minzip, use a seperate file
      - Remove deprecated 'flags' variable
        * Remove deprecated 'flags' in function call to mzExtractRecursive
        * Ref: https://github.com/omnirom/android_bootable_recovery/commit/9c0f5d6b348e37533bdcccf1166d6cbf1ca5c50b
      - gui: Add multirom functions
        * objects.hpp - Add multirom action definitions
        * action.cpp - Add multirom actions and functions
          Note: TW_ORS_IS_SECONDARY_ROM code moved to openrecoveryscript.cpp
        * Add TARGET_RECOVERY_IS_MULTIROM flag to Android.mk
        * Reorder code changes for easier merging
      - twrp-functions
        * Add functions needed by multirom
        * Reorder code changes for easier merging
      - partition.cpp and partitionmanager.cpp
        * Add and embed multirom specific code
        * Reorder code changes for easier merging
      - twrp.cpp
        * Add and embed multirom specific code
      - variables.h
        * Add multirom specific defines
      - Android.mk
        * update Android.mk for compartmentalized multirom
      - gui: Update fileselector
        * Add <excludes> tag
        * Add support for multiple file extensions
      - gui: Update listbox
        * Add support for dynamic <items> tag
      
      Thanks @CaptainThrowback and @z31s1g for your help
      09e43081
    • nkk71's avatar
      updater: Delete dead code · 8242f0ce
      nkk71 authored
      set_perm and set_perm_recursive are no longer used. Delete.
      
      (cherry picked from commit 08ef9a95)
      
      Change-Id: I1bcc90ae19af9df4f0705496c5876987159f75ac (reverted from commit 46ab1b61)
      8242f0ce
  2. 05 Feb, 2016 9 commits
    • Ethan Yonker's avatar
      3.0.0-0 · b7e8b98c
      Ethan Yonker authored
      For better or worse, here we go...
      
      Change-Id: Ic1150b59e4ebf34f06c689b2a1b10ae691a027bd
      b7e8b98c
    • Andreas Blaesius's avatar
      twrp: translations: formatting and fix Turkish language file · 455a0ede
      Andreas Blaesius authored
      Change-Id: I3159a2a0c37589f9472aba83b699840356da33a7
      455a0ede
    • Matt Mower's avatar
      GUI: Set brightness after gr_init() · b26c1167
      Matt Mower authored
      On at least one device I've tested (htc msm8960), setting the
      brightness after gr_init() is necessary for the splash to show.
      
      Note that at this point in the boot process, the settings file has
      not yet been read, so tw_brightness has its default value of max
      brightness. When settings are finally loaded, the correct brightness
      is loaded for the GUI.
      
      Change-Id: Ifc58c1dc80ed9e6f6b2a269a9bb6764038626c84
      b26c1167
    • Matt Mower's avatar
      partitions: Avoid duplicate UMS mounts · 1fdcdb7c
      Matt Mower authored
      If a device has several LUN but only one storage volume TWRP
      recognizes (e.g. lun0 for microsd and lun1 for emulated cdrom), then
      avoid mounting the same partition twice by checking the mount point.
      
      Change-Id: Ie23b88acca1818873792e9f65b73b125a15e4a5d
      1fdcdb7c
    • Matt Mower's avatar
      partitions: Mount storage for MTP after wipe · 209c9635
      Matt Mower authored
      Conditionally run Add_MTP_Storage() after wipe if:
      1) is wiped successfully
      2) is storage (already implemented)
      3) mount succeeds
      
      Previous to this commit, Add_MTP_Storage() was called before mounting
      storage, which fails. Mounting storage right after wipe should not be
      a problem since Update_System_Details() does it anyways (and doesn't
      complain if already mounted).
      
      Change-Id: I8a5a78d5ac9181f3a9464dfe6b77284458f9868b
      209c9635
    • Ethan Yonker's avatar
      More languages, some partial, from Omni crowdin · 6168f0c9
      Ethan Yonker authored
      Change-Id: I05d0e8516686ba2610ea4b437c83323e84eb4595
      6168f0c9
    • Ethan Yonker's avatar
      Add font settings to some language files · 28c857d2
      Ethan Yonker authored
      Change-Id: I949fe4bd99d2a4471fef3e3967980a6163943e71
      28c857d2
    • Andreas Blaesius's avatar
      Import approved translations from crowdin · 20a01f99
      Andreas Blaesius authored
      - PS2: generic xml instead android xml
      - PS3: formatting
      
      Change-Id: I4c552e172d670278ab2bad1897ceb89b7ee7fec2
      20a01f99
    • Ethan Yonker's avatar
      Fix spelling error on string name · d3fb4dbe
      Ethan Yonker authored
      Change-Id: I06ab906ed94b1aaea35c32494880bf85d7564d4d
      d3fb4dbe
  3. 04 Feb, 2016 3 commits
    • Alexander Agura's avatar
      gui: imrove Russian translation · 1008ecf9
      Alexander Agura authored
      Seems that previous translator is overmind
      Anyway, thanx him for initial translation
      
      Change-Id: Ia98e344c24671cb60a0765e7c6dcb8aace6428fb
      1008ecf9
    • z31s1g's avatar
      gui: add german translation · 2053fe0b
      z31s1g authored
      also correct typo in all language files
      also remove dummy language files for ES and FI
      
      german translation was done on omni crowdin by multiple translators:
      https://crowdin.com/project/OmniROM/de#
      
      
      
      result was updated in line with latest changes (as of 02032016) to en.xml
      
      
      Change-Id: Iddd8dbee7e050833a4dc61174288514d408267f7
      Signed-off-by: default avatarz31s1g <z31s1g@googlemail.com>
      2053fe0b
    • Captain Throwback's avatar
      Add TWRP flags to enable logd and/or logcat in recovery · 1f127757
      Captain Throwback authored
      Developers and device maintainers may find it useful to have access
      to logcat in recovery. This patch set adds the following build flags:
      
      TARGET_USES_LOGD - This is an Android build flag that enables logd
      support. Devices that don't have built in kernel logging to dev/log/*
      will need this flag for logcat. We'll also use this to include the
      necessary support files for logd in TWRP.
      
      TWRP_INCLUDE_LOGCAT - This enables logcat support in recovery.
      
      I pulled the init entries from my HTC One M8 GPE boot.img,
      so I'm not certain whether these will work for all devices
      or if they're all necessary.
      
      Feedback is welcome.
      
      PS2: Use "TARGET_USES_LOGD" instead as this flag already exists, and
      previous flag was named incorrectly (logd isn't kernel logging)
      
      PS3: Start logd service on load_persist_props action, needed for 6.0+
      
      PS4: More info on "TARGET_USES_LOGD" flag as related to liblog
      compilation can be found at the below links:
      
      https://android.googlesource.com/platform/system/core/+/android-6.0.1_r10/liblog/Android.mk#27
      https://android.googlesource.com/platform/system/core/+/android-6.0.1_r10/liblog/Android.mk#50
      
      Whether or not this flag is needed for logcat in TWRP is dependent
      on whether liblog was compiled with this flag.
      
      PS5: Update commit message to better describe "TARGET_USES_LOGD" flag
      
      PS6: Another commit message update
      
      Change-Id: Iaac6c6c822dc93fbe4b6eadcf24eef6995dd6b50
      1f127757
  4. 03 Feb, 2016 1 commit
    • Hash Bang's avatar
      allow flashing sparse images · ed974bb8
      Hash Bang authored
      if the image has the right magic bytes to be a sparse image,
      use simg2img to flash the image
      
      create a rule to make a fully dynamic simg2img which results in a
      much smaller increase in gzip ramdisk size (2KB vs 40KB)
      
      Change-Id: I1b0f6bc127da46103888b1154a9bddd8ac02c01d
      ed974bb8
  5. 02 Feb, 2016 10 commits
  6. 01 Feb, 2016 2 commits
  7. 31 Jan, 2016 1 commit
  8. 29 Jan, 2016 10 commits
  9. 28 Jan, 2016 1 commit