Date/Time is at default value (year 1970) on every boot #5

Closed
NeoTheThird opened this Issue May 27, 2017 · 15 comments

Comments

Projects
None yet
7 participants
Owner

NeoTheThird commented May 27, 2017

https://launchpad.net/~blunoise reports:
Hi all,
when phone is rebooted it takes the default value from RTC , but RTC writes operations are disabled.

What i find is a rtc write protect on device tree.

In the file :
arch/arm/boot/dts/msm-pm8941.dtsi

the key ->

qcom,qpnp-rtc-write = <0>

is set to zero.

Regards

This has been confirmed on the FP2 and Nexus 5.

@NeoTheThird NeoTheThird added the bug label May 27, 2017

The fix should already be in the repo already. Not sure if devel_rc-proposed has them already.

Owner

NeoTheThird commented May 27, 2017

Fixed :)

@NeoTheThird NeoTheThird changed the title from Date/TIme is at default value (year 1970) on every boot to Date/Time is at default value (year 1970) on every boot May 27, 2017

@NeoTheThird NeoTheThird added this to the 15.04 OTA-1 milestone Jun 6, 2017

ITwrx commented Sep 7, 2017

i have an nexus 5 (d821) running ubuntu touch 15.04 which still exhibits this issue.

Owner

Flohack74 commented Sep 8, 2017

Yes this is unfortunately true, even on rc. I moved it to OTA-3 since this will not make it into OTA-2 anymore :(

@Flohack74 Flohack74 reopened this Sep 8, 2017

@Flohack74 Flohack74 modified the milestones: 15.04 OTA-3, 15.04 OTA-1 Sep 8, 2017

Also an issue on the opo

Owner

Flohack74 commented Oct 28, 2017

@rubencarneiro can we fix this with your workaround on all 3 devices?

@Flohack74 Flohack74 added this to Accepted in Ubuntu Touch Oct 28, 2017

@Flohack74 Flohack74 moved this from Accepted to In Progress in Ubuntu Touch Oct 29, 2017

@Flohack74 Flohack74 referenced this issue in ubports/android_device_oneplus_bacon-1 Oct 29, 2017

Merged

Try to implement same fix as the nexus 5 to timekeep #4

Owner

Flohack74 commented Oct 31, 2017

on OPO still exists in r195, but maybe the fix was not picked up by CI?

Can you se if the folder /data/time exist on system files?

Owner

mariogrip commented Nov 2, 2017

We should try using the fixrtc that exist in the initrd instead of on the android side https://github.com/ubports/ubports-boot/blob/master/initramfs/scripts/local-premount/fixrtc

Owner

mariogrip commented Dec 14, 2017

Fix released, created https://github.com/ubports/timekeeper that runs on ubuntu side instead of android side, this should be more reliable

@NeoTheThird NeoTheThird moved this from In Development to Quality Assurance in Ubuntu Touch Dec 14, 2017

@NeoTheThird NeoTheThird moved this from Quality Assurance to In Development in Ubuntu Touch Dec 16, 2017

Owner

NeoTheThird commented Dec 16, 2017

Not fixed on Nexus 5, Oneplus One and Fairphone 2.

@NeoTheThird NeoTheThird moved this from In Development to Quality Assurance in Ubuntu Touch Dec 16, 2017

Owner

Flohack74 commented Dec 18, 2017

Fixed on N5 for me :)

Owner

NeoTheThird commented Dec 18, 2017

I can confirm that.

Ubuntu Touch automation moved this from Quality Assurance to Release Candidate Dec 18, 2017

@NeoTheThird NeoTheThird removed this from Release Candidate in Ubuntu Touch Dec 28, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment