The version of Android bundled with several cell phone manufacturers' smartphones isn't open source. In many cases, it's not possible to just check out Google's tree and build it on your Samsung; you still have to fiddle with proprietary hardware modules, etc.
That said, i would only trust my cell phone to be off if I took out the battery.
That said, i would only trust my cell phone to be off if I took out the battery.