1. 05 Jun, 2017 1 commit
    • nailyk-fr's avatar
      ors: Update doc · 79605aec
      nailyk-fr authored
      Change-Id: Ia026a8578262d4bb231e1727313ed1f5e323b880
      79605aec
  2. 21 Jan, 2017 2 commits
    • that's avatar
      orscmd: add minimal getcap and setcap tools · 6b9ad62b
      that authored
      These are mostly intended for debugging and for emergency repairs.
      Optimized for minimal code size and dependencies, not for usability.
      
      Change-Id: I671850a03151dd716c715f953f0b2bc8dbacffe7
      6b9ad62b
    • Ethan Yonker's avatar
      Disable relocations on orscmd to fix compile error in Omni 7.1 · 16159166
      Ethan Yonker authored
      ERROR: Missing or empty .rel.dyn or .rela.dyn section
      ERROR: Failed to load as ELF
      
      This change fixes the compile error by disabling relocations. Thanks to
      mdmower for pointing out the best fix.
      
      Change-Id: I60e637158c324295c42c480139d6d38157ba0d31
      16159166
  3. 18 Jan, 2017 1 commit
    • bigbiff bigbiff's avatar
      TWRP device version string · 584b9774
      bigbiff bigbiff authored
      For building through jenkins. Export a variable to the shell
      so that we don't monkey patch variables.h and keep the git tag
      clean in the version string.
      Jenkins will export the variable TW_DEVICE_VERSION=n where n > 0.
      The makefile will use this variable to show the device string
      in twrp startup. For mass production builds, omit the
      environment variable to default to 0.
      
      Change-Id: I0d6eb764255d7069c0fb4a378522a009cfe4054f
      584b9774
  4. 01 Aug, 2016 1 commit
    • bigbiff's avatar
      ADB: Add adb backup for TWRP. · ce8f83c4
      bigbiff authored
      Functionality for client side to backup
      tar and image streams over adbd to the client under backup.ab.
      
      Using adb backup on the client side you can backup the partitions
      TWRP knows about.
      
      On the client side you can do the following:
      adb backup -f <filename> --twrp <options> where options are
      --compress: compress data
      system: backup system
      cache: backup cache
      data: backup data
      boot: backup boot
      etc for each partition.
      
      You can string multiple options,
      i.e. adb backup -f <filename> --twrp --compress cache system data
      
      adb backup in TWRP will take any option corresponding
      to TWRP fstab partitions, e.g. efs boot as well.
      
      If you do not specify the filename with the -f option,
      adb will backup your data to a filename backup.ab on the client.
      You can then rename the file and encrypt it with desktop tools.
      
      If you don't want to use command line arguments:
      adb backup --twrp
      
      will bring up the gui and allow you to choose partitions
      from the backup page.
      
      To restore the backup use the following convention:
      adb restore <filename>
      
      Structures are used to store metadata in binary inside
      of the file itself. If the metadata structure is modified,
      update the adb version so that it will invalidate older
      backups and not cause issues on restore. When restoring,
      we currently do not support picking specific partitions.
      It's all or nothing.
      
      Change-Id: Idb92c37fc9801dc8d89ed2a4570e9d12e76facf8
      ce8f83c4
  5. 09 Aug, 2014 1 commit
    • Ethan Yonker's avatar
      Add command line capabilities · 03a42f6c
      Ethan Yonker authored
      Allows sending openrecoveryscript commands to TWRP via shell.
      This may be handy for visually impaired users, for various one
      click utilities to drive TWRP commands from a computer, for using
      TWRP when a catastrophic hardware failure like a shattered screen
      prevents you from being able to use touch, or even on devices like
      a TV stick where touch and USB mouse input is unavailable.
      
      This patch also includes a few minor changes to openrecoveryscript
      including proper support for rebooting via the script and for
      decrypting the device via the command line.
      
      Change-Id: I796ad168efdd2da9c25334ac93d1079daaa7b0bc
      03a42f6c