Google has just released the first version of the next major Android update. The first Android 11 build is only available as a preview of the developer, which means that you cannot just sign up for the beta program and install the update as an OTA. But you can still easily install the update on your Pixel.
You need an unlocked bootloader to install the DP1 build of Android 11, also known as Android R. If you have not already done so, it will be installed at the factory to reset your phone. But if your bootloader is already unlocked, there is a way to flash Android 11 without losing any data, and that's what I'll outline below.
Your bootloader must be unlocked before you can flash firmware images. If you have not done this yet, you can get help from one of our manuals below.
Now you need to download the images for Android 11 developers that match your pixel phone. These files are quite large, so be prepared to wait a few minutes for a slower internet connection.
Once the ZIP with the developer's sample images has been downloaded to your computer, you must extract the content. You only need to unpack the first ZIP file; the other ZIP files that appear in the extracted folder must be left alone. To extract the file, you can use the built-in extractor in Windows or use a third-party program such as 7-Zip.
You now need Google & # 39; s platform-tools package. With these files, your computer and telephone can communicate in Fastboot mode. Download the latest version of platform tools using the link below for each operating system that you use on your computer.
Now unpack the ZIP platform tools. Open the folder that was created after extracting platform tools, highlight all content and use ctrl + x to capture everything inside. Then open the folder with the developer's sample images and paste the contents of the platform tools into it.
Now before you flash the update, there are a few things that you want to do beforehand. The first is to prevent your phone from erasing all your data during the upgrade. Although Google recommends deleting all your data, as this is a developer example and works best with a new installation, you can always reset your device later if you experience problems.
To prevent your data from being erased, you need to edit the following files in the extracted image preview folder:
flash-all.bat (Windows) flash-all.sh (macOS / Linux)
For Windows users, right-click the "flash-all.bat" file and select "Edit" from the context menu. For macOS and Linux users, double-click the file to open the text editor. In the editor, search for the "fastboot -w" line (located at the bottom) and remove "-w" and save the change. If you now update to Android 11, your data will not be lost.
For macOS and Linux users, there are two more things you need to do in order to flash. The first is to remove the following lines:
if! [ $($(which fastboot) --version | grep "version" | cut -c18-23 | sed 's/.//g' ) -ge 2802 ]; thereafter echo "fastboot too old; download the latest version at https://developer.android.com/studio/releases/platform-tools.html" output 1 fi
Next, for each line of code that starts with "fastboot", place a "./" for each line, change it to "./fastboot", and then save the edits you have made.
Step 7: Boot in Bootloader Mode
Switch off your Pixel. Once off, press and hold the volume and the power buttons until the screen turns on. A screen called "Fastboot mode" should appear – leave your phone on this screen and connect it to your computer with a USB cable.
If you are using Windows, all you have to do now is double-click the "flash-all.bat" file in the folder with extracted examples of developer examples. This is an executable file, so it automatically opens the command prompt and starts the upgrade process to Android 11.
For macOS and Linux users, you must first open Terminal and refer to the factory image folder by typing "cd". press the space bar and drag the folder with factory images to Terminal. This fills Terminal with the full address location of the folder. Press Enter and a new line appears. Enter the following code on this line and press enter to start the upgrade process:
The process takes about 10 minutes and your phone will be restarted several times. As soon as one of the command prompt or Terminal indicates "complete", it should be restarted again, but this time in Android 11!