[Sony Cross-Device General] AdrianDC:
​

#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/

About the project

Boot Bridge for Sony ELF is born out of an idea to create support

of systemless tools like SuperSU on the Sony ELF bootimages.

The structure being different from regular Android boot partitions,

these tools never worked to edit the content of the boot image

present on devices like the Xperia SP, T, TX, V, ...

Boot Bridge for Sony ELF allows you to choose the systemless zip

by simply replacing the file install/install.zip with the one to flash.

Warning: BootBridge for Sony ELF is meant to be used on custom ROMs.

For stock ROMs, you'd need to patch the ROM (bootimage securities) first.

Please refer to the currently supported devices list in the second post.

When you flash the Boot Bridge zip, a fake regular bootimage is created

with the contents of the original ELF partition, mapped in the fstab,

then the install.zip is automatically flashed as if you did yourself,

and finally the ELF partition is updated accordingly.

Boot Bridge for Sony ELF also supports being used with MultiROM secondary ROMs.

The project is an extension of the libbootimg originally created by Tasssadar,

that I then reworked to add Sony ELF boot support for Xperia MultiROM.​

Downloads (Unlocked Bootloader only)

BootBridge-SonyELF.zip : https://github.com/AdrianDC/android_boot_bridge/blob/master/release/BootBridge-SonyELF.zip​

Preview of the installation

​

OPTION 1)

Root with Magisk by topjohnwu

Magisk (Latest version) : https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445

Rename the downloaded zip to install.zip

Open the Boot Bridge zip with a zip manager

Replace the file install/install.zip with the new one

Flash the new Boot Bridge zip in the TWRP recovery

Reboot to Android

OPTION 2)

Root with SuperSU by Chainfire

In order to get root access on AOSP based ROMs (2.78 SR5 or newer for 7.1.x),

you need to download the SuperSU project by Chainfire.

SuperSU zip (Latest version) : http://xdaforums.com/apps/supersu

Rename the downloaded zip to install.zip

Open the Boot Bridge zip with a zip manager

Replace the file install/install.zip with the new one

Flash the new Boot Bridge zip in the TWRP recovery

Reboot to Android

OPTION 3)

Root with phhSuperUser by phhusson

In order to get root access on AOSP based ROMs (7.1.1 included),

you need to download the phhSuperUser project by phhusson.

superuser.zip : http://xdaforums.com/android/software-hacking/wip-selinux-capable-superuser-t3216394

Rename the downloaded zip to install.zip

Open the Boot Bridge zip with a zip manager

Replace the file install/install.zip with the new one

Flash the new Boot Bridge zip in the TWRP recovery

Reboot to Android

Install the phh's SuperUser application

Source code

Project sources - https://github.com/AdrianDC/android_boot_bridge (branch master)

libbootimg sources - https://github.com/AdrianDC/multirom_libbootimg (branch master)

MultiROM sources - https://github.com/AdrianDC/multirom_core (branch master)​

Boot Bridge for Sony ELF created also thanks to :

- Tasssadar for the original libbootimg / MultiROM sources

- The XperiaMultiROM team for our evolution of MultiROM

- Chainfire for the flashable OUTFD export and boot detection

- Everyone involved in testing it​

XDA:DevDB Information

Android Boot Bridge for Sony ELF, Tool/Utility for the OEM Cross Device Development

Contributors

Adrian DC

Version Information

Status: No Longer Updated

Created 2016-11-25

Last Updated 2020-08-29