This is on an Xperia XA2 H4113. Below is context and info that might be useful, actual questions are at the bottom.
Note: I’d never done any Android customization before. Sadly, things were fucky from the very beginning (and still are).
To start, the “recovery” mode (green LED) doesn’t have a menu with a little android guy, just a black screen. It didn’t seem to matter much though, and I’m always able to use the recovery mode with EMMA and restore the phone to factory settings.
(EMMA is a firmware flasher made by Sony - I was able to restore everything to complete default with it, unlike the firmware I tried from Newflasher. Super easy to use, everything is automatic. EMMA has now been removed from Sony’s site for some reason, but the installer is still archived on the Wayback Machine).
Anyways, the weird lack of recovery screen might be why the command
adb push twrp.zip / doesn’t work, and I have to do
fastboot boot twrp.img (while in bootloader mode) each time I want to use TWRP.
Something that was quite simple to fix in the end, but had me stumped for a very long time - each time I tried to do a backup in TWRP, it failed. It was trying to do make backup in “data/media/0/twrp” among a bunch of randomly named, encrypted folders. The fix was to open TWRP -> “Wipe” -> “Format data”, which removed the encrypted shit (along with all the saved media, pictures, whatever).
Now that I had a TWRP backup copied to my PC, it was time to install /e/. However, none of the commands such as
adb shell twrp sideload or
adb sideload e.zip or
adb reboot sideload work. Opening TWRP and using “Advanced” -> “ADB Sideload” doesn’t work either - it just stays stuck on the “Starting ADB sideload feature…” message.
I found some thread about “manually flashing” .zips if sideloading doesn’t work, but I’m not sure how to proceed here (I have a MicroSD card I could use, though?).
I’m also not sure how I could integrate rooting with Magisk during this install process, if that’s even possible. Is Magisk even the best rooting option? Maybe AddonSU?