yashsingh1/xdaforums huggingface dataset:
[Desire HD General] leppie:
I agree, sounds like dodgy code in HBOOT
[Desire HD General] xcesco89:
i'm that guy!!!:D:D:D:D:D:D:D:D:D:D:D:D

i've solved with clocksinc!:D

EDIT: not solved!! roftl

mmmmm i think i should reflash the eng bootloader....LOL
[Desire HD General] Fihlvein:
Not happening with 1.72 stock (the one pulled back), fast boot enabled or disabled.
[Desire HD General] afilopou:
I dont know if my thought makes sense but you guys dont have problem with reboot,what version of bootloader you have?

My hboot 0.85.2007 (PD9810000)

MICROP 0438
[Desire HD General] afilopou:
Finally i found you!!!! Lol.great idea friend.the funny thing is that nobody from admins never answered my question why they deleted the thread
[Desire HD General] XL3N7:
HBOOT 0.85.2019 (PD9810000)

MICROP-0438

from here

I probably had the same as you before but I flashed this one last night, trying to isolate the problem.
[Desire HD General] thiagodark:
exactly the same... =oP
[Desire HD General] orhon:
I think my phone was on all the time during my flight 5 days ago because of it...it just didn't turn off...
[Desire HD General] :
that's pretty stupid to delete thread, I said it is related probably to DST and next morning couldn't find my posts..

but OK, it says in sticky posts that threads would be deleted, not moved so :(

edit: I am using ENG 0.85.2019 and it is happening..
[Desire HD General] cesco89:
thanks friend!!:D:D:D

the same hboot lol

can anyone tell me if flashing this over the ENGeneering bootloader 0.85.2007 works???
[Desire HD General] zepretender:
I've tried the method :

untick automatic sync,

reboot,

power off...

OK !

I've tick automatic sync again,

reboot,

power off and......... REBOOT ! Damned !!

Note :

hboot 0.85.2007 (PD9810000)

MICROP 0438
[Desire HD General] wjwj929658:
Me too ,When i did this it is also restart
[Desire HD General] afilopou:
Guys just to make things clear.This is the method to verify the problem and not a solution.I am not an android expert but if its bootloader bug this can only be solved from HTC
[Desire HD General] afilopou:
check this http://xdaforums.com/showpost.php?p=12531849&postcount=37

XL3N7 already did it but as far as i understand didnt solve the problem
[Desire HD General] cesco89:
me too!

i don't understand if the problem was solved or not.... LOL:D
[Desire HD General] afilopou:
Looks the issue NOT solved with this bootloader
[Desire HD General] luzhuwang:
Hey guys, I found another thread discussing about this issue

http://xdaforums.com/showthread.php?t=1014520

and his solution is

"The problem disappeared after a whole night without battery.

Now the phone will stay off correctly, without problem.

Thanks a lot for the answer, and sorry for my weird english ,

Rodomar705

Anyone tried that? I wanna give a try this night. :)

"
[Desire HD General] thiagodark:
every line i read about this bug it makes less sense, but gonna try that tip tonight, thanks for the post! =oP
[Desire HD General] wjwj929658:
╮(╯▽╰)╭Do not know when this problem can be solved Perfectly
[Desire HD General] jkoljo:
HTC will probably fix it in a couple of weeks, hopefully.
[Desire HD General] afilopou:
Lets give it a try but if its bootloader bug i dont think that pulling the battery solve the problem(i think that htc has different battery for bootlader(bios)).Lets hope to solve it

Thanks
[Desire HD General] jkoljo:
Bootloader does not wake the device up, so it is totally useless to suspect it. Bootloader is just a part of the boot chain, and a very late part, I might add.
[Desire HD General] afilopou:
Thanks a lot.Finally an answer, so do you think its part of software bug?
[Desire HD General] jkoljo:
Yes, I think so.
[Desire HD General] cesco89:
and, if pulling out battery for a few hours the internal battery clock (i think there is one) discharging completely and reset the clock like the battery on pc mobo??

possible???:D i think should be a conflict with internal clock and rom clock because this solution has no other reason!:D:D
[Desire HD General] luzhuwang:
Just then I made an investigation. Two friends of mine both have Desire HD, and they both never OTA, never flashed ROMs, never did s-off, and even never root their phone. They do not have this Cant-Power-Off problem at all! (both Asia version, 1.32.707.5).

