Commit Graph

23 Commits

Author SHA1 Message Date
Zhuowei Zhang
91eebf83a7 Fix decryption on Android N preview 2016-03-09 21:13:02 -08:00
Zhuowei Zhang
42d2dcb3cf trampoline: Add new pre/post encrypt hooks, fake system properties library
These are needed on Snapdragon 810 where an extra daemon (qseecomd) must
be started prior to decryption, and where the decryption library polls
a system property to make sure that daemon is running

Also fix missing fonts log spam in trampoline_encmnt by symlinking the one available font
2016-02-10 20:19:16 -08:00
Zhuowei Zhang
4d02af6e26 Fix encryption support build in Omni 6.0 tree 2016-02-10 20:19:16 -08:00
Vojtech Bocek
cae487184e Restore build in omni 6.0 tree 2016-01-10 21:43:44 +01:00
Vojtech Bocek
982e54556a Re-add "Boot primary ROM" button to trampoline_encmnt
* We can do that now because we don't need /data mounted
  to workaround restorecon_recursive in init.rc
2015-05-31 21:17:31 +02:00
Vojtech Bocek
68561d8e98 Add some more O_CLOEXEC 2015-05-29 20:57:41 +02:00
Vojtech Bocek
249441ebde [t24] Fix pattern encryption password recognition if it overlaps itself 2015-04-07 09:20:32 +02:00
KINGbabasula
55600f4acc Use a macro for unused variables
Change-Id: I491bea842274029feb965b71c3a62b5953c2ce5c
2015-03-23 14:57:20 +01:00
KINGbabasula
5f73cc6c99 Silence warnings from unused variables
Change-Id: I4bebc7947770a26467f3435a4249fa34c94c266b
2015-03-22 10:38:36 +01:00
Vojtech Bocek
2a81cc38c7 [t20] Remove "boot primary ROM" button from trapoline_encmnt
* We can't do that, MultiROM has to run rom_quirks on the primary
  ROM, because otherwise it can bork all secondary ROMs with
  restorecon_recursive /data.
2015-03-08 14:18:32 +01:00
Vojtech Bocek
539d04bb5d Add option to shutdown the device from trampoline_encmnt 2015-03-06 23:04:29 +01:00
Vojtech Bocek
9b0fc947fd Hide "boot internal" button in trampoline_encmnt on second boot 2015-03-06 21:12:35 +01:00
Vojtech Bocek
bf478368f7 Fix typo when looking for TWRP in trampoline_encmnt 2015-03-03 19:39:11 +01:00
Vojtech Bocek
f0e8d02785 Check also for "forceencrypt=" flag when looking for encryption footer 2015-03-03 19:37:53 +01:00
Vojtech Bocek
82eaf67986 Use static allocation to store connected dots in encryption pattern 2015-03-03 02:08:02 +01:00
Vojtech Bocek
aadd9c3e3b Support device encryption with gesture pattern 2015-03-03 01:22:21 +01:00
Vojtech Bocek
e75092e73b Support device encryption with passphrase 2015-03-02 20:58:39 +01:00
Vojtech Bocek
87cfd90c01 Support device encryption with PIN 2015-03-01 22:30:53 +01:00
Vojtech Bocek
34b206a730 [t17] Support device encryption with default password 2015-03-01 19:43:46 +01:00
Vojtech Bocek
f061757b01 Add pw_ui files 2015-02-19 12:57:13 +01:00
Vojtech Bocek
4f48c4bd80 Debugging stuff, copy libs to the ZIP, misc 2015-02-19 12:54:41 +01:00
Vojtech Bocek
7db8f34697 Move drawing, input and utils code into separate library 2015-02-16 21:01:06 +01:00
Vojtech Bocek
2449b5b27e Add trampoline_encmnt 2015-02-15 21:11:22 +01:00