- 06 Nov, 2015 1 commit
-
-
Ethan Yonker authored
This makes the touch target include both the text and the image for buttons masquerading as a check box. Change-Id: If8432c5863de136b1a215dabb3e06109ccce4410
-
- 05 Nov, 2015 7 commits
-
-
Ethan Yonker authored
Move property setting of ro.crypto.state to after mounting any needed partitions so that we can use this property as a trigger for running services in init. Check to see if the property is already set so that we do not set it and sleep multiple times if the user enters an incorrect password. Change-Id: I55558c5e227377381101b6305569d9eb31040790
-
Ethan Yonker authored
The vendor partition is verity checked just like system so we should treat vendor as read only same as system. Change-Id: Ida65c9f44d8610e52fcdcef0b4a50faf5c7110d2
-
Iftekhar Rifat authored
According to https://android.googlesource.com/platform/build/+/f55c5a52ac3d523cdcfb7cd7ab093d01da8b3caf%5E%21/#F0 Change-Id: I593ba16cabd59dc3bb690aa12f855113b3e9983f
-
Andrea Mennillo authored
This change solve two issue: 1) Policies related to recovery should be only included in recovery policy 2) In CM trees the sepolicy dir was always bootable/recovery- twrp/sepolicy, even if recovery path was bootable/recovery Change-Id: I9466d22293074ba5f5240abe8b97a5d1bf30982d
-
that authored
Change-Id: I4bc46d1772fee2ec77d95732fa3f69c267c2c34e
-
that authored
The GUI is initialized before DataManager loads the settings file, so we need to update the checkboxes on page change too. Change-Id: If4c694872608ec4014220364bd759c1399502994
-
Dees Troy authored
-
- 26 Oct, 2015 3 commits
-
-
Ethan Yonker authored
Change-Id: I7b020c7048f9bbb550e9f5100c604c01809e4fbd
-
Ethan Yonker authored
Reinstate some SELinux stuff in the default init.rc (noticed by Kra1o5) Add permissive.sh script to dependencies list for CM trees. Change-Id: I36ade54378c413081d202002488309af35486d5f
-
Ethan Yonker authored
Allows the GUI to create a scrollable text box for long text that may not all fit on the screen. Also includes code to allow the console to wrap on spaces and other such characters instead of wrapping in the middle of a word. To see an example of how to add a text box to the XML, see: https://gerrit.omnirom.org/#/c/14183/ Change-Id: Ifd139172ede290046b58ea3fe526e2e06da1d4ef
-
- 25 Oct, 2015 1 commit
-
-
maxwen authored
forward port from 5.x https://gerrit.omnirom.org/#/c/12524/ Change-Id: I303662cf28278bd9dd3799b3d0b5a07f96169416
-
- 24 Oct, 2015 2 commits
-
-
Ethan Yonker authored
Change-Id: Ie6202a8cc709d8593768f447ef95b4a815605d6b
-
Ethan Yonker authored
Mostly adding __unused where needed. Change-Id: Ia4f675b9b360782728c361ed1699db0cc277c3a5
-
- 22 Oct, 2015 1 commit
-
-
that authored
Change-Id: Ida3984a6b774c2da12342d48d8644cd18de7396c
-
- 16 Oct, 2015 6 commits
-
-
Ethan Yonker authored
Change-Id: Iacd4bb78f551b51d092ecde09521b5541e7dadcd
-
Ethan Yonker authored
This patch set should make it easier to build TWRP in non-Omni trees as it allows TWRP to modify the sepolicy instead of having to merge a patch in external/sepolicy to meet TWRP's needs. Change-Id: I73205343556abb0852ff4c5f8cbf293d840b95d9
-
that authored
Change-Id: Iea189ac53ec3d7c1bea83da7b77684778b1c0f46
-
that authored
This is a preparation for list item conditions. Change-Id: Iec731d1986a53b0362c534adf504dfe8db87d3f0
-
Ethan Yonker authored
For an example of how to implement a list of check boxes, see: http://bit.ly/1Giacw2 https://gerrit.omnirom.org/#/c/14284/2/ Change-Id: I0752a084625f4a0ef8cc6d99597f2fb9aa2ab9e0
-
Ethan Yonker authored
Create a single function for loading xml files to a memory buffer to reduce code duplication. Change-Id: I0ff64463072118f61a2eb8052f74019715020253
-
- 15 Oct, 2015 6 commits
-
-
Ethan Yonker authored
This patch set removes support in TWRP for the old .dat file format as well as support for the AOSP style fonts in header files. We need TTF for scaling. Note that the old AOSP style header font is still supported in minui which is not used by TWRP. Change-Id: I6124a3333d479f1fc668138f7e32c4be9b519552
-
Ethan Yonker authored
Change-Id: I11a8f77b39a6f12aca6157c9aa76c34ef48c4b9f
-
that authored
- minzip: don't crash with corrupted zips (e.g. 4096 null bytes) - twinstall: output error when zip doesn't contain update-binary - twinstall: add strerror(errno) to system-level errors - twinstall: correct message if /file_contexts could not be extracted - twinstall: use TWFunc::Wait_For_Child for better waitpid errors - twinstall: minor code cleanup Change-Id: I53b156b0ec08755af2742bb71d1523ae38f4a82e
-
Ketut Putu Kumajaya authored
Change-Id: Ie86dc63f83ae51e9947debc7191fd91d61b83008
-
Captain Throwback authored
AOSP has used a standard USB config for the last 3 years. Time to update TWRP for devices that still use UMS. Reference: https://android.googlesource.com/platform/system/core/+/master/rootdir/init.usb.rc Change-Id: I59690f955a7d6db9ae9d607d46299652b52fe8b8
-
HandyMenny authored
Use sys.usb.config also for ums, but leave sys.storage.ums.enabled for compatibility with custom init.rc that use it. PS2: Rebased - moved updates to init.recovery.usb.rc Change-Id: Iad3441d23ac37612e58f63e4038d05c5c1a37b25
-
- 14 Oct, 2015 3 commits
-
-
Davis Mosenkovs authored
When /system is wiped in TWRP and afterwards Reboot -> Recovery is selected the "No OS is installed, are you sure you want to reboot?" prompt appears. After swiping to "Reboot anyway" the "Current ROM is not rooted, do you wish to install SuperSU?" prompt appears. This change removes "Do you wish to install SuperSU" prompt after "No OS installed" prompt. Change-Id: Ie1157afdf5cf1cb81d6647269172d6e63af9f4b0
-
Kra1o5 authored
Change-Id: Ia15d49e51cad5bc8a3291975e1ff515a2b1c419c
-
Ethan Yonker authored
graphics_overlay.cpp is based on a mix of AOSP code for graphics_fbdev.cpp along with overlay graphics code from CAF that was brought into earlier versions of TWRP and then further adapted and improved before being brought into this patch set. Also added a rule to build a minuitest binary for testing the minui engine to ensure proper operation on a device. Change-Id: I3972d3a6baa7002615319421ac07d9299c3cec69
-
- 13 Oct, 2015 2 commits
-
-
Ethan Yonker authored
Change-Id: I9a9ba6ccbef999b1a4b122e45f862bd3672b5047
-
Hashcode authored
Including unistd.h fixes implicit function warning for "read" and "close" in mtdutils/mounts.c Change-Id: I72c3a52de035600cdd794ed5e2d4cae0da26f428
-
- 10 Oct, 2015 2 commits
-
-
that authored
Change-Id: I781928483585052741fe1396bd9b136e61ca6538
-
- 09 Oct, 2015 2 commits
-
-
Ethan Yonker authored
Change-Id: I1217094f0e336445eb4dd5f46242d9719525ffbd
-
Ethan Yonker authored
In order to maintain compatibility with older trees, we now have minadbd.old and minui.old. I had to use a TARGET_GLOBAL_CFLAG to handle ifdef issues in minui/minui.d because healthd includes minui/minui.h and there was no other alternative to make minui.h compatible with older trees without having to modify healthd rules which is outside of TWRP. Note that the new minui does not currently have support for qcom overlay graphics. Support for this graphics mode will likely be added in a later patch set. If you are building in a 6.0 tree and have a device that needs qcom overlay graphics, be warned, as off mode charging may not work properly. A dead battery in this case could potentially brick your device if it is unable to charge as healthd handles charging duties. Update rules for building toolbox and add rules for making toybox Use permissive.sh in init.rc which will follow symlinks so we do not have to worry about what binary is supplying the setenforce functionali...
-
- 26 Aug, 2015 2 commits
-
-
Ethan Yonker authored
Fixes touch on Oppo R7 Plus Oppo R7 Plus, when recovery is flashed and booted from the actual recovery partition, the digitizer sends some extra touch data for up to 10 different touch slots even if no actual touch is present for those slots (ABS_MT_SLOT). This patch allows TWRP to handle touch data properly for this device and maybe others. Change-Id: I8f9171b605566788b674b3d4d96bd9f2f65736c2
-
Ethan Yonker authored
Fix factory reset now properly formats data as expected Change text for ORS processing Disable system read only check, SuperSU, and patch system Stop copying fstab and version to cache Change-Id: I20f5cae390afbb8d2d88e01b8d9b9bf4ff0fdea1
-
- 09 Aug, 2015 2 commits
-
-
Ethan Yonker authored
Change-Id: I032fabb383b4063e3b31b6044ce39966b8c617d0
-
Matt Mower authored
When AOSP recovery commands are processed, the GUI reports a failure just before reboot even when all commands succeeded. Set op_status before reboot to indicate success. Change-Id: I09e9357b04cd81f418264bf00a75311f48357414
-