1. 15 Oct, 2015 2 commits
  2. 14 Oct, 2015 3 commits
    • Davis Mosenkovs's avatar
      Fix minor interface bug: No-SU prompt after no-OS prompt · b909aae7
      Davis Mosenkovs authored
      When /system is wiped in TWRP and afterwards Reboot -> Recovery is selected the "No OS is installed, are you sure you want to reboot?" prompt appears. After swiping to "Reboot anyway" the "Current ROM is not rooted, do you wish to install SuperSU?" prompt appears.
      This change removes "Do you wish to install SuperSU" prompt after "No OS installed" prompt.
      
      Change-Id: Ie1157afdf5cf1cb81d6647269172d6e63af9f4b0
      b909aae7
    • Kra1o5's avatar
      Add support for RGBA_8888 pixel format · 7756859a
      Kra1o5 authored
      Change-Id: Ia15d49e51cad5bc8a3291975e1ff515a2b1c419c
      7756859a
    • Ethan Yonker's avatar
      Add qcom overlay graphics support to minui · a59da09d
      Ethan Yonker authored
      graphics_overlay.cpp is based on a mix of AOSP code for
      graphics_fbdev.cpp along with overlay graphics code from CAF that
      was brought into earlier versions of TWRP and then further adapted
      and improved before being brought into this patch set.
      
      Also added a rule to build a minuitest binary for testing the
      minui engine to ensure proper operation on a device.
      
      Change-Id: I3972d3a6baa7002615319421ac07d9299c3cec69
      a59da09d
  3. 13 Oct, 2015 2 commits
  4. 10 Oct, 2015 2 commits
  5. 09 Oct, 2015 2 commits
    • Ethan Yonker's avatar
      Fix mkfs.f2fs error in 6.0 trees · 5235f555
      Ethan Yonker authored
      Change-Id: I1217094f0e336445eb4dd5f46242d9719525ffbd
      5235f555
    • Ethan Yonker's avatar
      Merge up to AOSP marshmallow-release · c798c9cd
      Ethan Yonker authored
      In order to maintain compatibility with older trees, we now have
      minadbd.old and minui.old. I had to use a TARGET_GLOBAL_CFLAG to
      handle ifdef issues in minui/minui.d because healthd includes
      minui/minui.h and there was no other alternative to make minui.h
      compatible with older trees without having to modify healthd rules
      which is outside of TWRP.
      
      Note that the new minui does not currently have support for qcom
      overlay graphics. Support for this graphics mode will likely be
      added in a later patch set. If you are building in a 6.0 tree and
      have a device that needs qcom overlay graphics, be warned, as off
      mode charging may not work properly. A dead battery in this case
      could potentially brick your device if it is unable to charge as
      healthd handles charging duties.
      
      Update rules for building toolbox and add rules for making toybox
      
      Use permissive.sh in init.rc which will follow symlinks so we do
      not have to worry about what binary is supplying the setenforce
      functionality (toolbox, toybox, or busybox).
      
      Fix a few warnings in the main recovery binary source code.
      
      Fix a few includes that were missing that prevented compiling in
      6.0
      
      Change-Id: Ia67aa2107d260883da5e365475a19bea538e8b97
      c798c9cd
  6. 26 Aug, 2015 2 commits
    • Ethan Yonker's avatar
      Add TW_IGNORE_ABS_MT_TRACKING_ID · d6821a11
      Ethan Yonker authored
      Fixes touch on Oppo R7 Plus
      
      Oppo R7 Plus, when recovery is flashed and booted from the actual
      recovery partition, the digitizer sends some extra touch data for
      up to 10 different touch slots even if no actual touch is present
      for those slots (ABS_MT_SLOT). This patch allows TWRP to handle
      touch data properly for this device and maybe others.
      
      Change-Id: I8f9171b605566788b674b3d4d96bd9f2f65736c2
      d6821a11
    • Ethan Yonker's avatar
      Fix up some TW_OEM_BUILD things · 89583ef0
      Ethan Yonker authored
      Fix factory reset now properly formats data as expected
      Change text for ORS processing
      Disable system read only check, SuperSU, and patch system
      Stop copying fstab and version to cache
      
      Change-Id: I20f5cae390afbb8d2d88e01b8d9b9bf4ff0fdea1
      89583ef0
  7. 09 Aug, 2015 2 commits
  8. 05 Aug, 2015 1 commit
  9. 04 Aug, 2015 1 commit
    • Tao Bao's avatar
      udpater: Call fsync() after rename(). · be19dce8
      Tao Bao authored
      We need to ensure the renamed filename reaches the underlying storage.
      
      Bug: 22840552
      Change-Id: I824b6e9d8a9c5966035be7b42a73678d07376342
      (cherry picked from commit dc3922622a94af4f6412fd68e8f075f839ab2348)
      be19dce8
  10. 27 Jul, 2015 1 commit
  11. 22 Jul, 2015 1 commit
  12. 15 Jul, 2015 1 commit
  13. 14 Jul, 2015 6 commits
    • Ethan Yonker's avatar
      Add ntfs-3g support · b81d9051
      Ethan Yonker authored
      Add support for mounting ntfs via ntfs-3g and support for wiping
      and repairing ntfs partitions.
      
      Change-Id: I82dc4626f459bb93b86eb9ebba64ad3a6560781b
      b81d9051
    • Ethan Yonker's avatar
      Make system read only show no matter what on first TWRP boot · 961d20e0
      Ethan Yonker authored
      Initial value for tw_mount_system_ro is now 2. If the value of
      tw_mount_system_ro is 2 during boot, then we will show the system
      read only prompt and ignore the value from the lifetime writes
      check.
      
      Note: Changed the value of FILE_VERSION which will trigger the
      data manager to throw out previous settings and start with default
      values so that existing TWRP users will get the prompt at least
      once.
      
      Change-Id: I447767b64617f855156a19a5dc15c4ece6dff7b8
      961d20e0
    • Matt Mower's avatar
      Allow devices to override USB init · ec009e8c
      Matt Mower authored
      This enables devices to provide their own USB configuration. The
      contents of init.recovery.usb.rc can most simply be modified and
      included in a device's init.recovery.${ro.hardware}.rc.
      
      Use option:
      TW_EXCLUDE_DEFAULT_USB_INIT := true
      
      Rationale: Some devices handle USB pid switching in the kernel. In this
      case, USB init provides switching functions which differ from the
      standard on property:sys.usb.config=xyz. Other devices should not see
      USB attempt mtp,adb mode when TW_EXCLUDE_MTP is set.
      
      Cherry-picked from android-5.0
      
      Change-Id: Ief0fcaf46a1782102166fc1b733a34b1a1ba0802
      ec009e8c
    • Captain Throwback's avatar
      Update path for libcryptfs_hw to proper variable · 7fe1b398
      Captain Throwback authored
      Change-Id: Ie91d161f4e439a870534639f44a03df22f4fe39a
      7fe1b398
    • that's avatar
      gui: allow listbox to be used as menu and as read-only list · c01391c1
      that authored
      Also enable string insertion for list items.
      
      Example how to make a menu item:
      <listitem name="Lights on!">
      	<action>
      		<action function="setbrightness">255</action>
      	</action>
      </listitem>
      
      If no <data> element and no actions on any items exist, the list is
      read only and no item selection is possible.
      
      Change-Id: Ib2668a982df2514484d44faa0396dd17550f39f3
      c01391c1
    • that's avatar
      gui: keyboard: support longpress label offset, code cleanup · f6b2066f
      that authored
      To position the longpress label:
      <longpress font="..." textcolor="..." x="5" y="0"/>
      x and y is the distance from the upper right corner.
      
      - extract method GUIKeyboard::DrawKey
      - clean up handling of currently pressed key
      - integrate key highlighting into main key drawing loops
      
      Change-Id: I80ccf2975d30cffa2a48627a74ab3693c84e4fa4
      f6b2066f
  14. 13 Jul, 2015 2 commits
  15. 07 Jul, 2015 4 commits
  16. 06 Jul, 2015 2 commits
  17. 02 Jul, 2015 1 commit
  18. 01 Jul, 2015 5 commits