Since this is an "ro" property (read-only), I don't think you can avoid rebooting the system. Anyway, you are going to have to in the current implementation because various things like activity manager initialize themselves in a special state when in factory test mode, which you can't get out of without restarting them. (And there is a good chance factory test code isn't going to leave the system in a good state anyway so it is good to restart.)
The low-level factory test is even worse since it brings the system up in a very minimal state with many core services just not running.
--
Dianne Hackborn
Android framework engineer
hac...@android.comNote: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them.