Skip to content

Commit

Permalink
eva: rework decryption method
Browse files Browse the repository at this point in the history
  • Loading branch information
OldDroid committed Apr 2, 2017
1 parent c1ec645 commit 31c883e
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 59 deletions.
4 changes: 4 additions & 0 deletions Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,8 @@
# limitations under the License.
#

ifeq ($(TARGET_DEVICE), berlin)

include $(call all-makefiles-under, $(call my-dir))

endif
3 changes: 1 addition & 2 deletions omni_eva.mk
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ $(call inherit-product, vendor/omni/config/common.mk)

PRODUCT_PACKAGES += \
charger_res_images \
charger \
tmp_timer
charger

ADDITIONAL_DEFAULT_PROPERTIES += \
ro.secure=0 \
Expand Down
2 changes: 1 addition & 1 deletion recovery/root/init.rc
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ on late-init
# Remove a file to wake up anything waiting for firmware
trigger firmware_mounts_complete

on property:ro.timer.finished=true
on property:init.svc.volisnotd=stopped
trigger early-boot
trigger boot

Expand Down
25 changes: 19 additions & 6 deletions recovery/root/init.recovery.hi3650.rc
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
import /init.recovery.hi3650.usb.rc

on fs
on init
symlink /dev/block/platform/hi_mci.0 /dev/block/bootdevice

on property:ro.board.platform=hi3650
start teecd

on fs
start volisnotd
start tmp_timer

service teecd /sbin/teecd
user root
Expand All @@ -19,7 +22,17 @@ service volisnotd /sbin/volisnotd -m
disabled
seclabel u:r:tee:s0

service tmp_timer /sbin/tmp_timer
oneshot
disabled
seclabel u:r:recovery:s0
on property:vold.decrypt=trigger_shutdown_framework
class_reset server

on property:vold.decrypt=trigger_load_persist_props
load_persist_props

on property:vold.decrypt=trigger_post_fs_data
trigger post-fs-data

on post-fs-data
trigger post-fs-data_hw

on post-fs-data_hw
setprop vold.post_fs_data_done 1
23 changes: 0 additions & 23 deletions tmp_timer/Android.mk

This file was deleted.

27 changes: 0 additions & 27 deletions tmp_timer/tmp_timer.c

This file was deleted.

0 comments on commit 31c883e

Please sign in to comment.