Revert "init: Write the reason in BCB on "reboot recovery""
This reverts commit 4d35f2e5. Reason for revert: b/137523800 This breaks factory reset on all devices (and potentially rescue party and non-ab updates). Because the init code unconditionally clear the arguments like "--wipe_data" written by framework; as a result, device boots into recovery without doing wipe. I guess one fix is to check the content of BCB, and skip the overwrite if it already boots into recovery. Revert the cl first to unblock p1, will submit the fix separately. Change-Id: Iccaf3dce6999005c2199490a138844d5a5d99e7f
Loading
Please register or sign in to comment