-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Document disabling write protect with a suzyqable
- Loading branch information
1 parent
cbabe63
commit c61b26c
Showing
2 changed files
with
33 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
## Disabling write protect with a SuzyQable | ||
|
||
::: tip | ||
This method is only available on CR50 devices. | ||
::: | ||
|
||
<br> | ||
|
||
Step 1: Enabling Closed Case Debugging (CCD) | ||
|
||
1. Open VT-2 (`ctrl` + `alt` + `f2` (right arrow)). | ||
2. Login as `root`. | ||
3. Run `gsctool -a -o`. | ||
4. You will be prompted to press the `PP` (physical presence) button several times. This is a fancy way of saying to press the power button. | ||
5. The device will suddenly reboot and exit developer mode. Re-enable developer mode and continue with the instructions. | ||
|
||
Step 2: Disable Write Protect. | ||
1. Open VT-2 (`ctrl` + `alt` + `f2` (right arrow)). | ||
2. Login as `root`. | ||
3. Plug in your cable | ||
4. Run `ls /dev/ttyUSB*` to verify your cable is working. This should output 3 items, `ttyUSB0`, `ttyUSB1`, and `ttyUSB2`. If you do not see these items, try flipping the `usb-c` end upside-down, and try another `usb-c` port. If there is still no result, confirm your cable was assembled properly. | ||
5. Run the following commands. This will disable hardware write protect. | ||
- `echo "wp false" > /dev/ttyUSB0` | ||
- `echo "wp false atboot" > /dev/ttyUSB0` | ||
6. Run `echo "ccd reset factory" > /dev/ttyUSB0` to be able to unbrick using a suzyqable, if needed. | ||
7. Run `gsctool -a -I` to verify you have opened all the CCD flags. The current value for all CCD flags should be set to Y/Always. | ||
8. Verify `crossystem wpsw_cur` returns `0`. | ||
9. Reboot. | ||
|