summaryrefslogtreecommitdiffstats
path: root/prebuilt (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Make TWRP compile for x86-64 CPU targetEthan Yonker2015-03-131-1/+6
| | | | | | | Also add a short while loop to wait for fb0 to be created as was needed on the x86-64 target for the Android emulator. Change-Id: Ib1b87bea028ac3eac0541283334a0157cdfbce11
* Handle sdk version 22 as lollipopmar-v-in2015-03-111-2/+2
| | | | Change-Id: I87c17715d7acdf6ae15f8a39e3e316715bade6f3
* Use /twres instead of /res for theme resourcesDees Troy2015-01-221-8/+8
| | | | | | | | | AOSP and other ROM trees now do a rm -rf of the res folder during the ramdisk creation process that removes the TWRP resources. Using /twres instead of /res works around this issue making TWRP more compatible with AOSP and other build trees. Change-Id: I0d4c7e06ca381ac5aa0069b6f2b8c47f7dec49e7
* Merge "Include libpcre if present" into android-5.0Dees Troy2015-01-221-0/+3
|\
| * Include libpcre if presentDees Troy2015-01-221-0/+3
| | | | | | | | Change-Id: I51bdabbd5b2c2263f3f72cdd2ffcba2bc97e0c43
* | Remove fibmap.f2fs from relinkingDees Troy2015-01-221-2/+0
|/ | | | Change-Id: Ibf43367446782642f41d437d1d97d62fc7dbb185
* Include libnetd_client in recoveryVojtech Bocek2015-01-061-0/+2
| | | | | | | | * Bionic tries to load it, and if it isn't in /sbin and /system is mounted, it loads it from there and prevents it from unmouting Change-Id: I33d0b6ba4503f2822d96033fa26d53e10b8ce1c5 Signed-off-by: Vojtech Bocek <vbocek@gmail.com>
* Stop building unneeded libs for libblkidEthan Yonker2015-01-051-2/+0
| | | | Change-Id: I96d91f2d2e38380ff46a6ff6e2c8c9a245aa0431
* Build more needed libs for mke2fsEthan Yonker2015-01-051-0/+6
| | | | Change-Id: I473f5a0412bf35507a755d485bbdf53fd241748b
* Update blkid to 2.25.0bigbiff2015-01-051-1/+3
| | | | | | | | Break libblkid into 4 libraries: libblkid, libuuid, libutil-linux and libfdisk. This should help in later patch updates. Change-Id: I680d9a7feb031e5c29a603e9c58aff4b65826262
* crypto: remove unused libs and clean up makefilethat2015-01-051-3/+0
| | | | | | libsoftkeymaster and its dependencies appear to be unused. Change-Id: Ib720f5e4d2750a739ba6b65b346c0e167df279d3
* Update SuperSU to 2.40Ethan Yonker2014-12-1811-6/+480
| | | | | | | | | The SuperSU install process is getting rather complicated, so we will modify the install script slightly and use it to install all the things and stop trying to check to see if root permissions have been lost like we used to do. Change-Id: Ibdb64c909d2bd16e12bb35b4f31f572cc29add47
* Fix compiling of dosfstools for arm64Ethan Yonker2014-12-121-6/+3
| | | | Change-Id: If99d0be4b73cdeb388c6cb1b35a215d3b8b3b58d
* Use one mizip for allEthan Yonker2014-12-101-2/+2
| | | | | | | | | | | | The new minzip did not compile in older trees due to needing mmap64. For older trees we will just use mmap instead. Remove all files and code pertaining to minzipold. Updater should now build properly in older trees as well. Eliminate use of PLATFORM_VERSION in favor of PLATFORM_SDK_VERSION which should be more consistent and reliable. Change-Id: I38d2b604a73d1b17a2072c7d60e990b81ece0c10
* Include libext2_quota.so if present for e2fsprogs utilitiesEthan Yonker2014-12-091-0/+3
| | | | | | | Needed starting in 5.0 lollipop for e2fsck, mke2fs, and tune2fs binaries. Change-Id: Ie76517df4690f6407cb63d0607c6c0c8a77975e5
* Use linker64 on AArch64Ethan Yonker2014-12-092-1/+4
| | | | | Patch Set 3: Combine into one sed - by bigbiff Change-Id: Ice3147fae76575f6e09c7df201bcd3f949aa24ea
* Reduce libs needed for decrypt and clean up old decypt filesEthan Yonker2014-12-041-15/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | Trim cryptfs.c to remove functions that TWRP does not use for decrypt and remove the need for libfs_mgr from cryptfs.c by passing some items to cryptfs.c from the partition manager. Add support for new fstab flags: encryptable and forceencrypt=/path/to/cryptokey For example: flags=forceencrypt=/dev/block/platform/sdhci-tegra.3/by-name/MD1 Note that "footer" is the default, so you do not need to set this flag on devices that use the footer for the crypto key. Also add mounttodecrypt if you need to mount a partition during the decrypt cycle for firmware of proprietary libs. Clean up decrypt and only support one version Android 5.0 lollipop decrypt should be backwards compatible with older versions so we will only support one version, 1.3 that came with 5.0 lollipop. Remove support for Samsung TouchWiz decrypt. It does not work with the latest versions of Samsung encryption anyway and it has not been updated to work with any AOSP decryption higher than 1.1 Change-Id: I2d9c6e31df50268c91ee642c2fa090f901d9d5c9
* bootable recovery: we upgraded to 5.0.1erikcas2014-12-031-2/+2
| | | | Change-Id: I9e2f359dd7274e1ae885f6a3b392d5ab5ca99ac9
* Make the android-5.0 branch compile in 4.4 to 4.1Ethan Yonker2014-12-021-9/+16
| | | | | | | | | | | | | Migrate previous minzip to minzipold replacing the existing minzipold. This will break compatibility with trees that do not support selinux (ICS and older). Migrate former verifier files to verifierold. Add fuse.h to recovery source because older trees do not have it. Add LOCAL_MODULE_TAGS where needed for 4.1 tree. Change-Id: Iade57cb2b0115af7fce9f56aa98636b1744a1ef4
* Add flag for including additional files built from source in TWRPEthan Yonker2014-11-181-0/+3
| | | | | | | | | | | | | | | Some devices may need additional binaries or libs that TWRP normally does not need included in /sbin Use TW_RECOVERY_ADDITIONAL_RELINK_FILES to build them from source and get them added to the recovery ramdisk. For example, Nexus 9 needs libc++ included in order to decrypt the data partition. The following will build it from source and include it in TWRP: TARGET_RECOVERY_DEVICE_MODULES := libc++ TW_RECOVERY_ADDITIONAL_RELINK_FILES := \ out/target/product/volantis/system/lib/libc++.so Change-Id: I147c0d5569c83514d2e50226ecc50e80bf8aac36
* Make libmincrypttwrp a shared libraryEthan Yonker2014-11-171-1/+1
| | | | Change-Id: I8c3f084fc34b00edb4cd1b652290df8bc80ea1db
* Add lollipop decrypt supportEthan Yonker2014-11-121-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | Kang in cryptfs.c and cryptfs.h from vold. Use TW_INCLUDE_L_CRYPTO := true to enable. Ramdisk must contain the normal fstab file in the root in the usual format of: fstab.{ro.hardware} For examble for Nexus 5: fstab.hammerhead Or on many Qualcomm devices: fstab.qcom Tested against Android 5.0 lollipop on Nexus 7 2012 grouper. Not sure if or how this will work when we are dealing with a device with a hardware keystore. Long term we need to add a GUI element to allow entering a pattern. For now you can decrypt a pattern unlock by converting the dots to numbers in the following format: 123 456 789 So an upper-case L would translate to 14789 as a password entered on the keyboard. Change-Id: I02c29e1f1c2eb29bf002c9fe0fc118357300b5b3
* Make TWRP compile for arm64Ethan Yonker2014-11-121-6/+11
| | | | | | | | | | | | | | | | -Remove dosfstools for arm64 until we can make it compile -Fix TW_USE_TOOLBOX flag to work again -Fix symlinking and handling of sh when using mksh -Fix legacy properties to find futex_wake function -Fix libcrecovery to not use bsd_signal anymore -Fix rules for building with regards to libcrecovery -Update toolbox_recovery rules to compile tools in lollipop -Fix a few compile errors specific to arm64 Testers report that TWRP does not boot on Nexus 9 and we fail to get a shell for adb shell. At least it compiles without errors. Change-Id: I286be8628defb60cc527b8a548c0bdfcb0ebb574
* Add new needed libs for 5.0 recoveryEthan Yonker2014-11-071-0/+6
| | | | Change-Id: I9444e50b32517aebeca5ff3644c1c2f0dfff9d29
* Remove libcorkscrewEthan Yonker2014-11-061-1/+2
| | | | Change-Id: Ib93b934c6154a0a8955eb66c1bb0eed8aff10e34
* Remove dependence on build hax in makefilesMatt Mower2014-11-031-1/+0
| | | | | | | | | Update makefiles to no longer rely on INTERNAL_RECOVERY_FILES. Define LOCAL_ADDITIONAL_DEPENDENCIES instead. Set LOCAL_LDFLAGS to properly link recovery executable. Change-Id: I4542104c69399b5a19674b9772ab89c3709efa72
* Add support for TrueType fontsVojtech Bocek2014-10-141-0/+4
| | | | | | | | | | | | | * Keeps original font system in place * Uses the same API as original font system: - You can render only one line at a time - You can only use one font and color for one gr_text* call * Caches all rendered text, with a string cache limited to 400 entries, then it trucates to 250, which results in memory usage hovering around 5-10MB Change-Id: I36107b9dcd8d57bae4486fce8b8f64e49ef3d906 Signed-off-by: Vojtech Bocek <vbocek@gmail.com>
* Fix exfat-fuse handlingDees Troy2014-10-091-0/+1
| | | | Change-Id: Iac1966a1c5bfcb627e1bee7100c4b5d069b0a5b7
* Fixes for exfat-fuseCaptain Throwback2014-10-071-1/+4
| | | | Change-Id: I46a1e7bf115c45616774b0571b17e38777ba87f8
* add mtp responder to TWRP.bigbiff bigbiff2014-09-031-0/+10
| | | | | | Big thanks to Dees_Troy for helping with the implementation. Change-Id: I6c9c522b9c9de5dc139e2ecb0141008182ba07f0
* Add command line capabilitiesEthan Yonker2014-08-091-0/+3
| | | | | | | | | | | | | | | 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
* Whitespace and minor code cleanupMatt Mower2014-06-044-26/+26
| | | | | | This is by no means comprehensive, but is quite a bit better already. Change-Id: Ibc8654a5dfb0eec39cbd0b64bdb52bb4fbfe2f7e
* Add script to convert TrueTypeFonts to TWRP's .dat formatVojtech Bocek2014-05-311-0/+198
| | | | | Change-Id: I3d6cc65a83b7da9428adf37804cf9cbd0df99492 Signed-off-by: Vojtech Bocek <vbocek@gmail.com>
* Add option to build TWRP with toolbox instead of busyboxEthan Yonker2014-04-041-1/+5
| | | | | | | Makes a smaller TWRP Uses mksh for shell Change-Id: If78d7745dda8919fcb2e9c9b60c6696063c14114
* Update SuperSUEthan Yonker2014-02-082-6/+4
| | | | Change-Id: I0f450357595e7f5f56a7c120b899101faf7f6360
* Add reboot binary if it exists to recoveryDees Troy2013-11-041-0/+3
| | | | Change-Id: I7efdba5cf4addf0036ea04ab76a8ecc2c3456e2a
* Add toolbox_recovery rulesDees Troy2013-10-161-0/+1
| | | | | | Build special limited toolbox with SELinux tools for recovery Change-Id: Ifc76a6bd0468a72081f15ede2a68adf48af8a0f2
* Make SELinux automatic if presentDees Troy2013-09-121-1/+1
|
* Update SuperSU for 4.3 SELinux, 2.6.1.0Dees_Troy2013-08-305-0/+39
| | | | Change-Id: Ib7f882db8a8c61d1156c03468208205124132b6c
* Change to use HAVE_SELINUX build flagDees_Troy2013-08-291-1/+4
|
* Initial f2fs supportDees_Troy2013-08-291-0/+5
| | | | | | | Need to add this to your source tree: https://github.com/razrqcom-dev-team/android_external_f2fs-tools Change-Id: I3ee9ebbb617259655518f8ea356ce7b8c246cd4d
* Add SELinux supportDees_Troy2013-08-241-1/+3
| | | | Change-Id: I11e1a3d018d921d96ba08915925b14bf633be6ed
* Add libselinux for CM10.2 treeDees_Troy2013-08-111-0/+3
| | | | Change-Id: I94979806935546fa40a87611be5185c14b557377
* Remove libjpegtwrp and use CM provided libjpegDees_Troy2013-08-111-0/+1
|
* Update SuperSU binaryDees_Troy2013-07-011-0/+0
|
* Support encrypted backup filesDees_Troy2013-06-221-0/+15
| | | | | | | | | | | | | | | 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
* Tweak libsDees_Troy2013-04-051-6/+0
|
* Add new SliderValue GUI widgetVojtech Bocek2013-04-041-1/+1
| | | | | | Signed-off-by: Vojtech Bocek <vbocek@gmail.com> Change-Id: Ic5d44314f501341140dd7059d1cb753341f5844c
* Move all AOSP code out of recovery binaryDees_Troy2013-04-041-2/+13
| | | | | | Improves license compatibility between GPL and Apache Change-Id: I2b165aa575bb6213af6b07936f99610c113443f0
* Add fast scroll bar to fileselectorVojtech Bocek2013-02-271-1/+5
| | | | | | | Also fix build problems with libblkid in CM7 Signed-off-by: Vojtech Bocek <vbocek@gmail.com> Change-Id: I1cd4573e25b247171e4bd8cc05b70543f897a454
* fixes for fakeflash zipsjt11342013-02-271-3/+3
| | | | | | | | For some reason fakeflash doesn't like to have superuser/su in /res, move it to its own subdir in /supersu. This allows a fakeflash zip built with 'make recoveryzip' to work correctly. Change-Id: I32e2e0f6dba55281d5c917e931c3ef0034964bcb
* Check for root and root perms and offer to install/fixDees_Troy2013-02-213-0/+20
| | | | | | Also fix sort order for file selector by date and file sizes Change-Id: Idff9fe4232c19d4ed1082e78fabe6f921aa0a114
* exFAT improvements, fixesDees_Troy2013-01-281-2/+2
| | | | | | | | | Move Exec_Cmd to libcrecovery __popen Provide opt out build flag for exFAT Default fstype to exfat on external storage if exfat support is present and fstype is vfat or auto Fix invalid unmount errors Improve handling of unencrypted sdcards on Samsung devices
* change fuse to be compiled with TW_INCLUDE_FUSE_EXFATbigbiff bigbiff2013-01-191-2/+2
| | | | | update exfat_fuse to newest updates Always compile mkexfatfs
* remove relink files for samsung encryption libraries.bigbiff bigbiff2013-01-121-5/+0
|
* Add libsparse if it existsDees_Troy2013-01-101-0/+3
|
* Add libtar to TWRP instead of using busybox tarbigbiff bigbiff2013-01-091-0/+9
| | | | | | | Add proper mkdosfs tool Add fuse to TWRP Add experimental exfat-fuse to TWRP Convert all system() functions to use new Exec_Cmd function
* Add Samsung TouchWiz decryptiona39552692013-01-081-0/+5
| | | | Change-Id: I418680e59372160dabfe3e2d5f0208229aa151ae
* Create busybox symlinks during compileDees_Troy2012-10-022-23/+0
|
* Revert busybox for CM7 compatibility, add exclamation point to format dataDees_Troy2012-09-282-0/+23
|
* Create symlinks at compile time for busyboxDees_Troy2012-09-273-78/+0
|
* Update sdcard partitioning to C++Dees_Troy2012-09-272-667/+0
|
* Fix permissions updatesDees_Troy2012-09-261-352/+360
| | | | | Also redirect stderr output on terminal commands for display in GUI console
* Update backup and restore code, adb sideloadDees_Troy2012-09-171-0/+1
| | | | | | | Fixed a problem with using make_ext4fs by making its lib a dynamic lib. Added ADB sideload zip install feature - no way to cancel it yet. Improve backup and restore code.
* Move to shared libmincryptDees_Troy2012-09-141-0/+1
| | | | | | | 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-0/+3
| | | | | | | | 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/+5
| | | | | | | 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.
* TWRP-ify AOSP codeDees_Troy2012-09-0519-0/+1450
Pull in most TWRP sources Stub out partition management code Make it compile -- probably will not boot Kind of a mess but have to start somewhere