Sitemap

Member-only story

Preparing SD card to Flash Raspberry PI-5 with Android-15

This article explains all the steps for SD Card recovery and preparing it for flashing. These steps are common and not specific to only Raspberry for SD card recovery we can use it for any other task too.

5 min readJan 21, 2025

--

Press enter or click to view image in full size
Photo by Taso Katsionis on Unsplash

I have been working on Android 15, building AOSP source code and preparing a Raspberry Pi image for flashing. During this process, I encountered some issues while flashing the Pi board. To help others avoid the same problems, I documented the steps needed to prepare an SD card for the setup.

If you face errors while making the SD card bootable, or if your card gets corrupted like mine did, you’ll need to recover it first. I’ll start by explaining how to retrieve an SD card and then move on to making it bootable.

I am using Ubuntu on my PC, so the instructions will primarily apply to Ubuntu users. However, I will also include information about tools available for Windows to perform similar tasks.

Recover the SD card:

Install “gparted” on your PC, GParted is a free and powerful partition editor for managing disk partitions, including formatting, resizing, and recovering storage devices like SD cards.

--

--

Narendra Harny
Narendra Harny

Written by Narendra Harny

Connect on https://medium.com/make-android | Write On, Android AOSP & Applications | Python | DevOps | Java | C++ | Kotlin | Shell | Linux | Android Auto | IVI