Install Google Apps on AOSP Build

前端 未结 4 1129
广开言路
广开言路 2021-02-03 10:33

I have installed android-6.0.1_r72 AOSP Rom on a Nexus 5 device. The rom doesn\'t come with Google Apps.

I\'ve tried to install from the follow

4条回答
  •  被撕碎了的回忆
    2021-02-03 11:09

    andDevW's answer covers the details.

    Adding another way to do the second step. Instead of FLASHing FACTORY IMAGE AND PULL GENUINE GOOGLE APK,

    you can use simg2img to convert the system.img file into a mountable volume

    1. Use simg2img to convert your .img file into .raw file
    simg2img /home//../aosp/../out/system.img system.raw
    
    1. mount the raw file as an ext4 external file system volume
    sudo mount -t ext4 -o loop system.raw /system
    

    you will be able to navigate your system.raw image once mounted and you can access /priv-app and other directories to get the apks you need, in the mounted volume at /system.

    You can use this to get apks from system.img in factory image releases from Google.

提交回复
热议问题