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

Search This thread

ZellZoy

Senior Member
Apr 7, 2016
97
7
Hi. When I try this, I get an error. First command works fine but second does not. here are results:

C:\WINDOWS\system32>fastboot getvar current-slot
current-slot: a
finished. total time: 0.005s

C:\WINDOWS\system32>fastboot --set-active=b
fastboot: unknown option -- set-active=b

Does anyone know what I'm doing wrong? My drivers are set to the ones I had downloaded when I unlocked the bootloader, Android ADB Interface. I am on Android 13

EDIT: ok I figured out the issue. Apparently my PC was using an old version of fastboot even though I was opening the prompt in the folder of the new one. I moved the newer fastboot to replace the old one and the set-active command prompt worked, however I now get stuck here:

C:\WINDOWS\system32>fastboot flash boot_b [PATH]\boot.img
Sending 'boot_b' (0 KB) FAILED (File is too large to download)
fastboot: error: Command failed

EDIT 2: OK figured out another step. Apparently the zip didn't properly extract? I tried downloading it again and I still can't extract it I get an unexpected end of data error
EDIT 3: Redownloaded the file as a regular file instead of a zip, flashed that successfully.

I then ran
fastboot reboot recovery

which seemed to reboot my phone into the regular OS rather than recovery mode.
If I attempt to reboot into recovery again, I seem to get the stock recovery rather than TWRP

Also can you please explain the last line:
Once you're done head to the reboot menu and change to the other slot and reboot back to system

I'm not sure what that means.

Thanks for the guide.
 
Last edited:

Ainz_Ooal_Gown

Senior Member
Feb 3, 2013
3,995
1,769
28
Los Osos
Sony Xperia 1 III
Google Pixel Watch
Hi. When I try this, I get an error. First command works fine but second does not. here are results:

C:\WINDOWS\system32>fastboot getvar current-slot
current-slot: a
finished. total time: 0.005s

C:\WINDOWS\system32>fastboot --set-active=b
fastboot: unknown option -- set-active=b

Does anyone know what I'm doing wrong? My drivers are set to the ones I had downloaded when I unlocked the bootloader, Android ADB Interface. I am on Android 13

EDIT: ok I figured out the issue. Apparently my PC was using an old version of fastboot even though I was opening the prompt in the folder of the new one. I moved the newer fastboot to replace the old one and the set-active command prompt worked, however I now get stuck here:

C:\WINDOWS\system32>fastboot flash boot_b [PATH]\boot.img
Sending 'boot_b' (0 KB) FAILED (File is too large to download)
fastboot: error: Command failed

EDIT 2: OK figured out another step. Apparently the zip didn't properly extract? I tried downloading it again and I still can't extract it I get an unexpected end of data error
EDIT 3: Redownloaded the file as a regular file instead of a zip, flashed that successfully.

I then ran
fastboot reboot recovery

which seemed to reboot my phone into the regular OS rather than recovery mode.
If I attempt to reboot into recovery again, I seem to get the stock recovery rather than TWRP

Also can you please explain the last line:
Once you're done head to the reboot menu and change to the other slot and reboot back to system

I'm not sure what that means.

Thanks for the guide.
Your System and Stock Recovery are on one Slot and TWRP is on the other Slot...
 

ZellZoy

Senior Member
Apr 7, 2016
97
7
for now,


for now, i wasn't recommend to use my twrp yet (i was working on new one with am2cute being my quite active tester right now

trying to made it works with android 13 firmware and rebase tree for vendor_boot
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...
 

loipuru

Senior Member
May 1, 2021
158
169
Bangkok
Xiaomi Mi A1
Xiaomi Mi 8
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
 
  • Like
Reactions: steso90 and ZellZoy

ZellZoy

Senior Member
Apr 7, 2016
97
7
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
Hmm I'll have to take another look. I tried installing the magisk apk and it didn't give me the option to patch like my last phone did. Would you happen to have a guide for this phone or maybe just a more up to date one? I have not rooted since android 9

Every guide I'm finding seems to require the stock boot.img and I can't find that for this phone

edit: Found and followed this guide
successfully
 
Last edited:

steveglowplunk

Senior Member
Sep 15, 2015
296
104
Are there any plans to fix the USB OTG feature? Or are we still not recommended to use this recovery until an update?
 

cscomic

Member
Aug 18, 2013
25
5
LG V50 ThinQ
Sony Xperia 5
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
It seems link is unavailable now
 

loipuru

Senior Member
May 1, 2021
158
169
Bangkok
Xiaomi Mi A1
Xiaomi Mi 8
so, here's boot.img one https://drive.google.com/file/d/1H7iQbwGJqZ-yjpFgf-ymFfhI1L0UP4-V/view?usp=share_link

but keep it in mind that this CANNOT use to flashing any custom rom, including magisk. only for access data on stock rom only

- modify /data isn't working due to rc=0 error
- module loading isn't works either
- decrypt data only works on A slot

full explanation

i didn't have device, and i didn't got any promise for money to buy device either. everything rely on testers

for someone who want to donate for buying device here's paypal (right now i don't need testers, i need a real device. cost me around 560$ here

or pm if someone want to send me a device *especially usa, due to having cheap service to send it to here*, i'll made good use for it)
 

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)