Download Android P Beta For Xiaomi Mi A1

Android P is the upcoming ninth major version of the Android operating system. It was first announced by Google on March 7, 2018, and the first developer preview was released on the same day. The second preview, considered beta quality, was released on May 8, 2018. The third preview, called Beta 2, was released on June 6, 2018. The fourth preview, called Beta 3, was released on July 2, 2018. 

The newest version of the Android family promises to bring in many changes to the user interface and under the hood. Many resorts to calling the aesthetic changes as Google’s new design philosophy i.e Material Design 2.0. Apart fr0m changes to the visual aesthetics, Google introduced the gesture-based navigation system which is targeted to replace the ongoing on-screen button-based navigation system. While we’re all busy arguing about Android P’s gestures and new aesthetics, everyone seems to have forgotten about Google’s labor in Project Treble to bring faster updates to Android devices which were always criticised for slow update mechanism. Thanks to Project Treble, today we are seeing certain phones from manufacturers like Essential, Nokia, Sony, Vivo, Oppo, OnePlus and Xiaomi being a part of the official Android P Beta Project.
A couple of days ago, we witnessed Android P Beta being unofficially ported to certain Project Treble supporting devices. To learn more about that, follow the link appearing below.

Last year, Xiaomi announced its first phone with stock android UI as a part of the Android One program. It is actually Xiaomi Mi 6X with stock Android experience. The Mi A1’s clutter-free, stock experience combines elegantly with tried and tested hardware, while the dual-camera capability gives you a premium feel on a budget. Xiaomi ticks all the right boxes with this affordable but feature-rich smartphone. And though it does not support Project Treble officially, an XDA developer, joeyhuab, managed to port Android P Beta based on Developer Preview 3  for Mi A1.

Steps To Install Android P Beta On Mi A1

  1. Enable Developer Options of your device in the Settings app.
  2. Under Developer Options, enable OEM unlocking.
  3. Reboot your device in fastboot mode.
  4. Unlock your device’s bootloader. Visit the link appearing below for a detailed guide to unlock Mi A1’s bootloader.
  5. Install TWRP Recovery on your Mi A1. Visit the link appearing below for a detailed guide to install TWRP recovery.
  6. Reboot to TWRP Recovery.
  7. Go to ‘Wipe’ and then select ‘Advanced’ and click on “Format Data”. This step will format all your data in the internal storage.
  8. Now, go to ‘Advanced’  and click on  Tissot Manager and choose the repartition user data option. Select single boot option then click repartition.
  9. Download Vendor.img and flash it as vendor image.
  10. Mount Vendor Partition.
  11. Flash A/B system GSI img as a system image.
  12. Flash the following to fix Bluetooth and Fingerprint sensor issues.
  13. Flash a treble compatible kernel like Moun or ProjectK  or Velocity
  14. Under Tissot Manager, select patches. Once there, patch the SELinux mode and set it to Permissive.
  15. Update your bootloader/modem firmware files to the ones from the July 8.1 stock ROM update. Flash through TWRP as well.
  16. Reboot to system.
  17. Once booted, install the latest Play services linked above either via the Files app or via ADB. This will fix the Pixel Setup and Google Backup issues as well as allows you access to the Play Store without problems.

Bug Fixes

As this is an unofficial build of the beta build of the Android P beta, one can expect bugs, lags and hiccups. Certain bugs like issues with Google Assistant, Nav Bar, Speaker and Camera have been fixed.

  1. To make OK Google work, use Modem files via TWRP.
  2. To enable Nav Bar, install rajeev’s enabler via Magisk.
  3. If you are encountering issues with calls, flash this fix.
  4. For camera issues, try this fix.
  5. Fix for MTP Issue.
    1. Enable Developer Settings.
    2. Scroll down and find the ‘Default USB Configuration‘.
    3. Select ‘File Transfer‘.
    4. Done

Though some bugs have been fixed, some still persist. Some notable issues are issues with VoLTE connectivity, Fingerprint swipe gesture and Notification LED.

Final Thoughts

This is an incredible feat by XDA developer joeyhuab. Many congratulations and thanks to him for blessing us all with some Android P sweetness. I hope this article works the way it is intended to be. Let us know about your experience trying the unofficial port of Android P Beta based on DP3 on your Xiaomi Mi A1. In case I missed to mention anything, please let me know in the comments section down below.

Leave a Comment