summaryrefslogtreecommitdiffstats
path: root/toolbox (follow)
Commit message (Collapse)AuthorAgeFilesLines
* toolbox: Cleanup Makefileandroid-5.0Matt Mower2015-03-111-295/+168
| | | | | | | | | | | | * Do not split the makefile in two to support pre-lollipop trees. Go through and mark sections with PLATFORM_SDK_VERSION. * setenforce: Correct the handling to prevent build warnings -- if busybox provides this tool, then still allow it to be built, but do not write a symlink. * Correct indentation throughout * Remove dead code (LOCAL_STATIC_LIBRARIES) Change-Id: I1b13a0e0be78ea862f7d418d683407ff79d17e4f
* toolbox_recovery should always include setenforceEthan Yonker2014-12-221-1/+5
| | | | | | | | | | | init does not follow symlinks and we need setenforce to be able to set permissive. toolbox_recovery will now always include the setenforce tool even if busybox has it so that our provided init.rc can run /sbin/toolbox setenforce 0 successfully. The symlink for setenforce will remain pointing to busybox if busybox has setenforce. Change-Id: I88a2a99bbed30cef3443ac5d94665e3850872237
* Fix generating symlinks for older treesDees Troy2014-12-121-0/+9
| | | | | | | Symlinks for unpigz, toolbox, and busybox were not generating in older trees. Change-Id: I3ca2a2047510954e66fb3cf49eef6af713d3268e
* Use one mizip for allEthan Yonker2014-12-101-1/+1
| | | | | | | | | | | | 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
* bootable recovery: we upgraded to 5.0.1erikcas2014-12-031-1/+1
| | | | Change-Id: I9e2f359dd7274e1ae885f6a3b392d5ab5ca99ac9
* Make the android-5.0 branch compile in 4.4 to 4.1Ethan Yonker2014-12-021-0/+158
| | | | | | | | | | | | | 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
* Make TWRP compile for arm64Ethan Yonker2014-11-121-83/+123
| | | | | | | | | | | | | | | | -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
* Remove dependence on build hax in makefilesMatt Mower2014-11-031-6/+6
| | | | | | | | | 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
* Only use SELinux tools from toolbox if not in busyboxMatt Mower2014-09-031-1/+4
| | | | | | | | If busybox has SELinux support, we don't need toolbox to provide SELinux specific tools. Check busybox for restorecon to see if SELinux support is present and then adjust the tools built by toolbox based on this. Change-Id: I30a2b036b97ac3e26510d5e0498c52d7a8af36e1
* Add option to build TWRP with toolbox instead of busyboxEthan Yonker2014-04-041-0/+62
| | | | | | | Makes a smaller TWRP Uses mksh for shell Change-Id: If78d7745dda8919fcb2e9c9b60c6696063c14114
* Fix merge conflicts and update for 4.4 kitkatDees Troy2013-11-021-7/+11
| | | | | | | | Make a copy of libmincrypt in TWRP source so we do not have to ifdef verifier.cpp for various versions of mincrypt. Remove reboot tool from toolbox (it was removed from 4.4 and did not compile properly on some devices in older trees)
* Add toolbox_recovery rulesDees Troy2013-10-161-0/+80
Build special limited toolbox with SELinux tools for recovery Change-Id: Ifc76a6bd0468a72081f15ede2a68adf48af8a0f2