Commit Graph

6548 Commits

Author SHA1 Message Date
Humberto Borba 84e16158ca toybox: Fix build for android 8.1
Fix toybox build at android 8.1.

PS: xzcat support removed

Signed-off-by: Humberto Borba <humberos@gmail.com>
Change-Id: I185231bacf24db073f66eb57a146d7d1b64ffc2a
2018-04-19 02:26:21 +02:00
big biff e45a003655 Merge "GitHub: Add issue and pull request templates" into android-8.1 2018-03-24 14:23:53 +01:00
big biff a185c6ced7 Merge "ext4crypt: keymaster: fix missing include" into android-8.1 2018-03-24 14:14:47 +01:00
bigbiff bigbiff 10533f74a6 Language: Add version info to copying_log in turkish lang.
Change-Id: If07b7655265c94ad6b7ffa06629252749b5616e9
2018-03-21 09:12:50 -04:00
Fatih Fırıncı fe2f14235e Update Turkish translations.
Change-Id: Ib15052832c2b25465b8a1d5c30d4659653b99f09
2018-03-20 18:30:48 -04:00
big biff 6d9746b0e5 Merge "libotautil: Add missed header" into android-8.1 2018-03-16 00:02:47 +01:00
Ethan Yonker 53273ecce9 Don't rename twrp.fstab to recovery.fstab
update_engine_sideload reads /etc/recovery.fstab during its install
process and the twrp.fstab format may not be appropriate for what
fs_mgr expects.

