[TWRP][EXPERIMENTAL] suzuran twrp 3.0

Search This thread

oshmoun

Senior Member
Aug 29, 2012
1,397
1,458
153
¯\_(ツ)_/¯
Hello people,

I was able to successfully build twrp 3.0 for suzuran (our device, duh!) and thought I'd share the recovery.img so you can test and see what works and what doesn't.
The recovery was built in a CM13 similar environment (PAC), so there might be some issues when working with stock kernel.
Since this is an experimental build (I tested main functionalities and they work, but didn't get down to the nitty-gritty), here's a small disclaimer:
By flashing or booting the attached recovery you're risking damaging you device, or losing the data on your device!
Neither I nor anyone else but YOU is responsible should any bad unintended problems appear!


If you're feeling adventurous then feel free to flash the recovery.img (along with Androplus kernel) and try the sweetness that is TWRP 3.0 :D :good:

Download link:
April 3, 2016 (3.0.1)
March 25, 2016
March 21, 2016
March 12, 2016

Known issues:
Temperature reading is botched
Crypto might not be working, like AT ALL
usb connection doesn't work (only if you use this recovery with Androplus kernel)

There could be more problems, which is why this is EXPERIMENTAL for now

And now let's get to the sources!
kernel:
[url]https://github.com/oshmoun/kernel/tree/aosp/LA.BF64.1.2.2_rb4.7[/URL]
device sources:
[url]https://github.com/oshmoun/device-sony-suzuran/tree/master[/URL]
[url]https://github.com/oshmoun/device-sony-kitakami/tree/master[/URL]
[url]https://github.com/SonyCM/device-sony-common/commits/cm-13.0[/URL]

And now to thank the people who helped in this endeavor:
TWRP team for the awesome recovery!
@nilezon for the TWRP flags (which I still need to go through to check if I missed/need anything, especially crypto flags...)
FXP team for device sources, Especially @adfad666
All of the Sony AOSP contributors, they're awesome people!
 
Last edited:

oshmoun

Senior Member
Aug 29, 2012
1,397
1,458
153
¯\_(ツ)_/¯
E5823, version 32.1.A.1.163, bootloader unlocked, in fastboot mode, using command "fastboot boot TWRP3.img".
And it stucks at SONY logo.:confused:

this is really weird, did the MM update also change something in the bootloader in an inconvenient way?
Could you try the other recovery.img from nilezon's thread? If that boots using "fastboot boot recovery.img" then we'll know the problem is somewhere in the .img itself

EDIT: oh, also could you please check if your download wasn't corrupt? Here's the md5 hash of the file so you can check
69650eaccdd8b24a3efc0ef1b4bdffb8
 

iMaeGoo

Member
Jan 22, 2016
32
14
0
Shanghai
www.imaegoo.com
this is really weird, did the MM update also change something in the bootloader in an inconvenient way?
Could you try the other recovery.img from nilezon's thread? If that boots using "fastboot boot recovery.img" then we'll know the problem is somewhere in the .img itself

EDIT: oh, also could you please check if your download wasn't corrupt? Here's the md5 hash of the file so you can check
69650eaccdd8b24a3efc0ef1b4bdffb8

69650eaccdd8b24a3efc0ef1b4bdffb8
The img's MD5 is right.
I'll try to boot Z5C_TWRP_152_v2_nilezon on my device later.
It worked before I upgraded to MM.
 
  • Like
Reactions: oshmoun

iMaeGoo

Member
Jan 22, 2016
32
14
0
Shanghai
www.imaegoo.com
this is really weird, did the MM update also change something in the bootloader in an inconvenient way?
Could you try the other recovery.img from nilezon's thread? If that boots using "fastboot boot recovery.img" then we'll know the problem is somewhere in the .img itself

EDIT: oh, also could you please check if your download wasn't corrupt? Here's the md5 hash of the file so you can check
69650eaccdd8b24a3efc0ef1b4bdffb8

I have no idea.
Z5C_TWRP_152_v2_nilezon doesn't work on MM.
I flash Android 5.1 and try your TWRP3.0, still stuck at SONY logo(with no LED light).
Z5C_TWRP_152_v2_nilezon can work on 5.1.
Now I'm flashing MM again.:p
 
  • Like
Reactions: oshmoun

oshmoun

Senior Member
Aug 29, 2012
1,397
1,458
153
¯\_(ツ)_/¯
I have no idea.
Z5C_TWRP_152_v2_nilezon doesn't work on MM.
I flash Android 5.1 and try your TWRP3.0, still stuck at SONY logo(with no LED light).
Z5C_TWRP_152_v2_nilezon can work on 5.1.
Now I'm flashing MM again.:p

Thanks! Guess the issue lies in the MM update somewhere.
You just said that nilezon's recovery works on 5.1, but did you try it after flashing 5.1, or are you basing that statement on previous tests?
The issue here might be that you didn't downgrade the bootloader when you flashed 5.1 again, which would mean the issue will persist.
 
  • Like
Reactions: omidss

t4656

Member
May 15, 2013
5
5
0
Hello,
I tried booting(didn't flash) with MM and it seemed to boot into recovery fine. Used it to do a cache wipe, but afterwards phone is stuck on boot screen. I can turn it off with power + volume, but it doesn't seem like I can go back to fast boot.
 

oshmoun

Senior Member
Aug 29, 2012
1,397
1,458
153
¯\_(ツ)_/¯
Hello,
I tried booting(didn't flash) with MM and it seemed to boot into recovery fine. Used it to do a cache wipe, but afterwards phone is stuck on boot screen. I can turn it off with power + volume, but it doesn't seem like I can go back to fast boot.

You should be able to go into fastboot mode by turning device off, holding vol+ button, then connecting the device to your computer through usb
 

t4656

Member
May 15, 2013
5
5
0
You should be able to go into fastboot mode by turning device off, holding vol+ button, then connecting the device to your computer through usb

Yeah thanks. Took something like 10 tries before it finally went into fastboot. Not sure what went wrong there. Also on my first try I was able to boot into your build of twrp. But afterwards when I try it just gets stuck on the logo again.
 
  • Like
Reactions: oshmoun

oshmoun

Senior Member
Aug 29, 2012
1,397
1,458
153
¯\_(ツ)_/¯
Yeah thanks. Took something like 10 tries before it finally went into fastboot. Not sure what went wrong there. Also on my first try I was able to boot into your build of twrp. But afterwards when I try it just gets stuck on the logo again.

This is so freaky what the heck!!!
Could you flash bootloader from 5.1 ftf and see if it works properly then?
I'll (finally) update to MM today , so I'll witness the issues first hand.
 

iMaeGoo

Member
Jan 22, 2016
32
14
0
Shanghai
www.imaegoo.com
Thanks! Guess the issue lies in the MM update somewhere.
You just said that nilezon's recovery works on 5.1, but did you try it after flashing 5.1, or are you basing that statement on previous tests?
The issue here might be that you didn't downgrade the bootloader when you flashed 5.1 again, which would mean the issue will persist.

I tried nilezon's recovery after flashing 5.1 and it worked.
I use FlashTool to write FTF file to my phone fully, include kernel.
Maybe it's my problem...
Thank you for your patience!:p
 

oshmoun

Senior Member
Aug 29, 2012
1,397
1,458
153
¯\_(ツ)_/¯
I tried nilezon's recovery after flashing 5.1 and it worked.
I use FlashTool to write FTF file to my phone fully, include kernel.
Maybe it's my problem...
Thank you for your patience!:p

nope, not your problem, it's everyone's :(
seems like my twrp version just refuses to boot sometimes.
Was able to successfully replicate the fastboot issue on 5.1 bootloader, so it's definitely this recovery.
Now the question is if it's a TWRP 3 issue, or just in the way I built it :confused:

EDIT: I guess this post answers my question
http://forum.xda-developers.com/showpost.php?p=65808636&postcount=137
another twrp 3 recovery is having the same issue
guess I'll have to make this recovery flashable in order for it to work properly

EDIT 2: wow, Androplus kernel seems to go well with TWRP 3. Updated first post with new instructions on how to use this.
 
Last edited:

iMaeGoo

Member
Jan 22, 2016
32
14
0
Shanghai
www.imaegoo.com
nope, not your problem, it's everyone's :(
seems like my twrp version just refuses to boot sometimes.
Was able to successfully replicate the fastboot issue on 5.1 bootloader, so it's definitely this recovery.
Now the question is if it's a TWRP 3 issue, or just in the way I built it :confused:

EDIT: I guess this post answers my question
http://forum.xda-developers.com/showpost.php?p=65808636&postcount=137
another twrp 3 recovery is having the same issue
guess I'll have to make this recovery flashable in order for it to work properly

EDIT 2: wow, Androplus kernel seems to go well with TWRP 3. Updated first post with new instructions on how to use this.

Can not detect external SD or USB OTG (yet)
Can not detect external SD or USB OTG (yet)
Can not detect external SD or USB OTG (yet)
This will do the job until a proper dev makes a better version.
Maybe I had better wait...:crying::crying::crying:
 

oshmoun

Senior Member
Aug 29, 2012
1,397
1,458
153
¯\_(ツ)_/¯
Can not detect external SD or USB OTG (yet)
Can not detect external SD or USB OTG (yet)
Can not detect external SD or USB OTG (yet)
This will do the job until a proper dev makes a better version.
Maybe I had better wait...:crying::crying::crying:

ummm, my sdcard is getting detected :|
I'll post screenshots soon

EDIT: attached screenshots
 

Attachments

  • Screenshot_1970-06-21-01-08-22.png
    Screenshot_1970-06-21-01-08-22.png
    57.8 KB · Views: 251
  • Screenshot_1970-06-21-01-09-32.png
    Screenshot_1970-06-21-01-09-32.png
    62.1 KB · Views: 245
Last edited:

tanto124

Senior Member
Dec 14, 2014
66
55
48
Could you tell me if you have E5823 or E5803, I have an E5823 and it's working fine.
Also, are you sure you're not FLASHING the recovery.img? You need to just BOOT it directly from fastboot

it's E5823 running 32.1.A.1.163 . I am sure that I was just booting , downloaded file is okay .
 

Top Liked Posts

  • There are no posts matching your filters.
  • 8
    Hello people,

    I was able to successfully build twrp 3.0 for suzuran (our device, duh!) and thought I'd share the recovery.img so you can test and see what works and what doesn't.
    The recovery was built in a CM13 similar environment (PAC), so there might be some issues when working with stock kernel.
    Since this is an experimental build (I tested main functionalities and they work, but didn't get down to the nitty-gritty), here's a small disclaimer:
    By flashing or booting the attached recovery you're risking damaging you device, or losing the data on your device!
    Neither I nor anyone else but YOU is responsible should any bad unintended problems appear!


    If you're feeling adventurous then feel free to flash the recovery.img (along with Androplus kernel) and try the sweetness that is TWRP 3.0 :D :good:

    Download link:
    April 3, 2016 (3.0.1)
    March 25, 2016
    March 21, 2016
    March 12, 2016

    Known issues:
    Temperature reading is botched
    Crypto might not be working, like AT ALL
    usb connection doesn't work (only if you use this recovery with Androplus kernel)

    There could be more problems, which is why this is EXPERIMENTAL for now

    And now let's get to the sources!
    kernel:
    [url]https://github.com/oshmoun/kernel/tree/aosp/LA.BF64.1.2.2_rb4.7[/URL]
    device sources:
    [url]https://github.com/oshmoun/device-sony-suzuran/tree/master[/URL]
    [url]https://github.com/oshmoun/device-sony-kitakami/tree/master[/URL]
    [url]https://github.com/SonyCM/device-sony-common/commits/cm-13.0[/URL]

    And now to thank the people who helped in this endeavor:
    TWRP team for the awesome recovery!
    @nilezon for the TWRP flags (which I still need to go through to check if I missed/need anything, especially crypto flags...)
    FXP team for device sources, Especially @adfad666
    All of the Sony AOSP contributors, they're awesome people!
    6
    Another update!
    This one is mainly to fix the wrong time and date, by adding this:
    Code:
    TARGET_RECOVERY_QCOM_RTC_FIX := true
    taken from this commit . Thanks @CTXz and @moonbutt74 :D

    link to new recovery.img
    4
    Thread cleaned of non English posts

    A gentle reminder to all to try and post in English

    4. Use the English language.

    We understand that with all the different nationalities, not everyone speaks English well, but please try. If you're really unable to post in English, use an online translator. You're free to include your original message in your own language, below the English translation. (This rule covers your posts, profile entries and signature).
    :)
    2
    Update!
    new version released.
    This one addresses the issue with device detection, which was broken (ro.product.device was always empty).
    Please find the updated recovery.img here
    2
    Update!
    since TWRP now has a new release 3.0.1, I thought I'd publish a new .img for it before anyone asks :D
    didn't check if there are big changes, so don't be disappointed if you don't see a difference ;)
    recovery link
    Oh and if you notice, this time the file is smaller, because of changes done on the way bootable images are created (you can see the commits for that in sonyxperiadev repoes
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone