The official final version of Android O beta 4 which will be the version 8.0 of the operating system for the developers only has at last arrived. Yesterday, Google officially released developers’ version of Android O Beta 4. This is the final preview before the launch of the stable version of the update in this summer to all Android users. Hence, this is the last opportunity to take a test of the Android 8.0 and publish your review to Google and all Android O developers regarding the new OS.
Well, you must be already aware of Android O feature, it includes a new version of Android Testing Support Library that includes new features like Android Test Orchestrator, Multiprocess Espresso, and more. If your device is already enrolled in the Android Beta Program, then you will get an alert of Android O beta 4 preview. If you are fresher in the program, then you will have to visit the Android Beta page to enroll and get the Android 8.0 beta 4 on your device. Let me show you how to get Android O beta 4 (Android 8.0) on your Nexus or Pixel devices.
How to Download Android O Beta 4 on Nexus or Pixel Devices
Update 25th July 2017, if you are device is already enrolled for Android O beta program then you will get an Android O Beta 4 notification update within 24 hours. Make sure that your device is connected to the internet, you can check the update by navigating to Settings → About → System Update.
The following devices will support the Android O developer preview.
- Google Pixel
- Google Pixel XL
- Google Pixel C
- Nexus Player
- Nexus 5X
- Nexus 6P
If you have any of the devices mentioned above, you can simply download the official Beta 4 version of Android O. Here is the simple process to do the same.
Step #1. Go to the Android Beta Program Portal from your Pixel or Nexus phone or tablet.
Step #2. Sign-in to your Google Account associated with that smartphone.
Step #3. Scroll down to ‘Your eligible devices‘ and find the device you want to enroll the Beta program by tapping on ‘Enrol device’ option.
Step #4. Follow the prompts and accept the download.
Just in case of change of mind later and you want to leave the beta program, just press the button on the Android Beta program page and unenroll. Your smartphone will then receive an over-the-air update, and you will return to the Android 7.1.2 Nougat version. This process will erase your data, so we advise you to take a backup of the same.
How to Install the Android Developer Preview Factory images from the Command line
A Must Know Before You Move Ahead
Remember the Android O developer preview is just a factory image release and hence you just can’t simply go to the Android’s beta page and get your device updated. This is a very early form of Android O, and it is yet to be made available to the public at large. So, for a developer, which you are you first need to unlock your bootloader.
If you don’t have any knowledge on how bootloader works, then first gather it and then move further. If you have enough know how on bootloader then you can grab Android SDK from Android Development website and follow the instructions given there. Find adb and fastboot files in the Platform Tools folder and download them.
One more thing you should know is that the commands, we are going to furnish will be in on a Linux or Terminal or OS X platform, so for those developers using Windows they must not use ‘./‘ seen in this guide.
Enable Developer Settings and USB Debugging
So, if you are equipped with compatible devices and knowledge we talked about then let’s move forward.
Step #1. Go to Settings on your Nougat or Pixel phone and scroll down to About Phone/Tablet.
Step #2. Tap on ‘Build number’ option for seven times until it says “you are now a developer.”
Step #3. Go back to the Settings menu and now there will be a new option available saying ‘Developer options’ tap on it.
Step #4. Now you must have your developer options turned on and also the USB debugging as well.
Step #5. Enable OEM unlock by checking on it.
Step #6. Connect our device with your PC and click OK when you get a prompt on ‘Allow USB debugging’.
Note: Always allow access option is also a worthy selection for above process.
If you have purchased your Nexus or Pixel device directly from Google, then you can directly unlock the bootloader. If you want to do this process manually, then follow the process given below.
Step #1. First, you need to do Boot into your Bootloader. Manually turn off your phone or tablet and hold down the power button and volume button and then enter your device’s bootloader menu, or you can also enter following commands into your terminal or command prompt.
Step #2. ./adb devices – After entering this command if it returns a string of characters then it means that you can now start updating your device.
Step #3. Enter this command: ./adb reboot bootloader
Note: If you have unlocked your bootloader in the past and never locked it back then it should be in that state only, but if it is locked then you need to unlock your bootloader. Remember in Nexus unlocking bootloader means Factory rest, so you need to take the backup of your data first.
If you have got the backup, then hit the power button when ‘Start’ is highlighted in the bootloader menu.
Now your device will be boot back to normal, and you need to unlock your bootloader.
Step #4. Use this command: ./fastboot flashing unlock
Step #5. Now a dialogue will appear asking that are you sure about unlocking? If you are ready to do another Factory Reset of your device then press the volume up button and the power button to confirm and if you want to back out then press the power button to select No.
Step #6. Enter ./fastboot reboot-bootloader to make sure whether everything is working fine or not.
Flashing the Stock Firmware Image
With your bootloader now unlocked, you need to head over to Factory Images page to Flash Android O image.
Step #1. Download the latest factory image available and uncompress the file in the Platform Tools folder, which you already downloaded.
Step #2. Make sure that you are still on bootloader menu and your bootloader is still unlocked. You also need to check whether your computer is communicating well with your phone or tablet.
Step #3. Once you are sure to enter this command: ./fastboot devices to start updating your device.
Step #4. Enter ./fastboot flash bootloader [bootloader file].img to flash the updated bootloader
Step #5. Enter ./fastboot reboot-bootloader. There will be a dialogue in your terminal or a prompt, but you will not see anything on your phone or tablet. When the flashing the bootloader is done, you will be reboot back into the bootloader to make sure that things are going correctly.
Step #6. Use this step only if you are updating the firmware of a phone or tablet which has cellular radios built in. Enter ./flashboot flash radio [radio file].img and also ./flash reboot-bootloader.
Step #7. Now it’s time to flash actual system image to your phone or tablet, so enter ./flashboot –w update [image file].zip
Note: This will wipe your device so if you don’t wish to wipe your device then remove ‘-w’ from above command. Don’t worry the update will still take place just that it will not wipe your user data.
Now let the process go through its process and let it restart and boot up normally. For the first time, it will take some time but once you are greeted with the device setup just go through the process, and you will know that you have successfully flashed a new version of the firmware.
Reverting to Android Nougat
If you need your original OS back and thus you need to re-install Nougat, the process is very easy. Just find the right system image compatible with your smartphone or tablet and go through the same process above. The only change is that you need Android Nougat Image.
Also Read: How to Download & Install Android 7.0 Nougat