- 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 functionality (toolbox, toybox, or busybox). Fix a few warnings in the main recovery binary source code. Fix a few includes that were missing that prevented compiling in 6.0 Change-Id: Ia67aa2107d260883da5e365475a19bea538e8b97
-
- 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
-
- 05 Aug, 2015 1 commit
-
-
The Android Automerger authored
-
- 04 Aug, 2015 1 commit
-
-
Tao Bao authored
We need to ensure the renamed filename reaches the underlying storage. Bug: 22840552 Change-Id: I824b6e9d8a9c5966035be7b42a73678d07376342 (cherry picked from commit dc3922622a94af4f6412fd68e8f075f839ab2348)
-
- 27 Jul, 2015 1 commit
-
-
that authored
Change-Id: I8622da5ae321ba69a55b38e2f0b878b7ec149d02
-
- 22 Jul, 2015 1 commit
-
-
Ethan Yonker authored
Change-Id: I70324ae3e4fffe88bc2b5a02becb7d1f4f0ceab0
-
- 15 Jul, 2015 1 commit
-
-
maxwen authored
we want to use it in charger Change-Id: I3e0288b074bd7203214d218aaee69cb4798e9531
-
- 14 Jul, 2015 6 commits
-
-
Ethan Yonker authored
Add support for mounting ntfs via ntfs-3g and support for wiping and repairing ntfs partitions. Change-Id: I82dc4626f459bb93b86eb9ebba64ad3a6560781b
-
Ethan Yonker authored
Initial value for tw_mount_system_ro is now 2. If the value of tw_mount_system_ro is 2 during boot, then we will show the system read only prompt and ignore the value from the lifetime writes check. Note: Changed the value of FILE_VERSION which will trigger the data manager to throw out previous settings and start with default values so that existing TWRP users will get the prompt at least once. Change-Id: I447767b64617f855156a19a5dc15c4ece6dff7b8
-
Matt Mower authored
This enables devices to provide their own USB configuration. The contents of init.recovery.usb.rc can most simply be modified and included in a device's init.recovery.${ro.hardware}.rc. Use option: TW_EXCLUDE_DEFAULT_USB_INIT := true Rationale: Some devices handle USB pid switching in the kernel. In this case, USB init provides switching functions which differ from the standard on property:sys.usb.config=xyz. Other devices should not see USB attempt mtp,adb mode when TW_EXCLUDE_MTP is set. Cherry-picked from android-5.0 Change-Id: Ief0fcaf46a1782102166fc1b733a34b1a1ba0802
-
Captain Throwback authored
Change-Id: Ie91d161f4e439a870534639f44a03df22f4fe39a
-
that authored
Also enable string insertion for list items. Example how to make a menu item: <listitem name="Lights on!"> <action> <action function="setbrightness">255</action> </action> </listitem> If no <data> element and no actions on any items exist, the list is read only and no item selection is possible. Change-Id: Ib2668a982df2514484d44faa0396dd17550f39f3
-
that authored
To position the longpress label: <longpress font="..." textcolor="..." x="5" y="0"/> x and y is the distance from the upper right corner. - extract method GUIKeyboard::DrawKey - clean up handling of currently pressed key - integrate key highlighting into main key drawing loops Change-Id: I80ccf2975d30cffa2a48627a74ab3693c84e4fa4
-
- 13 Jul, 2015 2 commits
-
-
Ethan Yonker authored
Change-Id: Ib67a356f8d5e6bb0f982c081fc88b6462c7fbd74
-
that authored
e.g. '<button ...>' instead of '<object type="button" ...>' Also get rid of default parameters to make things more explicit. Change-Id: Ie4d1231b725aeb6cbf0041622c9780c86cf8e1c1
-
- 07 Jul, 2015 1 commit
-
-
Paul Lawrence authored
This reverts commit 98c1a3de. Change-Id: I524060418de18f97c3865ebc4435f501015e92ee
-