FORUMS
Remove All Ads from XDA

[RECOVERY][OFFICIAL][F500,LS991,H81x,US991,VS986][MM,N,O,P] TWRP [2019-04-29]

4,458 posts
Thanks Meter: 10,995
 
By steadfasterX, Recognized Developer on 18th August 2016, 05:02 PM
Post Reply Email Thread
Announcement from steadfaster: IMPORTANT Notice regarding the new unofficial TWRP versions
23rd August 2016, 09:03 PM |#11  
steadfasterX's Avatar
OP Recognized Developer
Thanks Meter: 10,995
 
Donate to Me
More
Quote:
Originally Posted by albuntu

How about the correct date and time? Is this also an easy one?

Sent from my LG G4 using Tapatalk

no afaik this is a bug in twrp 3 as it was not a problem as in twrp 2 but I cannot say for sure.
Can you tell me what ROM do you use? and more important: When you reboot is the time correct (directly after reboot!) or is it not correct and gets corrected when connected to the carriers network?


.
The Following 3 Users Say Thank You to steadfasterX For This Useful Post: [ View ]
 
 
23rd August 2016, 09:16 PM |#12  
Senior Member
Thanks Meter: 11
 
More
Quote:
Originally Posted by steadfaster

no afaik this is a bug in twrp 3 as it was not a problem as in twrp 2 but I cannot say for sure.
Can you tell me what ROM do you use? and more important: When you reboot is the time correct (directly after reboot!) or is it not correct and gets corrected when connected to the carriers network?


.

I'm on CM13 and yes, the time and date are always correct. I know for sure because i often reboot with flight mode enabled.

Sent from my LG G4 using Tapatalk
The Following User Says Thank You to albuntu For This Useful Post: [ View ] Gift albuntu Ad-Free
23rd August 2016, 09:32 PM |#13  
Senior Member
Thanks Meter: 79
 
More
Quote:
Originally Posted by steadfaster

edit 3:
ok got it. double tap will be added in the next build

Now that was fast Thank you! Appreciate the effort. For now we can live with wrong date and time it's not that big of a deal.
23rd August 2016, 09:46 PM |#14  
HorstiG's Avatar
Senior Member
Flag Banja Luka RS
Thanks Meter: 2,614
 
More
I do not understand the whole thing.

The incorrect date is for me a Problem.

Imperium Stock ROM

Click image for larger version

Name:	Screenshot_2015-01-05-05-29-10.png
Views:	314
Size:	195.1 KB
ID:	3852244
The Following User Says Thank You to HorstiG For This Useful Post: [ View ] Gift HorstiG Ad-Free
23rd August 2016, 11:28 PM |#15  
steadfasterX's Avatar
OP Recognized Developer
Thanks Meter: 10,995
 
Donate to Me
More
Quote:
Originally Posted by HorstiG

I do not understand the whole thing.

The incorrect date is for me a Problem.

Imperium Stock ROM

Attachment 3852244

Please see the the comment of Dees_Troy and bigbiff (both main devs of TWRP):
https://github.com/TeamWin/Team-Win-...mment-35728685
https://github.com/TeamWin/Team-Win-...mment-28525937
--> Means the ROM have to save the time data and TWRP tries to read that. If the ROM do not save that time data TWRP can't know the time.

Well there is a flag for QCOM since some day:
https://github.com/TeamWin/android_d...044028a8874f61
--> that one is set already in my build but it is still not working

I still looking through the code what the devs actually expecting maybe ... well lets see.

update:

ok so far I can say the following
  1. The Qualcom Time Daemon (proprietary) need to be available in your ROM (e.g. not available in RR)
  2. The time daemon has to run properly (it has to work actually)
  3. The time daemon has to write into either /data/time/ats_* or /data/system/time/ats_*

If those are ok then TWRP will display the time correct. If not blame the ROM not TWRP..

.
The Following 4 Users Say Thank You to steadfasterX For This Useful Post: [ View ]
24th August 2016, 01:45 AM |#16  
HorstiG's Avatar
Senior Member
Flag Banja Luka RS
Thanks Meter: 2,614
 
More
I have 4 Files, but all without content.

