[Sony Xperia 1 ROMs, Kernels, Recoveries, & Other D] se.developers:
TWRP Xperia 1 & 5

By Ferdian™

Hello everyone.

I'm trying to build TWRP for Xperia 1 on based android 11.

which one this device does not have TWRP support for android 11.

I've tried several TWRP and unfortunately

can't Install zip or for backup anything.

even I can't booting into system.

so I tried to build it and booted successfully,

I've tried it on my own device (Xperia 1 DoCoMo) and it worked fine.

so, if you want try to Install it,

don't forget to backup / prepare

your original boot.img,

just in case if it can't booting into the system. :)

/*
* Your warranty is now void.
*
* We're 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 recovery
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/

Please, if you are successful in installing it on your device,

leave a comment with the device you are using, so I can confirm and help other users not to hesitate

Tested on Xperia 1 Docomo, AU, GLOBAL

and Softbank (Cross Flash Softbank to AU)

and also in any Custom Roms 12.1/13/14​

How to Flash TWRP :

1. Unlock your bootloader

2. Open your CMD and run on fastboot

then type this command :

fastboot flash boot twrp-11.img

3. if you done, remove USB from Phone

4. then press and hold Power and Vol down (-) button.

* (don't release it for the first time before logging into splash TWRP, to make sure that it's installed properly.)

5. and you will enter into TWRP

How to Flash ROM Flashable :

same as usual :p

How to Flash ROM OTA (Payload.bin) :

1. download the latest version of TWRP (>V.10)

because on average some developers make special ROMS for J9110 and J9210 codes. then need a script to change the device name. and I also don't understand why ota accert doesn't work.

2. Flash with Fastboot method or reboot into TWRP and flash my latest TWRP from Flash Image

3. you need reboot back to recovery first. (you can skip if using fastboot)

4. then Flash ROM_OTA.zip (Payload.bin)

NOTES: (choose which slot you want to install it)

if you want to install it in slot A. you have to reboot to slot B first then reboot to recovery. and vice versa

every time you change the slot, reboot to recovery is required.

because flash ROM_OTA is different from the usual flashable ROM zip. this is same as adb sideload, which fills the empty slot to install.

5. when done. do a re-flash of my TWRP in both slots, so as not to be replaced by recovery ROM and make you confused. and then you can reboot into recovery now. it will automatically switch the previously filled slot (A or B)

6. Flash the vbmeta that has been patched here

7. Flash dtbo (if required)

8. Flash Kernel (if required)

9. then Flash Gapps and Magisk (optional)

10. Swipe to Factory Reset / Wipe data

(if not booting, sometimes requires a Format Data)

see bugs list if it fails to Format Data

Notes: If you use ROM LineageOS from Voidanix or ROM based from that. you need to change the kernel. due to kernel differences, touchscreen will not work and sometimes bootloop in that ROM. You can download and flash the kernel from TWRP here (February build)

if there is a new build you have to change the kernel for yourself.

ADDITIONAL : there may be some ROMs that change the device code name such as in MIUI 14 (missi) which confuses TWRP

and will fail during OTA flash or adb sideload.

for the fix open the terminal in TWRP then type this code

XPERIA 1

resetprop ro.product.device J9110
resetprop ro.build.product J9110

XPERIA 5

resetprop ro.product.device J9210
resetprop ro.build.product J9210

and try to install the rom again, it should work.

if it still fails, try checking in the pre-device section

rom.zip/META-INF/com/android/metadata

if it's not J9110 or J9210. you have to match the code in the terminal with that code

because there might be more code names used for some ROMs out there.

due to the merging of TWRP X1 and X5. I have to filter it, which ROM is for X1 and X5. if it is separate I can force it for one code

CUSTOM RECOVERY

FOR X1 & X5 :

Spoiler content hidden.

Spoiler content hidden.

(Because twrp 11 can't decrypt Rom 12+.

so I separate the builds)

but TWRP 12.1 can decrypt android 11

No need format data to decrypt

but maybe in some roms even stock there are experience

Android Rescue Party triggers! Possible solutions?

or still encrypted. usually due to different keys or dirty data partitions.

the only way is to format the data first 🙃​

Bugs:

• Restore MODEM

NULL FSCRYPT. extractTarFork() process ended with ERROR: 255

• Format Data will not work until the encryption is erased!

(swipe to factory reset > reboot to recovery > Format Data.)

source code

: github

current status

: stable

If you want to support me, you can buy me coffee.

Paypal

BTC (BEP20) = 0xfb95d126c83e064e928d599132109bba7b772568

USDT (TRC20) = TXix2DiZrnBWqC4JgjJ8TaVjWzr1TnMRBi

For the Indonesian Region

Dana

Screenshots

​