[UB][RECOVERY] TWRP v3.2.2 for Xperia Tablet Z [POLLUX/POLLUX_WINDY]

Search This thread

lm089

Senior Member
Jun 26, 2011
880
321
Munich
Sony Xperia Z1 Compact
OnePlus 6
Just got rid of Xperia Stock ROM on my SGP311, following instructions on LineageOS's pages. Everything worked nice including the installation of TWRP 3.2.3-0 like that from my Linux terminal:
Code:
adb shell
dd if=/sdcard/twrp-x.x.x-x-pollux_windy.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel
I then flashed LOS 15.1 Official + OpenGapps pico + Magisk V 18 from recovery. Finally booted into system, and all appears to be well.

There are only some things that are confusing me:
  1. [Solved] every time I boot into recovery all settings like language, timezone, 24hr clock etc. are forgotten; this is unlike my other Xperia (Z1c), running 3.2.3-0 as well
  2. when I try to create a Nandroid backup on my Z1c I can also select a recovery partition to be included in the backup; here on my SGP311 however this option is missing
  3. Is there a way to tell which partition twrp has been installed to? I know that I told system to install twrp*.img to FOTAKernel so I assume it's there. But not so sure in regards to my Xperia phone (Z1c); it's been a while that I installed twrp there, and from then on I applied updates from within recovery flashing the .img file
  4. [Solved] the standard key combinations upon boot (power + Vol-down) is booting up some (very basic) LineageOS recovery instead of tarp. Power + Vol-up just boots into system. Only way to boot into recovery is through the extended restart menu
(although I'm running this from a Linux installation I'm far from being an expert re: this OS, so please be a bit patient....)

EDIT: #1 just solved itself; after re-booting into recovery for the umpteenth time "suddenly" all settings are remembered; the other 2 questions remain, though

EDIT: #4 apparently solved as well, power + Vol-up now boots into twrp now. No clue why it wasn't working first... So basically everything's working now as expected.
Just for curiosity reasons I'd still would love to learn an answer to q #3
 
Last edited:

Rootk1t

Senior Member
Jun 2, 2013
2,118
870
Just for curiosity reasons I'd still would love to learn an answer to q #3
As sony devices from that era (2012-2013) don't have separate recovery partition, it it installed in dev/block/platform/msm_sdcc.1/by-name/FOTAKernel partition, which is used for OTA updates on stock ROM and is not used on custom ones.

P.S: official LOS 15.1 is not a bad choice, but i would stick to unofficial one from this forum, because it has built-in recovery in kernel, and some features that are not allowed, and i suppose will never be present in official builds, though it is a matter of taste.
 
Last edited:
Aug 10, 2017
37
5
can someone please help me out after I install magisk v19.3 twrp recovery is gone every time I go to recovery its all just black.
 

L.F.B.

Senior Member
Feb 29, 2012
818
356
Just a little doubt here... How to update Twrp wen new version?

Flash to boot or flash to recovery? Im on 16 pie ?

Edit.. Hey Master @Rootk1t where is your RR pie Rom from your signature? Im curious ??
 
Last edited:

DanOccupanther

New member
Aug 2, 2020
4
0
Hi, I'm trying to install LineageOS for the first time on Xperia Tablet Z SGP311 but I'm stuck trying to install TWRP.

I've been able to unlock bootloader, have USB debugging available, and can get into adb and fastboot through PowerShell

I'm following the instructions here: https://wiki.lineageos.org/devices/pollux_windy/install but when I get to:
fastboot flash boot twrp-x.x.x-x-pollux_windy.img

I get the error message:
error: Couldn't parse partition size '0x'.

I'm not sure if this is because I'm currently running Android 5.1.1, or to do with the recovery-in-boot arrangement of xperia devices, but i'm stuck.

Could anyone help with a fix?
 

hathesput

New member
Sep 19, 2020
1
0
TWRP boot issues

Hello everybody,

I face issues while booting TWRP.
Device:
Xperia Tablet Z pollux windy SGP312, Android Version 4.3, Build Number 10.4.1.B.0.109

So far done:
Device is routet with towelroot and the bootloader unlocked.
"adb device", reboot into bootloader and "flashboot device" are responding correct.
After "flashboot boot twrp.img" it shows flash successful, but after that nothing happens. LED is blue, screen black.
I tried with TWRP 2.6.3, 2.8.5, 3.2.1, 3.3.1, 3.4.0.

Is this a compatibility problem?
What happens when I use flashboot flash boot twrp.img?
Can I "destroy" the recovery partition, if the TWRP version is the wrong one for Android 4.3?
I couldn´t find a detailed explanation for that anywhere.
Please advise. Thanks a lot in advance
Philip
 

Rootk1t

Senior Member
Jun 2, 2013
2,118
870
Hello everybody,

