Home > ROMs > Custom ROMs

How to Always Boot to GSI ROM after Restart via DSU Sideloader

In this guide, we will show you the steps to always make your device boot to GSI ROM after restart via DSU Sideloader. There are still quite a few devices out there that don’t have active support for custom ROMs. The newest entry to this unwanted domain is the devices from OnePlus [10 series onwards], owing to issues with MSM Tool. Apart from that, you would see little to no custom development for the less popular devices as well.

This is where the need for a Generic System Image comes in handy. If your device is Project Treble compatible, then you could easily welcome abode a plethora of GSI ROMs onto your device, including the likes of LineageOS and Pixel Experience. However, flashing these ROMs has always proved to be a tough nut to crack.

Boot to GSI ROM via DSU Sideloader

But thanks to DSU Sideloader, you could easily install any GSI ROM of your choice without the need to execute any command. However, there is one important point worth mentioning- DSU Sideloader will not replace your existing ROM, it will simply flash the GSI ROM to the other system partition. You just need to do a restart and the device will switch between both these ROMs [kind of a dual boot].

However, there are a few users out there who want their device to straightaway boot to the GSI ROM upon a device restart, instead of toggling between the stock/custom and GSI ROMs.If you are also of the same opinion, then this guide will show you the steps to get this job done. Follow along.

How to Always Boot to GSI ROM after Restart via DSU Sideloader

Boot to GSI ROM via DSU Sideloader after restart

  1. First off, download and extract Android SDK Platform Tools on your PC.
  2. Enable USB Debugging on your device and connect it to PC via USB cable.Boot to GSI ROM via DSU Sideloader
  3. Now type in CMD in the platform-tools folder address bar and hit Enter.
  4. Then type in the below command [you’ll then get a prompt, tap OK/Allow]
    adb shell

    Boot to GSI ROM via DSU Sideloader

  5. Finally, type in the below command to make your device reboot to GSI every time.
    adb shell gsi_tool enable

How to Undo this Change

If you want to revert the DSU Sideloader to its earlier working state i.e. switching between stock/custom and GSI ROM after every reboot, then carry out STEPS 1 to 4 listed above and execute the below command:

adb shell gsi_tool disable

These were the steps to always make your device boot to GSI ROM after a restart via DSU Sideloader. If you have any queries concerning the aforementioned steps, do let us know in the comments. We will get back to you with a solution at the earliest.


Share: