How to install Android Pie 9.0 on Raspberry Pi 4 Model B

In this segment, we are going to show you how to install “Android Pie on Raspberry Pi 4 Model B with Gapps”

Visit KonstaKANGOfficial Website for more Cool Stuff

What is Android Pie?

Android Pie (codenamed Android P during development) is the ninth major release and the 16th version of the Android mobile operating system. It was first released as a developer preview on March 7, 2018, and released publicly on August 6, 2018.

Source /> Wikipedia

Software Required :

Equipment Required Optional
Raspberry Pi
Raspberry Pi 4 Case
SD_Card SD Card    
Ethernet Ethernet Cable    
Charger
Power Adapter    
Raspberry Pi Keyboard    
Mouse    
Shop now

Raspberry Pi 4 Kit’s

Active Cooling Solutions

Passive Cooling Solutions

Compatible Mini Keyboard & Air Remote

We may earn a commission for purchases using our links. Learn more.

Watch our latest Video

Plasma Bigscreen – Android TV Replacement for Raspberry Pi 4

STEP- 1: Downloading & Installing “Android Pie on Raspberry Pi”

  • First of all, we need to download the “Android Pie” image to setup Raspberry Pi.

Formatting the SD Card

  • Now, We need the SD Card Formatter tool to format the SD card.
  • Once, the card is plugged in, It will automatically detect by the computer then you need to click on the format to format the Card.

SD Card Formatter

Flashing the SD Card

  • After the SD Card formatted successfully use Etcher and flash the Android Pie image to the SD card.

etcher

 

Insert the SD Card to Raspberry Pi

  • Once the card successfully got flashed then plug it in the Raspberry Pi. Follow the setup wizard to boot into Android Home Screen.

STEP- 2: Downloading Open Gapps

Visit the Official Open Gapps Website

  • Select the Package as shown in the picture for minimum apps requirement. After that click on the download button to download the file.

Android Pie

STEP-3 : Enabling “Developer Options”, “Root Access”, “Terminal”

Enable Developer Options

  • To enable Developer Options, We need to navigate to Settings –> “About phone” –> Click “Build Number” several times.

Enable Root Access

  • To enable Root Access, We need to navigate to “Settings” –> “Developer Options” –> Enable “Root Access”.
Android Pie

Enable Terminal

  • To enable Terminal Access, We need to navigate to “Settings” –> “Developer Options” –> Enable “Local Terminal”.
  • Now, we need to reboot the device.
  • Press & Hold F5 key, this will bring Power Options and you can reboot the device.

STEP- 4: Boot into “TWRP Recovery Mode”

Boot Android into TWRP Recovery Mode

  • Open the Terminal App, Then type the below-given commands to Boot into “TWRP Recovery Mode”.
su
rpi4-recovery.sh
reboot

 STEP- 5: Boot out from “TWRP Recovery Mode”

Boot into Normal Mode

  • Mount –> Boot & Mount –> System, Then use the below-given command to Boot into Normal Mode.
rpi4-recovery.sh boot
  • Similarly, we can use the other method if the above method not working.
  • Navigate to install and select the file from the storage. i.e recovery2boot.zip
  • This file will boot our system into Normal Mode.

 STEP- 6: Installing Open Gapps in Android Pie

Boot Android into TWRP Recovery Mode

  • Open the Terminal App, Then type the below-given commands to Boot into “TWRP Recovery Mode”.
su
rpi4-recovery.sh
reboot

Now, navigate to install and select the file from the storage. i.e open_gapps-arm-9.0-pico-xxxxxxxxxxx.zip.

  • Now, once the installation finishes. Then go back and select wipe –-> Wipe Factory Reset

Boot into Normal Mode

  • Mount –> Boot & Mount –> System, Then use the below-given command to Boot into Normal Mode.
rpi4-recovery.sh boot
  • Similarly, we can use the other method if the above method not working.
  • Navigate to install and select the file from the storage. i.e recovery2boot.zip
  • This file will boot our system into Normal Mode.

STEP- 7: Google Play Store Sign in issue

  • First of all, we need to download the Device ID APK.
  • After that, we need to copy Google Service Framework (GSF).

Device ID

uncertified

  • Once this process finishes, please go ahead and restart the system using the F5 key.

Step- 8: Optimize Android Pie 9.0

  • First of all open settings and navigate to Apps & Notifications. Here you need to disable all the apps which you don’t need or require.
  • After that we need to open Developer options from Settings –> System –> Developer Options and change the below-given settings.
Don't keep activities : Turn on
Windows animation scale : Animation off
Transition animation scale : Animation off
Animator duration scale : Animation off

 

Thanks to KonstaKANG for his Cool Stuff. Please support his work.

In conclusion

  • You are ready to use Android Pie on your Raspberry Pi 4.
  • If you come across any issues or have some feedback related to this tutorial,
  • Please share your thoughts. Smile (“_”)

Please check out my other articles:

Did you find us helpful?

Subscribe our YouTube Channel YouTube
Support us on Patreon Patreon
Like us on Facebook facebook
Share This Article with others

Harish Kumar

As a founder of the PcMac YouTube channel and website, Our goal is to provide Free Technical help to people and spread knowledge to everyone.
0 0 votes
Article Rating
Subscribe
Notify of
guest
13 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
clinic
4 years ago

Very good blog! Do you have any hints for aspiring writers?
I’m planning to start my own website soon but I’m a little lost
on everything. Would you propose starting with a free platform like WordPress or go for a
paid option? There are so many options out there that I’m totally confused ..
Any suggestions? Cheers!

buggie
buggie
4 years ago

Hi. Something doesn’t work for me. I’ve done every step from your tutorial (only I choose ARM – 9.0 – tvstock). Installed correctly gapps. Wipe factory reset, mount boot partition and executed rpi4-recovery.sh boot and reboot. Now system freezed during booting. It looks like system is starting but it’s booting on and on

Klaas
Klaas
4 years ago

That worked like a charm. I have one issue, I have a 7” touchscreen with an enclosure, the problem is that the screen is 180 degrees rotated. The same is true for Raspbian and that can be easily fixed, I have no idea how to do that in Android though, any idea?

Lela
4 years ago

Peculiar article, totally what I was looking for.|

Lakshmikanth
Lakshmikanth
4 years ago

Hi ,

Thank you for guiding on this.. Problem is with sound output to HDMI . My Monitor has speaker and not able switch the audio from TV to 3.5 out or bluetooth.

Any suggestions to get audio working with 3.5 or bluetooth ?

Rich
Rich
4 years ago

Love the tutorial, thanks for putting this together. I am stuck at Step 5. When I type reboot after su-recovery.sh, I only get the rainbow screen. Do you know what I did wrong and how to fix it? My monitor has multiple res settings so I don’t think that’s the issue…

Random Projects
Random Projects
3 years ago

hi im from india
my rpi4 is not booting to os
it is going to twrp without me doing anything
i tried all commands
still it is not working from june
i think some usb firmware update did the problem
it boots fine on other os
please help

Random Projects
Random Projects
3 years ago

Hi if i just boot my rpi4 with lineage os 16 it goes to twrp and when i try rpi4.recovery.sh boot it says no command available. is my rpi 4 have hardware issues or it a software problem. plz help me it dosnt work. im using an sandisk ultra 128 sd card( formatted to ntfs so it works. it worked before i did the usb mod.)but after the mod it dosnt work. plz help.