summaryrefslogtreecommitdiffstats
path: root/openrecoveryscript.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-10-07Remove extra slashes from zip path in openrecoveryMatt Mower1-3/+3
TWFunc::Get_Path() returns a path with a trailing slash and the substr method is returning a string with a leading slash, so we don't need to specify additional slashes for wholePath in Locate_Zip_File(). Also, put 'value' readout to log on its own line if it exists. Change-Id: I2a4db6dbde5552f5a803eabb0599fd983d683fca
2014-08-09Add command line capabilitiesEthan Yonker1-1/+33
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
2014-02-15Improve ORS scanning of storage locationsEthan Yonker1-46/+29
Grab a vector of storage locations and iterate through them for searching for zips and restore folders. Change-Id: Ia045b1e15ac3701132d61fe9f5847da5785a9b4e
2014-02-12Add fix permissions to OpenRecoveryScriptEthan Yonker1-0/+4
Change-Id: I2419cba26fcf046833b5a02fd1b95d6d6e542b8a
2013-10-24Update licenses to all matchDees Troy1-21/+17
Change-Id: I3be70a897e563658736b2dec3a9ea2697b69b225
2013-10-22Update licenses to all matchDees Troy1-21/+17
2013-09-18check for space after = toobigbiff bigbiff1-0/+2
2013-09-12Add TWFunc::Exec_Cmd() with no 'result' agrumentVojtech Bocek1-5/+3
Signed-off-by: Vojtech Bocek <vbocek@gmail.com> Change-Id: Id8acff1ac9b3c7e4b562c80562a8ff42a1d132b9
2013-09-10another fix to ignore space then = signbigbiff bigbiff1-0/+2
2013-08-30ignore extra = on install cmdbigbiff bigbiff1-0/+2
Change-Id: If9a0e6d4c00f6dd79f76c68ed0370a3101211801
2013-06-22Support encrypted backup filesDees_Troy1-1/+6
Also includes features merged from: Update twrpTar by kokotas Revised function entryExists(). Added function to get archive's uncompressed size. Added option to exclude item(s) from the archive. Revised forks() http://review.teamw.in/#/c/590/ Change-Id: I01fa2c81643161984eff2625247af75990684bd9
2013-04-04Move all AOSP code out of recovery binaryDees_Troy1-78/+81
Improves license compatibility between GPL and Apache Change-Id: I2b165aa575bb6213af6b07936f99610c113443f0
2013-03-30Add partition list GUI elementDees_Troy1-77/+39
Add partition list GUI element and update backup, restore, mount, storage selection, and wipe sections of GUI and partition manager code to reflect the new GUI element. Update ORS engine to handle new backup and restore setup. Fix a bug with decrypt. Add 1080x1920 layout. Change-Id: Iaa2f44cb707167e66f935452f076ba00e68a2aa4
2013-01-28Reset progress bar in ORSDees_Troy1-1/+2
Change-Id: Ia7df2fa80712dc9ff7fda97261fefa33ce823ae0
2013-01-25Use GUI for ORS instead of console onlyDees_Troy1-98/+129
2013-01-24Convert AOSP commands to ORS for encrypted devicesDees_Troy1-6/+20
Change-Id: I6a76a51cd9efd7db67d7abeeb26f9bdd0eebf5a9
2013-01-18Improve ORS sideload to display GUI with cancel buttonDees_Troy1-28/+24
2013-01-17Add sideload command for ORSDees_Troy1-0/+31
2013-01-17ORS engine fixesDees_Troy1-11/+8
Fix backup to not error when a non-existant partition is given. Fix restore to run when no partition parameters are given. Ensure that ORS runs after decryption and that zips install. Fix a problem with the fake internal sdcard not mounting to /sdcard on data media devices.
2013-01-09Add libtar to TWRP instead of using busybox tarbigbiff bigbiff1-13/+7
Add proper mkdosfs tool Add fuse to TWRP Add experimental exfat-fuse to TWRP Convert all system() functions to use new Exec_Cmd function
2012-10-16Update injecttwrp for Epic 4G TouchDees_Troy1-1/+13
2012-10-02Ensure that actions are not simulated in ORSDees_Troy1-0/+1
2012-10-01Update ORS and recovery commandsDees_Troy1-114/+133
2012-09-27Port backup name checking to Partition ManagerDees_Troy1-0/+4
2012-09-20Add and improve OpenRecoveryScript supportDees_Troy1-0/+476
Improve zip finding in ORS engine Add support for restoring with just a backup name