I face issues while booting TWRP.
Device:
Xperia Tablet Z pollux windy SGP312, Android Version 4.3, Build Number 10.4.1.B.0.109

So far done:
Device is routet with towelroot and the bootloader unlocked.
"adb device", reboot into bootloader and "flashboot device" are responding correct.
After "flashboot boot twrp.img" it shows flash successful, but after that nothing happens. LED is blue, screen black.
I tried with TWRP 2.6.3, 2.8.5, 3.2.1, 3.3.1, 3.4.0.

Is this a compatibility problem?
What happens when I use flashboot flash boot twrp.img?
Can I "destroy" the recovery partition, if the TWRP version is the wrong one for Android 4.3?
I couldn´t find a detailed explanation for that anywhere.
Please advise. Thanks a lot in advance
Philip
Your command is wrong.

Code:
fastboot flash boot twrp.img
 

4everer

Member
May 2, 2011
7
0
London
Hi, I'm trying to install LineageOS for the first time on Xperia Tablet Z SGP311 but I'm stuck trying to install TWRP.

I've been able to unlock bootloader, have USB debugging available, and can get into adb and fastboot through PowerShell

I'm following the instructions here: https://wiki.lineageos.org/devices/pollux_windy/install but when I get to:
fastboot flash boot twrp-x.x.x-x-pollux_windy.img

I get the error message:
error: Couldn't parse partition size '0x'.

I'm not sure if this is because I'm currently running Android 5.1.1, or to do with the recovery-in-boot arrangement of xperia devices, but i'm stuck.

Could anyone help with a fix?


I had the same problem but later found it was due to fastboot command changed.

Bash:
fastboot flash:raw boot twrp-x.x.x-x-pollux_windy.img
worked for me. I found it when reading this article https://www.droidwin.com/fix-fastboot-error-couldnt-parse-partition-size-0x/
 

Top Liked Posts

  • There are no posts matching your filters.
  • 7
    http%3A%2F%2Fwww1-lw.xda-cdn.com%2Fwp-content%2Fuploads%2F2016%2F02%2FTWRP-final.png


    WARNING!
    TWRP builds version 3.2.1-0 and higher are not compatible with Android Lollipop (5.0/5.1.1) due to SELinux rejection


    OFFICIAL DOWNLOADS FOR POLLUX/POLLUX_WINDY :
    https://dl.twrp.me/pollux/ ,
    https://dl.twrp.me/pollux_windy/

    twrp-3.x.x-x-pollux.img , twrp-3.x.x-x-pollux_windy.img : Official TWRP image
    How to install : All informations available on TWRP.me




    DEVELOPMENT DOWNLOADS FOR POLLUX/POLLUX_WINDY :
    https://www.androidfilehost.com/?w=files&flid=202356
    twrp-3.2.x-x-pollux.zip , twrp-3.2.x-x-pollux_windy.zip : Flashable TWRP 3 to FOTA installer
    twrp-3.2.x-x-pollux.img , twrp-3.2.x-x-pollux_windy.img : Fastboot bootable TWRP 3 image
    cleaner-fota.zip : Flashable FOTA formatter (optional)




    HOW TO INSTALL EASILY TO FOTA :
    * (Optional) : Download the TWRP bootimage and flash it to boot
    fastboot flash boot twrpfilename.img
    * Boot to recovery : Enter the Recovery as usual
    * Flash to FOTA : Install the TWRP FOTA zip
    * (Optional) : Flash the ROM you want




    HOW TO INSTALL MANUALLY TO FOTA :
    * Bootimage : Download the TWRP bootimage you want to flash
    * File storage : Adapt the path and push the file to the device this way :

    Code:
    adb root
    adb wait-for-device
    adb push FullPathToTheRecovery.img /tmp/twrp.img
    * Flash : Extract the TWRP image to the FOTA partition
    Code:
    adb shell dd if=/tmp/twrp.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel
    * Reboot to recovery : adb reboot recovery




    ADDITIONAL LINKS :
    * Easy ADB and Fastboot for unexperienced users :

    https://xdaforums.com/showthread.php?p=48915118

    Thanks to the TWRP Team

    Current local manifest of the TWRP build
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- https://github.com/fusion3-common/twrp_development_sony -->
    4
    Oreo needs TWRP 3.2.x.x.
    Does the appearance of this thread mean that there are ongoing work on Oreo for Tablet Z?
    Yes, we are working on android 8.1.0 for all fusion3 devices :)
    4
    Is already out of date?
    I do not see any TWRPs for pollux*

    TWRP for pollux/pollux_windy is now officially maintained by me -
    https://twrp.me/sony/sonyxperiatabletzlte.html (pollux),
    https://twrp.me/sony/sonyxperiatabletzwifi.html (pollux_windy) :)
    4
    TWRP 3.4.0-0 was released.