And I flashed RUU 1.32.707.1 myself, inclueding ROM, bootloader and radio back to the original status. I especially check the version of my bootloader with my friends', Completely the same!! But the problem is still there.

So I make 2 assumptions:

1. It is nothing to do with the bootloader itself, but something like some setting information kept by external power within the bootloader. And the information changed because of flashing ROMs! And the information can not be changed back to original by flashing an Official RUU. If there is anyway we can RESET the bootloader(not FLASH which is confirmed useless), maybe the problem can be solved, in my opinion. But unfortunatelly I found no such option to RESET the bootloader.

2.Just As afilopou thought, it is like computer's bios anyway. If the external power, as mentioned above, is supplied by the battery, and can maintained only for couple of hours(like one night's time) after the battery taken off, It is easy to solve. but if there is another battery which is espacailly for the bootloader, as BIOS of PCs, it is not a good news.

So, to make it simple, there are two ways, figuring out how to RESET the bootloader, or cutting the power which maintains the information within the bootloader.

I don't know if I make myself clear, just my opinion, thx.
[Desire HD General] thiagodark:
yep, you were pretty clear. My device is an asian version too, 1.32.707.5 , and as you can figure out, i mess a lot with it! =oP root, s-off, recovery, etc. etc. and i'm getting this weird bug even when a i flash ruu 707.1, basically same situation of you. since are you are saying that has two friends with "exactly same software" in his devices and with no hack it simply doesn't happen, it pretty obvious that is something we did! =o)

and if that's true, i think we souldn't hope that htc fix it... also is really hard to find someone on xda that has a "untouched" device to confirm it for us...
[Desire HD General] wjwj929658:
I have some ideas:

1.ROM、 Recovery、 Radio and our phone ,They are all right.

2.When we flash them into the phone, the error occurred.

3.This error occurs only in the process of flashing

4.Flash the official ROM does not change this.That is, we changed something that when flash the official ROM does not change, so when we have problems , flash the official ROM does not help us recover

5.There may be two reasons why the incidence of this problem，（1）The acts that we flash ROM Led to the internal clock is Different from system clock,Because when my phone restart ,it will open the flight mode and turn on the alarm automatically (I did not set them)then the"com.htc.android.worldclock"will be broke.（2）The acts that we flash ROM Led to some unknown errors with hboot which related to phone power on
[Desire HD General] wjwj929658:
Yes，it is very hard to find someone on xda that has a "untouched"phone
[Desire HD General] xcesco89:
i've opened a new thread in developers section....i hope we can have support and i hope this thread remains and will not deleted!

http://xdaforums.com/showthread.php?p=12554593#post12554593

:D:D:D:D:D
[Desire HD General] jkoljo:
That's useless, it will get deleted / locked / moved in no time.

OK, I do not experience the issue, my phone stays off when I turn it off. A few ideas:

Recovery is known to cause weird startups (compare to charger bug)

My recovery is 3.0.0.6

Timezone. My timezone is GMT+2, where do you live, do you experience the issue?
[Desire HD General] xcesco89:
my GMT zone is like yours!! +2 (now with hour changed)...i'm italian and the standard GMT is +1:D

i know the bug of CWM recovery, and i've tried to reflash recovery!! all versions and the bug remains!!...tried to change radio but nothing...tried to format all partition and reflash rom but....NOTHING!!! LOL

this is a pretty funny situation!!!...we are scared for brick the phone and now it will not stay off!! LOL!!!:D:D:D:D
[Desire HD General] luzhuwang:
You are right. Those people who do not hack phones probably never come here. But do ones who've already hacked their phones face the this problem? We are not sure either, cause some of them never shut off the phone while some of them who use sense rom probably use "fast boot" (sleep mode).

I've called service line of HTC, they first told me they've never found this issue before(they are right, a no-hacked phone surely does not have) and gave me useless recommendations(send phone to customer service to check out). So no hope that HTC will solve this. But I'm still optimestic cause it's a common issue, someone here will stand out figure it out sooner or later.

So tonight I'll try the "whole-night-without-battery" to confirm if it works.:D
[Desire HD General] xcesco89:
my friend tried the "whole-night-without-battery" but after first reboot, and resincing, the problem reappears!! but, for he, change the date before 27/3 don't solve the problem and automatically reboots!!:confused:
[Desire HD General] luzhuwang:
Pal, when I clicked your thread, it has already been moved to QA. But while more and more people discover the problem, I think devs would take it serious. A completely soft problem can not be solved by flash official ROM, it should be worth of attention.
[Desire HD General] XL3N7:
My recovery is 3.0.2.4 r1. I have also downgraded to 3.0.0.6 to see if the problem would go away but it's still there with both recoveries.

