[Sony Xperia XZ Premium Guides, News, & Discussion] munjeni:
Ah you're right, checked right now on G8141_Customized CE1_1308-5321_45.0.A.1.229_R6A . But are you succed with su command, you are user system right now?? Can you confirm it with command "id", it must give 1000

I am new to pie, so question is do we can call some functions from pie binaries? This is all binaries which use miscta:

~/Desktop/qq $ grep -rn miscta .
./bin/chargemon:2453:miscta_read_unit
./bin/chargemon:2454:miscta_write_unit
./bin/chargemon:2533:libmiscta.so
./bin/chargemon:20920:<3>chargemon: miscta_read_unit() is failure. Return value is %d. Size is %d
./bin/chargemon:20922:<3>chargemon: miscta_write_unit() is failure. Return value is %d
./bin/charge_service:2380:miscta_read_unit
./bin/charge_service:2381:miscta_write_unit
./bin/charge_service:2445:libmiscta.so
./bin/charge_service:10544:wrote_miscta_time = %llu
./bin/charge_service:10546:wrote_miscta_time_by_shutdown = %llu
./bin/charge_service:10548:write_miscta_enable_by_shutdown = %d
./bin/iddd:4682:miscta_read_unit
./bin/iddd:4739:miscta_write_unit
./bin/iddd:4767:libmiscta.so
./bin/iddd:28458:iddd-miscta
./bin/iddd:28463:Failed to trylock mutex before miscta_read_unit, errno=%d (%s)
./bin/iddd:28464:Failed to unlock mutex after miscta_read_unit, errno=%d (%s)
./bin/iddd:28466:Failed to trylock mutex before miscta_write_unit, errno=%d (%s)
./bin/iddd:28467:Failed to unlock mutex after miscta_write_unit, errno=%d (%s)
./bin/keyprovd:2315:libmiscta.so
./bin/loc_launcher:16883:updatemiscta
./bin/logd:19700:updatemiscta
./bin/mdnsd:87887:updatemiscta
./bin/secd:32346:miscta_get_unit_size
./bin/secd:32347:miscta_read_unit
./bin/secd:32348:miscta_write_unit_critical
./bin/secd:34257:libmiscta.so
./bin/secd:178210:miscta_get_unit_size failed, miscta_status %d
./bin/secd:178212:miscta_get_unit_size failed, ta_res %d
./bin/secd:178213:miscta unit has bad size, ta_unit_size %d
./bin/secd:178214:miscta_read_unit failed, ta_res %d
./bin/sensors.qcom:6142:miscta_read_unit
./bin/sensors.qcom:6416:libmiscta.so
./bin/startup-logger:1233:miscta_read_unit
./bin/startup-logger:1239:libmiscta.so
./bin/startup-logger:2456:Successfully read miscta unit value
./bin/startup-logger:2458:Failed to read the miscta unit value
./bin/startup-prober:2247:miscta_get_unit_size
./bin/startup-prober:2248:miscta_read_unit
./bin/startup-prober:2275:libmiscta.so
./bin/startup-prober:10360:next_boot(idd)=%d, s1boot_counter(miscta)=%d, next_pon_boot=%d
./bin/taimport:1385:miscta_get_unit_size
./bin/taimport:1386:miscta_read_unit
./bin/taimport:1393:libmiscta.so
./bin/ta_qmi_service:1669:miscta_get_unit_size
./bin/ta_qmi_service:1670:miscta_read_unit
./bin/ta_qmi_service:1671:miscta_write_flush
./bin/ta_qmi_service:1672:miscta_write_unit
./bin/ta_qmi_service:1673:miscta_write_unit_critical
./bin/ta_qmi_service:1681:libmiscta.so
./bin/ta_qmi_service:5218:miscta_write_cb
./bin/ta_qmi_service:5219:miscta_write_critical_cb
grep: ./bin/ta_qmi_service.id0: Permission denied
grep: ./bin/ta_qmi_service.id1: Permission denied
grep: ./bin/ta_qmi_service.nam: Permission denied
./bin/tune2fs_static:63245:updatemiscta
./bin/updatemiscta:1519:miscta_get_unit_size
./bin/updatemiscta:1520:miscta_read_ta_cust_version
./bin/updatemiscta:1521:miscta_read_ta_fla_fla
./bin/updatemiscta:1522:miscta_read_ta_fs_version
./bin/updatemiscta:1523:miscta_read_ta_phone_name
./bin/updatemiscta:1524:miscta_read_ta_sw_version
./bin/updatemiscta:1525:miscta_read_unit
./bin/updatemiscta:1526:miscta_write_ta_build_type
./bin/updatemiscta:1527:miscta_write_ta_cust_version
./bin/updatemiscta:1528:miscta_write_ta_fs_version
./bin/updatemiscta:1529:miscta_write_ta_phone_name
./bin/updatemiscta:1530:miscta_write_ta_sw_version
./bin/updatemiscta:1531:miscta_write_unit
./bin/updatemiscta:1542:libmiscta.so
./bin/updatemiscta:4324:bs_updatemiscta
./bin/updatemiscta:4442:read_miscta_string
./bin/usbeng:1091:miscta_read_unit
./bin/usbeng:1092:miscta_write_unit
./bin/usbeng:1097:miscta_get_unit_size
./bin/usbeng:1101:libmiscta.so
./bin/usbeng:2116:miscta_read_unit result: %d (data: 0x%02x)
./bin/usbeng:2124:miscta_read_unit 2471 result: %d (data: 0x%02x)
./bin/usbeng:2128:miscta_write_unit 2471 result: %d
./vendorbin/thermal-engine:4001:miscta_read_unit
./vendorbin/thermal-engine:4002:miscta_write_unit
./vendorbin/thermal-engine:4021:libmiscta.so
~/Desktop/qq $