Change-Id: I059ef22c0e862e60a3bffe5259f70c714fe33ec6
2018-03-09 11:22:57 -06:00
Dan Pasanen e7b66e100f install: ignore build dates for A/B installs
* Assume a user knows what they are flashing and skip the check
  of whether or not the build they are flashing is older than the
  TWRP image they are using (which really isn't at all relevant
  to the ROM's build date anyway).

Change-Id: I74ca5a6dc604268bf38f85ec1861f3eaafd9bf06
2018-03-09 04:31:21 +01:00
Ethan Yonker c5dd579168 FBE: Decrypt spblob v2 (February security patch)
Change-Id: Iad82fa5d90ce7f3e4b1cf5cd5c6d6fef644f6762
2018-03-09 04:30:57 +01:00
Fatih Fırıncı 90765a20f5 Languages: Update Turkish translation.
Change-Id: Ib3a188f867330013069b7d443bcbad5dc3bc1e90
2018-02-26 18:51:14 -05:00
big biff 5c9889e855 Merge "Add Portuguese (Portugal) translation." into android-8.1 2018-01-25 01:14:42 +01:00
Vasco Machado 6a11843c7e Add Portuguese (Portugal) translation.
Change-Id: I3ea752697cc7f085541d961a6185194badb99015
2018-01-24 02:29:00 +01:00
Saleem Rashid 2530da84c7 GitHub: Add issue and pull request templates
Change-Id: I5b4ad0e2b1c5c6d886b8355c167ef9e137d1c349
2018-01-20 14:22:46 +01:00
big biff 4603e9d0f0 Merge "Fix typo in Micro SD to have a consistency" into android-8.1 2018-01-19 00:36:13 +01:00
big biff 306ec8853d Merge "Added missing translation in Turkish translation" into android-8.1 2018-01-19 00:34:43 +01:00
big biff ca696f0674 Merge "There are a few typos and bugs in the French translation, for example where a string is to long to be displayed in the button (overlapping / cut-offs)." into android-8.1 2018-01-19 00:33:46 +01:00
big biff a8840a1c89 Merge "Typo / Uppercase-Lowercase in German translation compared to all other translations" into android-8.1 2018-01-19 00:32:56 +01:00
big biff abe968d36d Merge "Typo and bug fixing in Dutch(NL) translation, for example where a translated string is too long to fit in button." into android-8.1 2018-01-19 00:32:25 +01:00
big biff 7e9452e242 Merge "Fix minor inconsistency in Czech translation" into android-8.1 2018-01-19 00:31:16 +01:00
big biff df10bbf26b Merge "Added missing translation(s) in Portuguese(BR)" into android-8.1 2018-01-19 00:30:35 +01:00
big biff 1592e5b0b7 Merge "Added missing translations in Swedish language file" into android-8.1 2018-01-19 00:29:59 +01:00
big biff d8646894ef Merge "Added 2 translations in Italian language file" into android-8.1 2018-01-19 00:29:15 +01:00
big biff bd09f93e59 Merge "There's a missing translaton in the Greek language file." into android-8.1 2018-01-19 00:28:13 +01:00
nkk71 98fc399c26 Use /persist as Qualcomm time fix source during early boot
* /persist can be mounted early while TWRP is parsing the fstab so
  as soon as the partition is parsed, mount and adjust the time
  accordingly.

* Store a backup settings file on /persist. Having a 2nd copy of
  the settings file in the /persist partition allows for early
  reading of the file and adjust timezone and brightness to user
  preference while still on TWRP splash.

* Add the qcom ats time offset in TWRP settings file and use it
  if no better ats file is found. This will also allow devices
  with a persist partition, but no ats files in it, to adjust
  the time offset during early boot.

* Use /persist/time/ as Qualcomm time fix source, based on
  Xuefer <xuefer@gmail.com> patch:
  https://gerrit.omnirom.org/c/27265/
  https://gerrit.omnirom.org/c/24384/

Change-Id: I6c21538eec58d87edfb639d9ce3871f33b886c1d
2018-01-17 20:42:17 +01:00
big biff baeabc5b43 Merge "Relink adbd needed in android 8.1" into android-8.1 2018-01-17 01:40:29 +01:00
Humberto Borba 3cacbfd640 libotautil: Add missed header
ZipUtil was deprecated at android-8.1 but it has been still used by
zipwrap. So this patch fixes the missed header file at new android version.

Signed-off-by: Humberto Borba <humberos@gmail.com>
Change-Id: I60bf67292021f3b63fb1ee2b8774303d9300fa12
2018-01-11 17:06:03 -02:00
Ethan Yonker 3eb70edb4a Use libdrm_platform for minuitwrp in 8.x trees
Change-Id: I58d7aa61cdb5c954e0726644fdc25c58eed8e544
2018-01-04 16:00:15 +01:00
Ethan Yonker e131bec179 Add spblob decrypt for secdis method (Pixel 1 non-weaver)
Support decrypting Pixel 1 devices using secdis method with the
gatekeeper instead of weaver.

Add a bit of a dirty workaround to a permissions issue that the
keystore presents because the keystore checks the uid of the
calling process and refuses to let the root user add authorization
tokens. We write the auth token to a file and start a separate
service that runs under the system user. The service reads the
token from the file and adds it to the keystore. You must define
this service in your init.recovery.{hardware}.rc file:

service keystore_auth /sbin/keystore_auth
    disabled
    oneshot
    user system
    group root
    seclabel u:r:recovery:s0

TWRP will run this service when needed.

Change-Id: I0ff48d3355f03dc0be8e75cddb8b484bdef98772
2018-01-04 07:40:22 -06:00
codeworkx 071526bd13 ext4crypt: keymaster: fix missing include
Change-Id: I9a6c5a1384bed7f0169d9af94ff8cb22913ff8e4
2017-12-26 20:41:55 +01:00
Pierre Roth 263ce7c9d7 Fix typo in Micro SD to have a consistency
Change-Id: I91b7e674cd74d9069ee0ae3e70dbfd4a6a051756
2017-12-21 17:58:34 +01:00
Pierre Roth 3a52d5f2a4 Typo and bug fixing in Dutch(NL) translation, for example where a translated string is too long to fit in button.
Change-Id: I68d71b516fc47c72a19f4b8fb7167086814cf148
2017-12-21 17:47:18 +01:00
Pierre Roth 3df3653112 Added missing translation in Turkish translation
Change-Id: I3790f1c02daca2fcbd3afb37e0e3d1b4529aed67
2017-12-21 17:45:46 +01:00
Pierre Roth 9a1ac4af26 Fix minor inconsistency in Czech translation
Change-Id: Ifc1ac9416177c0b211506174ce23ec7c3569777f
2017-12-21 08:51:03 +01:00
Pierre Roth 5099056859 Added 2 translations in Italian language file
Change-Id: Ia49a9329fa6f9c0ed26aa60a3175bc7944e8f3ac
2017-12-21 08:20:42 +01:00
Pierre Roth 88638fffe1 Added missing translations in Swedish language file
Change-Id: I3141cc4b1b2c5070d30485f0523e4e606f7707aa
2017-12-21 08:12:39 +01:00
Pierre Roth 7f768a1b26 Added missing translation(s) in Portuguese(BR)
Change-Id: I5bb3297a9bfd01d242023bbf1fb1f72e9c80404e
2017-12-21 07:45:39 +01:00
Pierre Roth 4e3a69530b Typo / Uppercase-Lowercase in German translation compared to all other translations
Change-Id: Ib8c67017dbf3a217332109b954d6123cb1a94f84
2017-12-21 07:08:43 +01:00
Pierre Roth c822e4ff02 There are a few typos and bugs in the French translation, for example where a string is to long to be displayed in the button (overlapping / cut-offs).
Change-Id: I2f02fa1b004c09914c618fe327490b1bb59f534d
2017-12-21 06:35:48 +01:00
nkk71 35764fdce6 Relink adbd needed in android 8.1
* adbd no longer goes to root/sbin instead it's
  going to system/bin reference:
  https://github.com/omnirom/android_system_core/commit/93defc17f376041437e5157a7c4d9e0344441811

Change-Id: Ib2bc5e0bb3ac868741fa3feacac5ef68aa1daa4b
2017-12-19 12:39:08 +02:00
Pierre Roth f00835e30e There's a missing translaton in the Greek language file.
Change-Id: Ibba47a1361c892159b704182b5d06aca8418aaac
2017-12-19 07:45:38 +01:00
Ethan Yonker ecbd3e8ba9 Merge up to android-8.1.0_r1 and fix conflicts
Change-Id: I2dc060134d15ec9f015a606cb24ef8276f6af1fc
2017-12-15 12:48:49 -06:00
Ethan Yonker ea4efc6d20 Fix build error in AOSP 8.1.0 r1 tree
Change-Id: If6f230105f5661a4544116d44c8fd48d4dc96f99
2017-12-12 16:24:28 -06:00
Ethan Yonker aac05c2f07 Fix android.hidle.base@1.0 rule for various 8.0 trees
Change-Id: I57a1a807841b20860c9a1c9523be385b12b6b933
2017-12-12 07:04:05 -06:00
bigbiff bigbiff 2af13795b9 TWRP Bugfix release
This release fixes restore by forcing regular TWRP Backup by default.
Thanks to jlask for fixing this issue.

Change-Id: I0b2d507d7a2a3e6bfdd00174af89efbe511e90e0
2017-12-08 17:50:41 -05:00
jason972000 adae336c1c Default to device backup/restore vs. adb backup/restore
Change-Id: I81bfea1e9978dd003e96a48f399d259a878ddc44
2017-12-08 09:12:11 -06:00
big biff e17b78ad60 Merge "Fix stuck on 'black' screen entering recovery" into android-8.0 2017-12-06 00:34:29 +01:00
DevUt 04156c3f5a Fix the inconsistencies in the spelling of SD card
Change-Id: I30d7a3d38654292d38e3f69a196bc03928b7d22e
2017-12-05 16:35:14 +01:00
nkk71 a2341b0caa Fix stuck on 'black' screen entering recovery
* 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
2017-12-04 01:52:08 +02:00
Ethan Yonker 606cc915f1 Fix compile error with IGNORE_MISC_WIPE_DATA in some trees
Change-Id: I4a57e4e90158d50a9e9c9aef8ed1da9ee9179554
2017-11-30 10:24:33 -06:00
Ethan Yonker 7c997913e2 Fix more compile errors in bootloader_message_twrp
Change-Id: I3b1b540f404efcd153d0b75d29e5b6ee8b0caa85
2017-11-30 07:24:06 -06:00