FBE 加密手机修改密码最后点确定时,马上拔电池掉电出现开机进入recovery

编程入门 行业动态 更新时间:2024-10-27 20:27:34

进入recovery log :

01-01 08:02:46.165   362   362 D TrustyGateKeeper: TrustyGateKeeper  Verify =========<<<<<<<<<<<<
01-01 08:02:46.165   455   455 D keystore: AddAuthenticationToken: timestamp = 51230, time_received = 47
01-01 08:02:46.168   455   455 E keystore: unlock called on uninitialized keystore.
01-01 08:02:46.168   744   998 I LockSettingsService: Unlocking user 0 with secret only, length 64
01-01 08:02:46.170   320   324 D vold    : e4crypt_unlock_user_key 0 serial=0 token_present=0
01-01 08:02:46.171   320   324 D vold    : Skipping non-key .
01-01 08:02:46.171   320   324 D vold    : Skipping non-key ..
01-01 08:02:46.172   320   324 D vold    : Trying user CE key /data/misc/vold/user_keys/ce/0/current
01-01 08:02:46.176   320   324 W vold    : Password present but stretching is nopassword
01-01 08:02:46.178   320   324 E vold    : Openssl error: 0
01-01 08:02:46.178   320   324 E vold    : Failed to find working ce key for user 0
01-01 08:02:46.178   320   324 E vold    : Couldn't read key for 0
01-01 08:02:46.178   320   324 E vold    : Rebooting into recovery
[   47.758234] c2     1 init: Received sys.powerctl='reboot,recovery' from pid: 320 (/system/bin/vold)
01-01 08:02:46.181   320   324 W libc    : [SPRD_DBG]__system_property_set(sys.powerctl,reboot,recovery),pid = 320,proc = /system/bin/vold
[   47.761176] c2     1 init: Clear action queue and start shutdown trigger

01-01 08:02:46.186   744   998 D ActivityManager: Started unlocking user 0
01-01 08:02:46.186   744   998 D LockSettingsService: unlockUser[   47.763189] c2     1 init: processing action (shutdown_done) from (<Builtin Action>:0)

 

1、

06-13 11:03:14.180   268  2086 D vold    : e4crypt_add_user_key_auth 0 serial=0 token_present=0
06-13 11:03:14.187   268  2086 D vold    : Skipping non-key .
06-13 11:03:14.187   268  2086 D vold    : Skipping non-key ..
06-13 11:03:14.187   268  2086 E vold    : key_path = /data/misc/vold/user_keys/ce/0/cx0000000000
06-13 11:03:14.187   268  2086 E vold    : tmp_path  = /data/misc/vold/user_keys/temp
06-13 11:03:14.188   268  2086 E vold    : writeStringToFileA /data/misc/vold/user_keys/temp/version: No such file or directory
06-13 11:03:14.189   268  2086 E vold    :

修改密码时,将密码文件写入临时目录 /data/misc/vold/user_keys/temp/   ,相关文件encrypted_key secdiscardable stretching  keymaster_key_blobversion version ,并创建密码文件 /data/misc/vold/user_keys/ce/0/cx0000000000

并将/data/misc/vold/user_keys/temp 重命名为 /data/misc/vold/user_keys/ce/0/cx0000000000

storeKeyAtomically  重命名

2、

06-13 11:03:14.312   268  2086 V vold    : /system/bin/secdiscard
06-13 11:03:14.312   268  2086 V vold    :     --
06-13 11:03:14.312   268  2086 V vold    :     /data/misc/vold/user_keys/ce/0/current/encrypted_key
06-13 11:03:14.312   268  2086 V vold    :     /data/misc/vold/user_keys/ce/0/current/secdiscardable
06-13 11:03:14.312   268  2086 V vold    :     /data/misc/vold/user_keys/ce/0/current/keymaster_key_blob
06-13 11:03:14.379   268  2086 V vold    : /system/bin/rm
06-13 11:03:14.379   268  2086 V vold    :     -rf
06-13 11:03:14.379   268  2086 V vold    :     /data/misc/vold/user_keys/ce/0/current

06-13 11:03:15.056   268  2086 D vold    : Renaming /data/misc/vold/user_keys/ce/0/cx0000000000 to /data/misc/vold/user_keys/ce/0/current

删除之前的密码文件信息目录 /data/misc/vold/user_keys/ce/0/current

将新的密码文件  /data/misc/vold/user_keys/ce/0/cx0000000000 重命名为 /data/misc/vold/user_keys/ce/0/current

fixate_user_ce_key 重命名

 

 

 

 

更多推荐

FBE 加密手机修改密码最后点确定时,马上拔电池掉电出现开机进入recovery

本文发布于:2023-06-14 09:38:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1462004.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:修改密码   电池   掉电   手机   FBE

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!