This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| """ | |
| Patch a recovery image to enable RTC writing | |
| Unfortunately it has not the intended effect (tested from recovery): | |
| ~ # /system/xbin/hwclock -w | |
| hwclock: RTC_SET_TIME: Operation not permitted | |
| <3>[ 25.821247] spmi_pmic_arb fc4cf000.qcom,spmi: pmic_arb_wait_for_done: transaction denied (0x5) | |
| <3>[ 25.821338] qcom,qpnp-rtc qpnp-rtc-ee162000: SPMI write failed |
NewerOlder