Skip to content

Commit

Permalink
Merge pull request #12 from ab0tj/main
Browse files Browse the repository at this point in the history
Add instructions for ARC-D Android wipe
  • Loading branch information
anthonycaccese authored May 20, 2024
2 parents e60d5ff + 318afc4 commit e1364ae
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/devices/anbernic/rgarc.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ Download the latest `RK3566` version of ROCKNIX from the button below and follow
[![Latest Version](https://img.shields.io/github/release/ROCKNIX/distribution.svg?labelColor=111111&color=FF5555&label=Latest&style=flat#only-light)](https://github.com/ROCKNIX/distribution/releases/latest)
[![Latest Version](https://img.shields.io/github/release/ROCKNIX/distribution.svg?labelColor=dddddd&color=FF5555&label=Latest&style=flat#only-dark)](https://github.com/ROCKNIX/distribution/releases/latest)

##### RG-ARC-D Users

{%include 'platforms/android-wipe.md' %}

## Additional References

- [Platform Documentation (RK3566)](https://github.com/ROCKNIX/distribution/blob/main/documentation/PER_DEVICE_DOCUMENTATION/RK3566)
23 changes: 23 additions & 0 deletions includes/platforms/android-wipe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
You will need to wipe the Android partition to boot into ROCKNIX.

###### WARNING - This will remove Android completely from your device.

- Install ADB on your computer if you don't already have it. [How to Install and Use ADB, the Android Debug Bridge Utility](https://www.howtogeek.com/125769/how-to-install-and-use-abd-the-android-debug-bridge-utility/)

- From power off and sd ejected, hold down power and volume down to get into Android recovery

- Connect the device to your computer via USB using the "DC" port on the device.

- Switch ADB into root mode using `adb root` - You may get a timeout error here, continue on anyway.

- If you would like a backup of your Android partition, run `adb pull /dev/block/mmcblk0 android.img`

- Get an ADB shell with `adb shell`

- Wipe the Android partition: `dd if=/dev/zero of=/dev/block/mmcblk0 bs=4M` This will take a few minutes and when it is done you will get an "out of space" message.

- Exit the shell `exit`

- Insert your ROCKNIX SD card, and run `adb reboot`

- You should now be booting ROCKNIX!

0 comments on commit e1364ae

Please sign in to comment.