Galaxy S9+ ‘star2lte’ /e/OS ‘Q’ dev AOSP Android 10

Sorry, all these commands are done inside TWRP just before the sideload. I assume what you are saying is a “factory reset” from inside the OS.

All these steps are to be done in TWRP right before you sideload /e/Q ROM via adb👇Ensure you are on a stock Android 10/Q ROM and you have USB debugging enabled in developer options before proceeding.

  1. Boot into TWRP. Now tap Wipe.
  2. Now tap Format Data and continue with the formatting process by typing “yes”. This will remove encryption and delete all files stored in the internal storage.
  3. Return to the previous menu and tap Advanced Wipe, then select the Cache, data and System partitions and then Swipe to Wipe.
  4. Sideload the /e/Q ROM .zip package:
  • On the device, select “Advanced”, “ADB Sideload”, then swipe to begin sideload.
  • On the host machine, sideload the package using: adb sideload filename.zip.

That’s it👆, done.