PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   HTC Vogue (http://forum.ppcgeeks.com/forumdisplay.php?f=48)
-   -   Phone turns off at 4 mins. with Kitchen ROM (http://forum.ppcgeeks.com/showthread.php?t=26988)

CMeys 05-19-2008 10:21 AM

Phone turns off at 4 mins. with Kitchen ROM
 
Every ROM I've built with the Kitchen (any version) even a totally vanilla one including nothing but the basics has caused my phone to turn off after 4 minutes even though I have the power settings not to turn off on either battery or external power. This only happens with ROMs created with a version of the Kitchen. I prefer those ROMs as they are the only ones in which I've been able to get MSCV to work properly.

How can I fix this so the phone stops turning off unless I do it manually?

Thanks.

Bobby Budnick 05-19-2008 11:10 AM

Re: Phone turns off at 4 mins. with Kitchen ROM
 
I have noticed this too with the kitchen I use. I have worked around it by having a Mortscript run at at first boot that sets the registry entry manually. It will NOT work if you choose the option in oemizer or if you integrate the registry entry manually.

agarg 05-19-2008 12:10 PM

Re: Phone turns off at 4 mins. with Kitchen ROM
 
what is the registry entry to fix that? also could you post or send me the mortscript? Thanks.

CMeys 05-19-2008 12:11 PM

Re: Phone turns off at 4 mins. with Kitchen ROM
 
Bobby, would you share the Mortscript with me please? I know how to use one, but not how to write one. And to have it run at first boot do I just put it in the Windows/Start Up folder? Please clarify.

Thank you (I thought I was going crazy over this and it was just me, but I guess most people don't won't the phone to stay on unlimited on external power).

Bobby Budnick 05-19-2008 12:16 PM

Re: Phone turns off at 4 mins. with Kitchen ROM
 
RegWriteDWord( "HKLM", "System\CurrentControlSet\Control\Power\Timeou ts", "BattSuspendTimeout", 300 )

I copied and pasted the code from the script that runs from my sd card. The only reason it starts on first boot is because I cooked Mortscript and the "Loader" script for my customizations into my ROM. More information can be found on the ROM page in my signature.

Edit: Looks like there are spaces shown that should not be in the code. You may be better off copying and pasting directly from the script file here:

ftp://up.ppcgeeks.com/Vogue/Users/Bo...SE_2/test.mscr

CMeys 05-19-2008 12:24 PM

Re: Phone turns off at 4 mins. with Kitchen ROM
 
If I put the script in the Start Up folder will that work? Thanks.

Bobby Budnick 05-19-2008 12:32 PM

Re: Phone turns off at 4 mins. with Kitchen ROM
 
The only way that would work is if the ROM had Mortscript cooked in. Even if it did, you would need to at least cook the script into the rom and come up with a way for it to delete itself after the first run. If you did not cook the script into the ROM, what would be the point of doing all this anyway? (because you could just go change the setting after boot manually)

I have already considered all those details with my ROM so feel free to "copy" the method I used.

CMeys 05-19-2008 12:35 PM

Re: Phone turns off at 4 mins. with Kitchen ROM
 
Do you mean that if just edit the registry value it will stick? I thought it wasn't sticking so it was necessary to do it on each reset. If that's not needed, sure, I can just do it manually. Thanks.

CMeys 05-19-2008 12:45 PM

Re: Phone turns off at 4 mins. with Kitchen ROM
 
Hmm, I manually edited the BattSuspendTimeout value to 300, reset, verified that the value read 300 which it did, and (on external power) my phone still turned off in 4 minutes? Have I misunderstood something or done it incorrectly? Please help, this is driving me crazy. Thanks.

Bobby Budnick 05-19-2008 12:48 PM

Re: Phone turns off at 4 mins. with Kitchen ROM
 
Well perhaps we have a different problem. My problem is that the battery timeout settings in oemizer or in making integrated registry edits for the battery timeout would not set the battery power timeout correctly. I could of course change them after boot but that was unacceptable to me so I developed a way of post-install customizations that would do it for me (among other things) on first boot.


All times are GMT -4. The time now is 06:54 AM.

Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0