Development [RECOVERY][UNOFFICIAL][3.7.0][PDX215] TWRP for Sony Xperia 1 III

Search This thread

Ainz_Ooal_Gown

Senior Member
Feb 3, 2013
3,995
1,769
28
Los Osos
Sony Xperia 1 III
Google Pixel Watch
Can this TWRP be flashed with "fastboot flash recovery XXXXXXXX"?
Sony devices use what is called "Recovery in Boot" meaning the recovery resides inside the boot partition. SInce there's no recovery partition to flash TWRP too and no way that i can see to add a recovery partition; which makes it much more difficult for the stock rom to boot with a custom recovery because the boot image fails validation.
 
  • Like
Reactions: younglu25

loipuru

Senior Member
May 1, 2021
158
169
Bangkok
Xiaomi Mi A1
Xiaomi Mi 8
ah okay, and if you typ fastboot boot twrp dont work either? anyway i hope you figure out a fix for twrp.

If there are anything i can help with (testing) im happy to help

fastboot boot "never" works on sony since xz3 afaik

for now only issues will be certain module won't load, cause partially hardbrick on vendor_boot (not affect on /boot but it made /data accessing useless)
 
  • Like
Reactions: steso90

Gionathan

Member
Jul 14, 2013
30
1
OP's download link is dead. Anyone got a mirror?
I already got LineageOS installed and everything's running well, so I just wanted to replace LOS' recovery with TWRP to make (and eventually restore, if needed) a NANDROID backup. Would that work?
I've read TWRP on this device has issues with the data partition, so I don't wanna risk a hard brick just for a backup that maybe I won't even need 😅
 

Top Liked Posts

  • There are no posts matching your filters.
  • 12
    Code:
    /*
    *Disclaimer
    *
    * 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 ROM
    * 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.
    */
    Working :
    • Boot
    • Decryption data
    • Flashing
    • Android 12/13 support

    Not working :
    • Vibration (involve driver loading which i'm inexperience about this)
    • otg

    Supported devices :
    • Sony Xperia 1 III
    Sony Xperia 5 III is currently work in progress

    Flashing Process :

    Code:
    1. Power off device
    2. Hold Vol + and plug it into PC
    3. fastboot getvar current-slot
    3. fastboot --set-active=(inactive slot)
    4. fastboot flash boot_(inactive slot) (path to boot.img)
    5. fastboot reboot recovery
    6. Once you're done head to the reboot menu and change to the other slot and reboot back to system

    Download : Link

    Special Thanks :
    - Hellobbn for testing and kernel
    - @Ainz_Ooal_Gown for testing
    - @Sakuu for testing and instruction
    - @Miustone for some hints, and testing

    Source :


    Twrp Device tree
    Kernel Source

    Donation : Paypal
    2
    Err I see. Does that mean I'm not getting root on it? Kinda bought the phone assuming I could based on the bootloader unlock option and the various threads here...

    there's plenty ways to get root, after you unlock bootloader (eg: magisk boot patch)

    right now twrp is kinda like work in progress till i manage to get vendor_boot to works on a12 and 13, once i get that twrp will be a lot safer
    2
    But do I understand it right, that you therefore can't use TWRP to modify your stock rom?
    There is an easy solution for that. Flash TWRP to the active slot. Follow My Guides to make a Magisk Boot Image and flash the Magisk Image after using TWRP within TWRP (select image).
    To use TWRP use ADB again. You can also change Slots using TWRP or Apps made for that to get around the bootloops. Not sure about the encryption but my Xperia 1 III has decryption no matter on which slot i flash.

    We can also trying to fiddle around with that:
    1
    Oke and where can i get them, any link ?
    From this thread https://forum.xda-developers.com/t/...re-and-gsi-rom-flashing-without-twrp.4344371/

    You should honestly have both the Google Driver's and the Sony Xperia 1 III driver's....
    1
    ah okay, and if you typ fastboot boot twrp dont work either? anyway i hope you figure out a fix for twrp.

    If there are anything i can help with (testing) im happy to help

    fastboot boot "never" works on sony since xz3 afaik

    for now only issues will be certain module won't load, cause partially hardbrick on vendor_boot (not affect on /boot but it made /data accessing useless)