Open nanerbs25 opened 7 months ago
You need to activate encryption in your TWRP BoardConfig. https://github.com/ADeadTrousers/twrp_device_Unihertz_Atom_LXL/blob/master/BoardConfigCommon.mk#L106
oh i forgot, the branch that has decryption is android-10.0_test
sorry @ADeadTrousers
okay, i got more logs, and this time the recovery is stuck at ofox logo
here is some logs:
Logcat:
12-02 11:24:42.820 274 274 D tkcore-teec: open session to TA UUID 9ef77781 7bd5 4e39 failed 12-02 11:24:42.820 274 274 D tkcore-teec: 12-02 11:24:42.821 274 274 E KeymasterHAL: TrustKernelKeymasterImplementation.cpp:2013: OpenSession failed with 0xffff0000 12-02 11:24:43.395 271 271 W ServiceManagement: Waited one second for android.hardware.keymaster@4.0::IKeymasterDevice/default 12-02 11:24:43.396 271 271 I ServiceManagement: getService: Trying again for android.hardware.keymaster@4.0::IKeymasterDevice/default...
this line gets repeated
Dmesg:
[ 288.811527] (0)[1:init]init: Received control message 'interface_start' for 'android.hardware.keymaster@4.0::IKeymasterDevice/default' from pid: 258 (/system/bin/hwservicemanager) [ 288.811579] (0)[1:init]init: Could not find 'android.hardware.keymaster@4.0::IKeymasterDevice/default' for ctl.interface_start [ 288.852338] (0)[274:android.hardwar]teed not ready. id=0x1003 [ 288.855129] (0)[274:android.hardwar]ERROR ret=0 (err=0xffff0000, org=2, sessid=0x00000054) [ 288.855145] (0)[274:android.hardwar]ERROR can't create the session (ret=0, err=0xffff0000, org=2) [ 288.932638] (0)[67:tee-log][ 288.852222]: <0>ERR TKCore:tee_ta_rpc_load:1502: load TA failed with 0xffff0000 [ 288.932667] (0)[67:tee-log][ 288.853334]: <0>DBG TKCore:tee_dispatch_open_session:141: TA <9ef77781-7bd5-4e39-96-5f-20-f6-f2-11-f4-6b> => Error: f<...> [ 288.932679] (0)[67:tee-log]fff0000 of 2
also, the branch with decryption is android-10.0_test
would appreciate your help, Thanks.
have you checked if the processes "teed", "android.hardware.gatekeeper@1.0-service" and "android.hardware.keymaster@4.0-service.trustkernel" are running? Best to do that is to remove the decryption settings from the twrp build once more and then try to get the three services to run first.
well, i actually already fixed that, the problem was some .rc files are still not running in root
I have this Umidigi A7S, and my friend and i already fixed the issues, and now the last part, Decryption,
Now, my friend and i already imported the libs from stock vendor and the
init.recovery.trustkernel.rc
file, but for some reason, decryption menu doesnt appear and files are still encrypted, now i do have the tkcore.log filemy friend and i has no idea about this, and also, this is the only device that i found with the same decryption function, would appreciate your help
P.S ofcourse not a valid log, since mtp doesnt wanna work, and also sorry for offtopic