It´s the same with Stock LG ROM (KTZ)

Have a look please

https://dl.dropboxusercontent.com/u/73964661/Time.zip

Click image for larger version

Name:	Screenshot_2016-08-24-02-42-01.png
Views:	230
Size:	197.4 KB
ID:	3852395 Click image for larger version

Name:	Screenshot_2016-08-24-02-50-27.png
Views:	234
Size:	218.2 KB
ID:	3852396
The Following User Says Thank You to HorstiG For This Useful Post: [ View ] Gift HorstiG Ad-Free
24th August 2016, 02:02 AM |#17  
HorstiG's Avatar
Senior Member
Flag Banja Luka RS
Thanks Meter: 2,614
 
More
On my older Baby LG D290 the Time is OK

Click image for larger version

Name:	Screenshot_2016-08-24-02-57-54.png
Views:	206
Size:	48.6 KB
ID:	3852403
The Following User Says Thank You to HorstiG For This Useful Post: [ View ] Gift HorstiG Ad-Free
24th August 2016, 07:37 AM |#18  
steadfasterX's Avatar
OP Recognized Developer
Thanks Meter: 10,995
 
Donate to Me
More
Quote:
Originally Posted by HorstiG

On my older Baby LG D290 the Time is OK

It may be not a device with RTC that would explain it. Or the time daemon in that rom works better/other.

Quote:
Originally Posted by HorstiG

I have 4 Files, but all without content.

It�´s the same with Stock LG ROM (KTZ)

Have a look please

https://dl.dropboxusercontent.com/u/73964661/Time.zip


The files are not empty so it should work for you afaik...

Which timezone do you live and can you join the twrp channel? That would make it easier for troubleshooting..


.

Sent from my LG-H815 using XDA Labs
24th August 2016, 11:29 AM |#19  
HorstiG's Avatar
Senior Member
Flag Banja Luka RS
Thanks Meter: 2,614
 
More
Quote:
Originally Posted by steadfasterX

It may be not a device with RTC that would explain it. Or the time daemon in that rom works better/other.




The files are not empty so it should work for you afaik...

Which timezone do you live and can you join the twrp channel? That would make it easier for troubleshooting..


.

OT. Meine Zeitzone ist die gleiche als Deine. Bei TWRP G+ und xda habe nicht nur ich schon mehrmals das Problem angesprochen. Deshalb hatte ich etwas Hoffnung, dass Du...
Dann werde ich damit leben muessen.
Danke trotzdem und sorry for german

Sent from my LG-H815 using XDA Labs
24th August 2016, 12:41 PM |#20  
steadfasterX's Avatar
OP Recognized Developer
Thanks Meter: 10,995
 
Donate to Me
More
Quote:
Originally Posted by HorstiG

OT. Meine Zeitzone ist die gleiche als Deine. Bei TWRP G+ und xda habe nicht nur ich schon mehrmals das Problem angesprochen. Deshalb hatte ich etwas Hoffnung, dass Du...
Dann werde ich damit leben muessen.
Danke trotzdem und sorry for german

Sent from my LG-H815 using XDA Labs

ok no I meant IRC channel thats much much better because it is a chat so much more responsive

but I want to investigate that further (I mean my nick says it all) - can you do the following when booted into Android and paste their results:
  1. ls -la /dev/rtc0 /dev/rtc
  2. hwclock -uw (<-- if this gives you an error let me know but continue with the next part)
  3. ls -la /dev/rtc0 /dev/rtc (again)

Boot up in TWRP and paste the results of:
  1. ls -la /dev/rtc0 /dev/rtc
  2. If it is not the correct time in UTC do the above hwclock command again
  3. reboot recovery (so reboot into twrp again)

let me know your results
I'm normally online daily so grab an IRC client like hexchat or pidgin and connect to the channel #twrp. you will see me there. If you do not want to install anything simply use the webchat here: http://webchat.freenode.net/?channels=twrp

.
24th August 2016, 12:49 PM |#21  
HorstiG's Avatar
Senior Member
Flag Banja Luka RS
Thanks Meter: 2,614
 
More
Thanks again, tonight I'll test.

Sent from my herolte using XDA Labs
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes