

When setting the next reboot to use a GSI, you can have the GSI stay installed To boot the system back into its original system image. Switch back to the device's original system imageĪfter you are done testing your app using the GSI, you can perform a cold reboot Inside the system notification drawer (see figure 1).Īt this point, you can do one of the following: A persistent notification that you can use to control DSU.Īfter DSU installs the GSI, a DSU menu appears as a persistent notification el KEY_SYSTEM_SIZE $(du -b system_raw.img|cut -f1) \Ī notification like this one shows the status of the installation.īoot into the GSI Figure 1. d file:///storage/emulated/0/Download/system_raw.gz \ Image: simg2img system.img system_raw.imgĪdb push system_raw.gz /storage/emulated/0/Download/

Use the followingĬommand inside your build tree to convert the image to an unsparsed Note: If you build your own GSI from source, or if you download a GSI fromĪnother image server, your GSI might not be unsparsed. This section describes how to install a GSI using DSU and the command line. Install GSIs using DSU and the command line Google has enabled DSU on Pixelģ and newer devices since the Android 10 Beta 4 release. Manufacturer’s support page for availability. DSU requirementsĭSU depends on the Android Dynamic Partition feature and requires the GSIs toīe signed by Google or your OEMs as a trusted system image.ĭSU is a feature provided by your device’s manufacturer. GSI so you can try GSI without risking corruption of the current system image.
