[UNOFFICIAL] [TWRP] [PDX206] twrp for sony xperia 5 ii [FBEv2]

Search This thread

loipuru

Senior Member
May 1, 2021
93
64
Bangkok
Xiaomi Mi A1
Xiaomi Mi 8
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 :
  • Basic twrp features
  • partially dual boot (different rom can be boot on both slots but still share same userdata, recommend to use fastboot method)
  • Decryption only support for fbev2 rom (example is some older rom, and kyasu lineageos)
  • otg / sdcard
Issues / Notes :
  • vibration is really wonky (which only happened on twrp, not orange fox) not quite fix, but it's stable enough to confirm
  • you might need to reflash rom "once" after you boot into recovery (flash twrp > boot to twrp > reboot to system (you'll see system corrupt) then reflash same rom that you currently using (via fastboot or twrp if rom support), after that it'll be fine. only on custom rom, stock is fine)
  • doesn't works with kyasu lineage due to using device model as ota assert (different than twrp ota assert, which is pdx206) fixed in latest build
  • doesn't support stock, due to different decryption key
  • ext4 only, no erofs and other models for now (1 ii and pro might release later, busy working new device tree for kumano)
  • format data, before flashing any rom (unless you doing a dirty flash)
  • For Stock users, use THIS TWRP instread this one
Big thanks :
  • most users on telegram for testing
  • christopher, for send me the device
  • clfbbn for kernel source
  • skkk (sekaiacg) for base device tree
Download : Link

device tree :
donation :
  • contact me via pm due to paypal is no longer able to receive money here
 
Last edited:

loipuru

Senior Member
May 1, 2021
93
64
Bangkok
Xiaomi Mi A1
Xiaomi Mi 8
Sorry, but I didn't understand with which ROM(s) and version does this TWRP works.

tl;dr
- twrp works on android 12 (but decryption doesn't works on stock)
- twrp can't install lineageos (due to different device target, mine use pdx206 and lineage uase xq-as72)

(we're already discussed about device ota on dev group, so i'll use pdx206 for now, more custom rom in future will use pdx206 as target device)
 

Yoannjap

Senior Member
Sep 20, 2017
77
10
Sony Xperia 5 II
Ok then, I am a real noob, I don't understand what does mean "PDX206".

I don't understand what you mean saying ‘due to different device target, mine use pdx206 and lineage uase xq-as72’.

To me, the XQ-AS72 is the code of the South Asian variant of Xperia 5 ii, whereas XQ-AS62/52/42 other variants.

Whereas PDX206 is just a codename meaning Xperia 5 ii (whatever variant of XQ-ASXX it is) used by I dunno who.

Am I wrong?
 

loipuru

Senior Member
May 1, 2021
93
64
Bangkok
Xiaomi Mi A1
Xiaomi Mi 8
Ok then, I am a real noob, I don't understand what does mean "PDX206".

I don't understand what you mean saying ‘due to different device target, mine use pdx206 and lineage uase xq-as72’.

To me, the XQ-AS72 is the code of the South Asian variant of Xperia 5 ii, whereas XQ-AS62/52/42 other variants.

Whereas PDX206 is just a codename meaning Xperia 5 ii (whatever variant of XQ-ASXX it is) used by I dunno who.

Am I wrong?

it's ota assert (in this case, target_device) that custom rom is set when flashing (to avoid flashing into wrong device)

lineage has been set for xq-as72 as default (don't confuse with device variants, ota assert or target_device doesn't affect with device variant that you use)

and twrp have been set to pdx206 (which is device codename for 5ii) so that's main reasons why it can't flash lineageos (but you can still access data normally)
 
  • Like
Reactions: Yoannjap

Top Liked Posts

  • There are no posts matching your filters.
  • 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 :
    • Basic twrp features
    • partially dual boot (different rom can be boot on both slots but still share same userdata, recommend to use fastboot method)
    • Decryption only support for fbev2 rom (example is some older rom, and kyasu lineageos)
    • otg / sdcard
    Issues / Notes :
    • vibration is really wonky (which only happened on twrp, not orange fox) not quite fix, but it's stable enough to confirm
    • you might need to reflash rom "once" after you boot into recovery (flash twrp > boot to twrp > reboot to system (you'll see system corrupt) then reflash same rom that you currently using (via fastboot or twrp if rom support), after that it'll be fine. only on custom rom, stock is fine)
    • doesn't works with kyasu lineage due to using device model as ota assert (different than twrp ota assert, which is pdx206) fixed in latest build
    • doesn't support stock, due to different decryption key
    • ext4 only, no erofs and other models for now (1 ii and pro might release later, busy working new device tree for kumano)
    • format data, before flashing any rom (unless you doing a dirty flash)
    • For Stock users, use THIS TWRP instread this one
    Big thanks :
    • most users on telegram for testing
    • christopher, for send me the device
    • clfbbn for kernel source
    • skkk (sekaiacg) for base device tree
    Download : Link

    device tree :
    donation :
    • contact me via pm due to paypal is no longer able to receive money here
    1
    Ok then, I am a real noob, I don't understand what does mean "PDX206".

    I don't understand what you mean saying ‘due to different device target, mine use pdx206 and lineage uase xq-as72’.

    To me, the XQ-AS72 is the code of the South Asian variant of Xperia 5 ii, whereas XQ-AS62/52/42 other variants.

    Whereas PDX206 is just a codename meaning Xperia 5 ii (whatever variant of XQ-ASXX it is) used by I dunno who.

    Am I wrong?

    it's ota assert (in this case, target_device) that custom rom is set when flashing (to avoid flashing into wrong device)

    lineage has been set for xq-as72 as default (don't confuse with device variants, ota assert or target_device doesn't affect with device variant that you use)

    and twrp have been set to pdx206 (which is device codename for 5ii) so that's main reasons why it can't flash lineageos (but you can still access data normally)
    1
    update,

    - add xq-xx72 for lineageos flashing

    the rest like /oem (for japanese variant) ltalabel and ta will come out later