- Nov 20, 2018
-
-
Gaël Duval authored
-
- Aug 21, 2018
-
-
Arvid Requate authored
-
Arvid Requate authored
-
- Dec 15, 2017
-
-
Ethan Yonker authored
Change-Id: I2dc060134d15ec9f015a606cb24ef8276f6af1fc
-
- Dec 12, 2017
-
-
Ethan Yonker authored
Change-Id: If6f230105f5661a4544116d44c8fd48d4dc96f99
-
Ethan Yonker authored
Change-Id: I57a1a807841b20860c9a1c9523be385b12b6b933
-
- Dec 08, 2017
-
-
bigbiff bigbiff authored
This release fixes restore by forcing regular TWRP Backup by default. Thanks to jlask for fixing this issue. Change-Id: I0b2d507d7a2a3e6bfdd00174af89efbe511e90e0
-
jason972000 authored
Change-Id: I81bfea1e9978dd003e96a48f399d259a878ddc44
-
- Dec 05, 2017
- Dec 03, 2017
-
-
nkk71 authored
* In omni-8.0 'android.hidl.base@1.0.so', although properly built does not get copied to the /sbin/ directory for TWRP, resulting in TWRP constantly *trying* to restart with the missing lib: CANNOT LINK EXECUTABLE "/sbin/recovery": library "android.hidl.base@1.0.so" not found Leading to a stuck on "black" screen (or some splash screen, but never even reaching TWRP splash screen). Change-Id: I10a3c3d72c0f141687dbbf552e59fb31c015b278
-
- Nov 30, 2017
-
-
Ethan Yonker authored
Change-Id: I4a57e4e90158d50a9e9c9aef8ed1da9ee9179554
-
Ethan Yonker authored
Change-Id: I3b1b540f404efcd153d0b75d29e5b6ee8b0caa85
-
- Nov 29, 2017
-
-
Ethan Yonker authored
Change-Id: Ic8200da4e99826736e002a1ab5f9e5f967e84193
-
Andreas Schneider authored
Change-Id: I65aad9253ebad598acd9468694d0e1bf6c4abc6a
-
Andreas Schneider authored
Change-Id: Id971c900aec5931a11065e7e466db33acb0390eb
-
Andreas Schneider authored
Change-Id: I87133cc8409ab988bbffa40d790e138c25b01309
-
Andreas Schneider authored
Change-Id: Id32a394d23ea5df986615855119912f765ebee99
-
Andreas Schneider authored
Change-Id: Ifa5bcffa12c045cb629974684882f1e0f56dcce6
-
Ethan Yonker authored
Change-Id: I526aaf59a903baccea77e2f731c3166c3d3c05eb
-
Ethan Yonker authored
Change-Id: I3faa0b6cc964a148dcc1bae7fdeba877fd795cf7
-
bigbiff bigbiff authored
Change-Id: Ia1b6e7a216bf3fd60bbfac9cbc11038636e3560f
-
- Nov 28, 2017
-
-
nkk71 authored
* HTC U11 Oreo is using keymaster3 FDE encryption which requires the new services: 1- /system/bin/hwservicemanager 2- /vendor/bin/hw/android.hardware.keymaster@3.0-service 3- /vendor/bin/qseecomd (instead of /system/bin/qseecomd) So in addition to /vendor/lib and /vendor/lib64 also symlink /system/vendor/bin to /vendor/bin. * vold_decrypt services now have separate prefixes: 1- 'sys_' referring to /system/bin 2- 'ven_' referring to /vendor/bin * The additional (hwservicemanager, keymaster-3-0) and modified (qseecomd) .rc files have been updated in the vold_decrypt directory. Comments were added directly in the .rc files, please check them. * /etc/recovery.fstab needs to be temporarily moved since vold will use it if it finds the '/sbin/recovery' file (refer to fs_mgr for the fstab load code https://goo.gl/8KaZyf). Since fs_mgr cannot parse TWRP style fstab, we 'hide' it and attempt to create a symlink to /fstab.{ro.hardware}. Also remove shell dependencies, code cleanup, new error codes: * Critical sections of vold_decrypt should not rely on the external shell (and the available binaries) provided by TWFunc::Exec_Cmd. Doing so may lead to failures resulting from different shell provided binaries not working properly, especially since busybox can be inconsistent across different trees. In particular the following functions have been changed: * run_vdc() no longer uses daisy chained commands, instead it now forks and executes vdc directly including a 30 second built in timeout. * Symlink_Firmware_Files() no longer relies on the shell 'find' command to retrieve the list of firmware/vendor files and instead uses a built in function, Find_Firmware_Files(), which traverses the system partition to retrieve the list of files. * The code has also been cleaned up a little for better consistency, and vold_decrypt will now return various error codes for the different failures, as defined in vold_decrypt.h, which allows the gui_msg to be moved back to partitionmanager.cpp. Notes regarding pre Android 8.0 builds: * Service names in .rc files cannot exceed 16 characters (including the prepended 'sys_' or 'ven_') in Android 7.1 and below, so a service name such as 'sys_hwservicemanager' is out of the question for 7.1 and below. * hwservicemanager will check ACLs on 'hwservicemanager' and 'ITokenManager' if they are even allowed to run, otherwise the interfaces will fail. The policies have only been introduced in 8.0, and although it is possible to manually add them to the 7.1 policies it's not recommended. * Therefore the best course of action is to build in 8.0. * SIDE NOTE: On the HTC U11 we are actually using omni-7.1 with some changes in the device tree to support both Nougat and Oreo decryption, please refer to: 1- https://gerrit.twrp.me/c/2756/ for the necessary sepolicy and BoardConfig changes. 2- The Android.mk file for vold_decrypt was modified to truncate greater than 16 character service names (as mentioned therein) Other changes: * TW_CRYPTO_SYSTEM_VOLD_DISABLE_TIMEOUT is now deprecated due to built- in fork and timeout. * Output_dmesg_to_recovery_log() is also deprecated so upon a failed decryption the recovery.log will no longer append it, instead you can just use 'adb shell dmesg' to check it. Nonetheless if a true debug build is needed use the original TW_CRYPTO_SYSTEM_VOLD_DEBUG flag as outlined in the original commit message (see below). Usage info: This is an update to the initial vold_decrypt, for more info refer to https://github.com/omnirom/android_bootable_recovery/commit/71c6c50d0da1f32dd18a749797e88de2358c5ba1 Change-Id: Id7129d125ae7f5dcba0779489825add718022ba3
-
Ethan Yonker authored
Includes various minor fixes for building in Android 8 trees with r23+ tag Update FBE extended header in libtar to version 2 and include the entire ext4_encryption_policy structure now after translating the policy. See this post for more details: https://plus.google.com/u/1/+DeesTroy/posts/i33ygUi7tiu Change-Id: I2af981e51f459b17fcd895fb8c2d3f6c8200e24b
-
Dees Troy authored
-
Ethan Yonker authored
Change-Id: Ie22691433aefa3b8819ec14e0349ee12bd88a1c2
-
- Nov 27, 2017
-
-
Ethan Yonker authored
Auto detect and support both the v1 and v2 fstab formats Support putting TWRP style flags in a separate /etc/twrp.flags file twrp.flags format is the same as twrp.fstab (v1 with TWRP flags) Support using a wildcard in a block device and find all partitions: /usb-otg vfat /dev/block/sda* Support using sysfs entries (voldmanaged) and read uevents and scan for wildcard partitions from uevent data. (twvold?) May not be complete for some of the newer flags found in fstabs in newer build trees and there is a slim chance of a crash if the user removes a removable device while TWRP is performing actions. May need to add some kind of mutex to prevent the 2 threads from causing this crash. We need to start somewhere though and this change is pretty innocuous when not using a v2 fstab. Change-Id: I617d97c7db332cbe671a9d2b8ad98b3d9c4f03cc
-
bigbiff bigbiff authored
Change-Id: I92821c7053089d130a5ab73fa36aec486da77bf1
-
bigbiff bigbiff authored
Restore adb backup files that TWRP made to your PC. Put files in your backup directory to see them. e.g. /sdcard/TWRP/BACKUPS/<sn> Change-Id: I2c57970d77b64c39a302159041456e761c185259
-
- Nov 20, 2017
-
-
leskal authored
Change-Id: I1642a2c89e50438fdd7308dba318d52440b0809f
-
- Nov 18, 2017
-
-
Michael Bestas authored
* Enable it on all platforms after msm8960 Change-Id: I2584048a9b9fa77c6c7d3408d280811143b01e8d
-
Ethan Yonker authored
Change-Id: Ifcfff60fab1cd73b524cd521a7094c344f8e9e1d
-
- Nov 17, 2017
-
-
nkk71 authored
* OmniROM 8.0 uses AOSP f2fs-tools which builds a static mkfs.f2fs directly to $(TARGET_RECOVERY_ROOT_OUT)/sbin Change-Id: I364a13e33e71abceab2f9ba1bd3179c2d9672b27
-
nkk71 authored
* When you format the system partition, it will remain in a mounted state. * Subsequently restoring a system_image (even though successfully) the Update_System_Details() function will not correctly update the system partition details. * Reproducible by: 1- Advanced wipe: System 2- Restore: System_Image 3- Reboot -> No OS prompt * eg: [ ~ # twrp get tw_min_system tw_min_system = 50 ~ # twrp get tw_backup_system_size tw_backup_system_size = 8 ~ # mount -o ro /system ~ # du -sh /system 3.5G /system ] Change-Id: I99f75274816788dd38eccdd387f7ac691e1f3fab
- Nov 02, 2017
-
-
android-build-team Robot authored
Merge cherrypicks of [3156476, 3155698, 3156194, 3156639, 3156018, 3156477, 3156098, 3156099, 3156100, 3156101, 3156102, 3158393, 3155699, 3155700, 3156195, 3156196, 3156019, 3156020, 3158394] into oc-mr1-release Change-Id: I2a293bf3975f633db807bb800e1707f73e8d74b9
-
Tao Bao authored
'group_range_count' doesn't properly consider the pair-wise range structure. It may split the ranges into wrong pairs if it evaluates to an odd number. For example, for an input range string of "6,0,2,10,12,20,22" with 4 threads, group_range_count becomes 1. It would then try to verify (0,2), (2,10), (10,12) and (12,20). Note that (2,10) and (12,20) are not valid ranges to be verified, and with (20,22) uncovered. Bug: 68343761 Test: Trigger update_verifier verification. Check the number of verified blocks against the one in care_map.txt. Change-Id: I7c5769325d9866be06c45e7dbcc0c8ea266de714 (cherry picked from commit 62caeb5f48c9d7b1a8ed97c4a021195b8499b804) (cherry picked from commit 559a6d1d2ae2e5145641e1eb16e2c015d756d8c9)
-
- Sep 26, 2017
-
-
Ethan Yonker authored
-
- Sep 17, 2017
-
-
android-build-team Robot authored
release-request-1f2fcfef-9736-44dc-8628-3ba96dac60db-for-git_oc-mr1-release-4343541 snap-temp-L73700000103533431 Change-Id: I53b93674a347f24620ce431ac12ac09230486e32
-
- Sep 16, 2017
-
-
Bill Yi authored
Auto-generated-cl: translation import Exempt-From-Owner-Approval: translation import Bug: 64712476 Change-Id: Ia05d14ff5b7f6b283f46566c88a4edc4a89d5576
-