View Single Post
Posts: 1,808 | Thanked: 4,272 times | Joined on Feb 2011 @ Germany
#26
Originally Posted by pali View Post
This is possible now too. Just enable R&D mode (which is designed for above problematic situations) nad getbootstate (both closed and my new open) will set USER bootstate if you are booting from power off.
Yeah, I have activated R&D mode with pwr_key. It's just that on my N900 without bme I sometimes forget to tell dsme that the charger is not connected, so instead of powering off it goes to some half-act-dead-but-not-quite-nirvana state, so when I turn it on again it doesn't quite know what to do (I think it gets bootstate = ACTDEAD even though pwr_key is forced) until it reboots again, this time with pwr_key/normal/USER bootstate.

I was thinking that if I force it to always use USER mode no-matter-what this problem would be solved. But just in case I'd like to have it configurable.

But I'll take care of that. I want to write a manual getbootstate where the user is presented with a menu, where the "standard" bootstate (according to the stock getbootstate algorithm) is pre-selected but you have the option of selecting another one, with a timeout or something.
 

The Following User Says Thank You to reinob For This Useful Post: