CyanogenMod was discontinued, but I’ll keep this up since you can probably try to flash something else using this. Also Heimdall is still very useful but not much talked about. You should probably use TWRP Recovery instead of ClockworkMod these days.
First install Heimdall using Homebrew Cask. You can also download the .pkg and install it manually. Heimdall includes a kext, so you need to reboot after installation.
$ brew cask install heimdall-suite
$ reboot
Then download the recovery image for your device. Scroll down to “Samsung Galaxy Tab 10.1 (Wifi)” and choose either the normal recovery or the touch version. I recommend the normal version, unless you really want touch controls.
Now you need to reboot into download mode to flash the recovery image. This might be a bit finicky, so I recommend that you follow these instructions to the letter:
- Shut down the device and disconnect the cable, if any.
- Hold volume down (the one next to the power button) and the power button.
- When you see the Samsung logo, let go of the power button, but keep the volume button pressed.
- When you get to the screen with the android, let go.
- Press volume up. You should see a warning. Press volume up again to proceed.
- Now connect the device to your computer using the USB cable.
Then flash the recovery image:
$ heimdall detect
Device detected
$ heimdall flash --SOS recovery-clockwork-(some version)-p4wifi.img --no-reboot
When the command exits, shut down the device by holding the power button. Then repeat the instructions above until step #4 to get to the screen with the android.
This time, press volume down to select recovery mode, and then volume up to proceed. You should now boot into ClockworkMod Recovery.
Using the volume keys to navigate, highlight “install zip from sideload” and press the power key to select it. If you downloaded the touch version, you can just tap it.
Ensure that the device is connected to your computer. Download the latest CyanogenMod build for p4wifi and sideload it using ADB:
$ adb sideload cm-(some version)-p4wifi.zip
ADB will upload the ZIP onto the device, after which CWM Recovery installs it. This might take a while.
When it’s done, you should be automatically taken back to the CWM Recovery main menu. It’s good to wipe the cache afterwards, so choose “wipe cache partition” and confirm it. Then choose “reboot system now”.
When the device reboots, you should see the CyanogenMod boot screen. The first boot can take a long time, so get some coffee.
hi, the last link to the CyanogenMod is dead "Over Quota" error.