After seeing the logcat for my phone booting, I can be sure that settings.db is messed up. As a result, I think I must wipe the /data partition (factory reset) which I can do with adb. However I need to be able to run adb shell in root, and because I've flashed the phone using KDZ then it isn't...