summaryrefslogtreecommitdiffstats
path: root/twinstall.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Force zip verification in OEM buildsEthan Yonker2014-04-151-1/+3
| | | | Change-Id: Ie894b5f5cda64f83b1bb58bb977024230b0337f2
* Allow disabling legacy propertiesMatt Mower2014-03-271-0/+4
| | | | | | | Introduce TW_NO_LEGACY_PROPS flag for users that build TWRP in non-kitkat trees and don't need the legacy prop environment. Change-Id: Iacb2d9af7d7069acb3d0a96bb34f32ded6317a20
* Add basic error checking to legacy property initMatt Mower2014-03-271-14/+48
| | | | | | Let init and rename funcitons return success or failure values. Change-Id: Ieed86cac8a0dcfd770a89dacc57fd306e7a6ad8d
* Support pre-KitKat properties for update-binarythat2014-03-091-1/+31
| | | | | | | | | | | Google changed the in-memory format for storing properties in 4.4. Zips containing an older update-binary expect the old format, otherwise assertions on properties in the update script fail. This is just enough of the old property service to copy the properties to the legacy format before running the updater. Change-Id: I404680384bdc5e952609e295029ab0a0faf743a5
* Update licenses to all matchDees Troy2013-10-221-0/+17
|
* Kang in older minzip for building in CM9 & CM7Dees Troy2013-09-101-0/+5
| | | | CM7 and CM9 do not have libselinux needed in the newer minzip.
* Extract file_contexts from zips if it existsDees_Troy2013-09-051-1/+32
| | | | | | | | | | | | Update binary will now extract file_contexts if it exists in the root of the zip to /tmp Recovery will replace the existing /file_contexts in the ramdisk if file_contexts exists in the root of the zip. This ensure that the proper contexts are used during zip installs. Change-Id: If22c41101868643b67e6dba6177677c078fcd877
* Unify indentation and little clean-up in TWRP filesVojtech Bocek2013-08-241-26/+26
| | | | Signed-off-by: Vojtech Bocek <vbocek@gmail.com>
* Move all AOSP code out of recovery binaryDees_Troy2013-04-041-252/+97
| | | | | | Improves license compatibility between GPL and Apache Change-Id: I2b165aa575bb6213af6b07936f99610c113443f0
* use md5.c for computation of md5sumsbigbiff bigbiff2013-03-071-4/+7
| | | | | | create a framework for computing digests and reading digests in TWRP add space for backwards compatibility with bb md5sum Change-Id: Ia18e3f430eed5eba22e5052d39b9b8d88ecd4536
* Disable the forced MD5 checkDees_Troy2013-01-301-8/+2
|
* Update sdcard partitioning to C++Dees_Troy2012-09-271-5/+0
|
* Various fixesDees_Troy2012-09-201-1/+1
| | | | | | Modify AOSP mount and wipe functions to use Partition Manager. Update wipe code to reset the log file index when wiping cache. Add ADB sideload to 540x960 theme.
* Move to shared libmincryptDees_Troy2012-09-141-162/+3
| | | | | | | Remove mincrypt source from TWRP and add rule to make libmincrypt as a shared library. No more crashes during zip signature verification and less code to maintain in TWRP.
* Add wipe functions, compiles in CM7, text shows in UI, zips installDees_Troy2012-09-141-93/+2
| | | | | | | | Zip install works, had to move mincrypt code into TWRP to prevent a crash when checking the zip signature. Added wipe functions Made it compile in CM7 Made text show up in console and logging
* Make text appear in GUI console, Zip install works.Dees_Troy2012-09-121-0/+580
Move TW zip install code to C++ so that it can use the ui->functions. Bring in mincrypt code to fix a crash during signature checking.