I am on a GMT+2 timezone as well (+1 extra hour from the DST).

My phone was on 1.32 stock rom, uk phone. I used your tools (jkoljo's) for radio and eng-s off and now I have flashed the newer h-boot but still the issue is not solved. I have also tried different radios and now I'm on the latest leaked gb radio like before because I have better reception.

To be honest I was initially worried after reading the bs stories regarding cm causing bricks, that cm roms might somehow interfere with the bootloader causing some sort of corruption but now that I know where the issue lies and my phone is safe, I am not bothered from it anymore. I never power off anyway. I can use offline mode or change the date if I really need it off.
[Desire HD General] luzhuwang:
What ROM does he use now? Did he flash RUU?:confused:
[Desire HD General] XL3N7:
Tell him to untick automatic, set the date back, at the 25th and reboot. Let us know if it doesn't power off after that.
[Desire HD General] xcesco89:
i hasn't used RUU!!

tried to untick automatick update, changing date and dhd stay off!:D:D

(my stupid friend LOL):D:D:D
[Desire HD General] afilopou:
I dont know if already mentioned but if you tick the Fast boot under applications ,then the phone powered off (in stock rom 1.32)
[Desire HD General] thiagodark:
the problem happens even with stock recovery, i just back my phone to "out of box" state by flashing ruu and using your tool to let it s-onn again, and i get no changes at all!

my time zone is '-3' and i don't need to say that i live in south, when summer just over... =o)
[Desire HD General] afilopou:
Also with 1.72 stock(haha I am gonna try all the stock roms) if you connect the phone to the pc and you hit the power off the phone doesn't reboot
[Desire HD General] luzhuwang:
Hey guys! I am so GlAD to inform you that the "one-night-without-battery" works and the problem finally SOLVED!! Just then I turned off twice and never reboot again!!

Here are my steps. Maybe some of them are not necessary, but be conservativefor, I strongly recommend you to follow step by step:

1. flash RUU 1.32

2. Power off the phone and take the battery out

3. leave it in peace for 14hours(I don't know if shorter time would work, but as someone report one night did not solve the problem, I decide to prolong the period)

4. Put the battery back and it should not boot autimatically or you should try a few hours more.

5. Power on the phone, and you would find the time changed to someday in 1980, I can't remember the exact day. It implicated that the internal power has already been used off.

6. Change to the current date manually or click Use network time.

7. Power off(do not forget untick "fastboot" in Settings--Applications) and SUPRISE~~ It is sleeping peacefully!!:D:D:D

Since I know the solutiong, Next step, I consider to root, soff, and flash ROMs, by each step I will test if shutdown is working properly, in order to find the exact reason of the problem.
[Desire HD General] zepretender:
I only remove my battery for 7h and it worked ! I can power down my phone again.

- disable automatic hour update

- reboot

- reboot on bootloader (via Quick boot)

- remove battery (I prefer remove battery when I'm on the bootloader, not on Android)

- Wait for a night 7-8...10...14 hours

- put your battery in the phone and power on !

- Hour must be reset

- reactivate automatic hour update
[Desire HD General] afilopou:
Good news, so looks like an internal battery exhausted .I really want to know why this thing happens.Who is responsible for the power off or reboot of the phone ?The software or the bootloader ?I bet on software(rom),so has nothing to do with bootloader (but the internal battery is for bios=bootloader)....sh***t i am confused.Any guy more experienced?
[Desire HD General] cesco89:
gooooooooooooooood news !!!!!!!....i'll try tonight this solution (14 hours?? :eek:)

i hope this will work for me!!! thanks to all!!!....XDA, the best comunity ever!!!:D:D:D
[Desire HD General] leppie:
The internal battery is likely for the RTC which seems to have a problem with the DST change time. Draining it and letting it get reset allows it to get re-initialized without this hiccup.

Edit: The battery must be tiny. 7 - 14 hours is little time compared to say a PC's BIOS battery which can last a good 3-5 years without extra power.
[Desire HD General] afilopou:
Thanks a lot for your answer.Do you have any idea why in some devices the dst change trigger the reboot issue?Why in some devices everything worked fine and some others experienced this issue?

Thanks again
[Desire HD General] cesco89:
i think is a bootloader random issue!!.... at the hour change, the bios clock and the rom clock wasn't sincronized and this generate reboots. when we discharge the internal clock battery, at the first boot, after 14 hours we restore the sincro with bios and rom clock and the issue desappears!!;)
[Desire HD General] afilopou:
Ok makes sense.Just discussed it with my IT expert.Finally strating to understand how these things work.Thank you all guys.God bless XDA :D
[Desire HD General] Fihlvein:
Ok, next step is to find a way to do this trick with a software avoiding the step to discharge battery. Possible? :D
[Desire HD General] moodup:
Wow,which brand have you used?The phone is so funny.
[Desire HD General] thiagodark:
Confirmed!

i guess the only way to fight back a non-sense bug is a non-sense solution! =oP

the strange thing is i let mine off only 5 hours (i know, i shoud sleep more) and it works great, and i got no clock/time reseting. The phone came back with right date and time and now shut off properly.
[Desire HD General] luzhuwang:
So, after I solve the problem, I made several experiment. Beginning with an RUU, no hacked, I tested shutdown after every step of hacking(rooting, s-off, flashing several versions of recovery and radio, flashing several ROMs including CM and stock ones). Strangely, the problem never occured again. So I can not figure out the exact reason of this. Maybe it can only happen during that specific period(days around Mar 27 2011), I guess.:confused::confused::confused:

Anyway my phone is back to normal, that's enough.:p:p
[Desire HD General] gekrem:
Thought I fixed the problem..

I shut down the phone with a time further back than 24/3/11...it worked...however my phone rebooted and found the new time zone and updated the date and now it does the same thing

time to take the battery out for 14 hours :(
[Desire HD General] afilopou:
untick the "automatic" under Date&time
[Desire HD General] gekrem:
thanks re

the million dollar question is though if i change it back to 2/04/11 will it reboot again when I shut it down?

I'm going to try the 14 hour take out battery trick...
[Desire HD General] afilopou:
Yes if you change it back after the 27/03/2011 its going to reboot instead of power off. Take the battery out for 14hs and check again

Can you pls describe what rom you have?
[Desire HD General] gekrem:
I'm using CM7 RC4 at the moment, however I have tried a variety of ROMS including CM7 nightlies, Android Revolution, LeeDroid, CoreDroid and Spike's ROMS and I still have the same problem.

Any suggestions is always appreciated.
[Desire HD General] gekrem:
Ok, I woke up this morning after having the phone switched off for 7 hours and the phone reset itself to a date around 1980. I set the time again properly and it all works fine!

wtf?
[Desire HD General] thiagodark:
don't ask, the problem is gone!! ehehheeh
[Desire HD General] afilopou:
Confirmed.Method worked for me too.Finally.Thank you all guys
[Desire HD General] xcesco89:
confirmed for me too!! method working (without ruu:p)

total time without battery :15 hours

rom: cyanogenmod 7 (without fastboot, so i've no dubt, it works)!!!

A GREAT THANKS TO ALL FRIENDS!!!:D:D:D
[Desire HD General] XL3N7:
I tried pulling the battery for 2 hours and it didn't work. 11 did the job
[Desire HD General] thiagodark:
for me, 5 hours was enough, i didn't get time/date backed to 1980...
[Desire HD General] xcesco89:
back to 1 jan 1980!!!

"Back to the future"!!:D:D:D:D
[Desire HD General] Cbxu:
5 hours didn't work for me; going to try it again through coming night :D hope it works then
[Desire HD General] gekrem:
its weird but allow over 7 hours is my suggestion if you want your phones clock to reset.. :)
[Desire HD General] Cbxu:
yep, 10 hours did it :D finallyyyy
[Desire HD General] Slavon-93:
Didn't work for me. What I did? Pulled off the battery for about 14 hours, turned the phone on, time was reset to 1980. Turned the phone off to see if it would restart. It didn't. Turned the phone on, ticked "receive time from network (don't know how it's called in English)", the phone supposed me to change my timezone, I set it to Moscow (gmt+4), then synced the clock with internet using Clocksync and powered off the phone. And it restarted again. What am I doing wrong?
[Desire HD General] afilopou:
Remove clocksync and also untick the receive time from network(manually input date and time zone).check if the phone restarts
[Desire HD General] XL3N7:
Tick the option to automatically receive the time from the network before pulling the battery.
[Desire HD General] afilopou:
Is there any reason of doing that?just asking in order to find the proper way. :-)
[Desire HD General] damajor:
The following steps fix this issue for me:

- disable time/date auto update

- set time/date on the 2011/03/26 02:00

- wait some minutes (around 10 for me)

- shutdown the phone (should not reboot, at least during the first 30-60 seconds of power off)

- within 30 to 40 seconds after the poweroff take out the battery

- put the battery back into the phone

- wait some minutes (the phone should still be powered off)

- power on the phone

- enter your pin code

- set the timezone to match your local area timezone

- set the time/date autoupdate

- go back to your launcher main screen

- wait for the time update

- wait some minutes (~5) after the time has been updated

- power off the phone

The phone should stay off.

This was tested after a CM7 flash and works like a charm.

I hope this will avoid people having to remove their battery for several hours.

Good luck.
[Desire HD General] afilopou:
I can not check this method,because i solve it with the method mentioned.I hope you are right but i think i tried this method (or something like that) and failed.Any guy with the bug still in order to check this method?
[Desire HD General] Slavon-93:
Hmm, the problem seems to have gone. Again let the phone be without the battery for 9.5 hours, turned it on, disabled time autosync with network, manually set the date to current, powered the phone off and it didn't restart. Now i turned sync with network on and still seems to shut down properly. Thanks to everybody.
[Desire HD General] XL3N7:
The time change triggers the bug so if you pull the battery and then when you put it back set it to auto, you will again trigger the bug
[Desire HD General] sandeeppathak007:
Tried this and Failed

please help
[Desire HD General] XL3N7:
remove the battery for 9 hours or more
[Desire HD General] vtec303:
Unfortunately did not work for me, but got a sms during the procedure, will that have any effect ?, thanks for your help.
[Desire HD General] vtec303:
This thread should be in the development section so the devs should know about this bug and they can tweak their roms, I think we all should send a message to admin about this, in my opinion more than 20% of DHD users around the world are suffering from this bug and the count is increasing which means its a serious problem. I hope this thread goes to the development very very soon. Thanks to all those who have given us a few tips in order to get rid of the bug.
[Desire HD General] kgulruh:
Switching off for 8.5 hours worked for me. Now it shuts down as it should. But does it mean that I never should use auto time syncing again? I mean the default CM's syncing with network option in time and date settings.
[Desire HD General] damajor:
I would say it is better to follow the procedure without being interrupted, just because it worked for me. Honestly I cannot say if the sms receive can have an effect on it.
[Desire HD General] afilopou:
Come on guys,just follow the procedure (remove the battery for more than 8-9 hours) .The method mentioned 2-3 threads before doesnt work.And of course when we first dicovered the bug,i asked for the admins to leave the thread in development section,but instead they deleted the initial thread.
[Desire HD General] thiagodark:
nothing is being developed on this thread, so it's belong here, general section. if someone write some kind of patch to solve the issue with no "remove battery" workaround, it will be posted in dev area! =oP
[Desire HD General] afilopou:
I disagree.Its a bug of the htc and a lot of people dont even know the bug because they are not using the power off button.Most people are visiting the dev section so if the thread was here as well,they may check the bug and of course its good for the devs to know the issue.Even more they can make it sticky here or in any place they think is appropriate.Also i dont know from programming and developing but i dont think that the specific bug can solved through writing some code.
[Desire HD General] thiagodark:
i see your point, but what you are saying is that this bug needs more attention (what i agree), but the way you imagine to get it is posting in devs section (that i disagree).

the way i see, it doesn't really matter how huge an issue is, rules are rules, you cant just post into there... if you make a expetion, everyone with bug and thinking that needs more attention would post there, what would make a mess..

and don't be fooled, devs look here, you always see they giving advices even for that noob questions "can't root" or "what is s-off" =oP
[Desire HD General] extreme22:
Hopefully there is a fix for this
[Desire HD General] XL3N7:
Yes, you can set it to auto sync like before.
[Desire HD General] TrZ69:
It works for me :)

Desire HD with CyanogenMod7

EDIT: i take the phone without battery tonight for 10 hours and after he show me 6 gen 1980 ahah, now works perfectly!
[Desire HD General] TrZ69:
Ehy friend i have a problem..

Five minutes ago i plug the charger when the dhd was turn off and he show me the clockworkmord recovery another time :mad:

What can i do?? Reflash the .zip?? :confused:

EDIT: i've tried to reflash the .zip and don't syncig the auto-time with the and now seems that works :S this is a really NON-SENSE bug!

Sorry for double post! :rolleyes: