Sony To Release New Bootloaders That Allow Devices To Boot From Recovery, Making Cust - Sony Cross-Device General

http://www.androidpolice.com/2015/0...ry-making-custom-rom-development-much-easier/
Sent from my C6903 using XDA Premium 4 mobile app

https://www.youtube.com/watch?v=TFjvirit24I&feature=youtu.be
https://www.youtube.com/watch?v=TFjvirit24I&feature=youtu.be

prietpraat1972 said:
https://www.youtube.com/watch?v=TFjvirit24I&feature=youtu.be
Click to expand...
Click to collapse
Just tried it on my unlocked Z1
results:
I flashed the TA update as I was supposed to do and EMMA said that nothing went wrong
Flashed twrp recovery (fastboot flash recovery)
pressed power and volume down -> phone vibrated -> let go of power -> sony logo shows up and phone boots normally...
Am I missing something?

noahvt said:
Just tried it on my unlocked Z1
results:
I flashed the TA update as I was supposed to do and EMMA said that nothing went wrong
Flashed twrp recovery (fastboot flash recovery)
pressed power and volume down -> phone vibrated -> let go of power -> sony logo shows up and phone boots normally...
Am I missing something?
Click to expand...
Click to collapse
probably this
Which devices are compatible? For now, just those with Cortex-A7 processors. Those are:
•Xperia T2 Ultra
•Xperia T3
•Xperia M2
•Xperia E3

noahvt said:
Just tried it on my unlocked Z1
results:
I flashed the TA update as I was supposed to do and EMMA said that nothing went wrong
Flashed twrp recovery (fastboot flash recovery)
pressed power and volume down -> phone vibrated -> let go of power -> sony logo shows up and phone boots normally...
Am I missing something?
Click to expand...
Click to collapse
after leaving power utton, where yhu tapping tha vol- button simultaneously???

Just providing the info, can't help you technically... Good luck!
Sent from my C6903 using XDA Premium 4 mobile app

juanpirulo said:
probably this
Which devices are compatible? For now, just those with Cortex-A7 processors. Those are:
•Xperia T2 Ultra
•Xperia T3
•Xperia M2
•Xperia E3
Click to expand...
Click to collapse
Actually you are wrong. According to developer.sonymobile.com the Z1 product line is also supported:
Supported devices
With the latest software provided through our Flash tool for Xperia devices, recovery mode is available for Xperia Z1, Xperia Z1 Compact, Xperia Z Ultra, Xperia E3, Xperia M2, Xperia T2 Ultra, and Xperia T3 devices with unlocked boot loader.
Click to expand...
Click to collapse
However I'm no Sony developer and I'm facing the same issue.

Xperia Z Ultra user here and the same result, device is booting normally when holding power and vol-. Maybe because the recoveries are made to work on FOTAKernel partition and they won't work on normal recovery partition?
Regards

teddy74eva said:
Xperia Z Ultra user here and the same result, device is booting normally when holding power and vol-. Maybe because the recoveries are made to work on FOTAKernel partition and they won't work on normal recovery partition?
Regards
Click to expand...
Click to collapse
That sounds interesting [emoji106] But do you think also the recovery images without boot?

I don't know how things are on Z1, but on ZU we have TWRP which can be flashed to FOTAKernel partition, so it can be booted on custom roms and it survives flashing custom roms. The thing is, the recovery is packed with FOTAKernel ramdisk so it still can be functional and maybe when we flash it to normal recovery partition and try to boot from it, the device don't know what to do because of the FOTAKernel ramdisk packed with it? Seems like this could be the reason but I am not an expert (15 yrs old stud can't know much about it ), just presuming. If so, recoveries have to be rebuilt to work now.
Regards

OK, yes for Z1 we have an unofficial TWRP 2.8 build to use with FOTAKernel partition. Perhaps it's the same as you described for ZU. BTW., I'm a 16 yo student, so can't know much either [emoji13]

icebeanpie said:
OK, yes for Z1 we have an unofficial TWRP 2.8 build to use with FOTAKernel partition. Perhaps it's the same as you described for ZU. BTW., I'm a 16 yo student, so can't know much either [emoji13]
Click to expand...
Click to collapse
It seems to work for me now! Flashed a random recovery to the FOTAKernel partition of my Z1 (ROCKZ1L kernel) and I had a twrp recovery on the recovery partition. Steps after that:
Press volume down and power and wait for vibration then release power and when the sony logo shows up and the purple led goes on release volume down and the recovery should boot!

noahvt said:
It seems to work for me now! Flashed a random recovery to the FOTAKernel partition of my Z1 (ROCKZ1L kernel) and I had a twrp recovery on the recovery partition. Steps after that:
Press volume down and power and wait for vibration then release power and when the sony logo shows up and the purple led goes on release volume down and the recovery should boot!
Click to expand...
Click to collapse
Ehm.. Are you sure you didn't just flash a kernel with builtin TWRP recovery? Thats something different and has nothing to with the new bootloader, actually that's what we used to flash a recovery before the update...
---------- Post added at 09:52 PM ---------- Previous post was at 09:28 PM ----------
noahvt said:
It seems to work for me now! Flashed a random recovery to the FOTAKernel partition of my Z1 (ROCKZ1L kernel) and I had a twrp recovery on the recovery partition. Steps after that:
Press volume down and power and wait for vibration then release power and when the sony logo shows up and the purple led goes on release volume down and the recovery should boot!
Click to expand...
Click to collapse
But can you tell me how exactly you flashed it? Via FLashTool or via fastbbot flash recovery?

icebeanpie said:
Ehm.. Are you sure you didn't just flash a kernel with builtin TWRP recovery? Thats something different and has nothing to with the new bootloader, actually that's what we used to flash a recovery before the update...
---------- Post added at 09:52 PM ---------- Previous post was at 09:28 PM ----------
But can you tell me how exactly you flashed it? Via FLashTool or via fastbbot flash recovery?
Click to expand...
Click to collapse
Possible but I remembered that my kernel only starts the recovery if the volume down button is tapped every second
and I flashed it via adb shell as fastboot has no access to the fotakernel
just copy the img over to your sdcard and do:
su
dd if=/sdcard/recovery.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel

actually there is a recovery img in the latest aosp build for amami, but after flashing the whole rom it bootloops and the recovery is not possible to access

For locked bl also ?
Because i see in the video only unlocked bl !
Bye bye DRM keys or not ?

U have to wait for prebuilt recovery by devs with needed changes or use fxp builds. For now it doesn't work like all thinking.
BTW, for unlocked Bootloader.

Good news, as @dkionline said, recoveries from AOSP builds from fxp works fine here on Z Ultra for example, but they are just pure AOSP ones and for me on ZU, the recovery menu is not visible, there is a Sony logo, then the Android with exclamation mark and pressing Power and Vol+ (on my Nexus 5 it brings the menu) just leaves you with a blank screen.
Regards

Hi
my M2 is unlocked, with open device kernel. I have a CM recovery.img but there is not backup/recovery option in it. So I wanted to know if it is possible for someone to build a twrp recovery.img for the open device kernel
Thank in advance
ladalgigi

Related

fota twrp 2.8.4.0 for Z1

latest twrp for flash on fota:
https://dl.dropboxusercontent.com/u/17658154/fotaZ1_2.8.4.img
installation:
fastboot flash recovery fotaZ1_2.8.4.img
be careful if you write fastboot flash boot you won't be able to boot
thanks to @abbychauhan for testing
I publish it here bcs there is no development behind it
Superb thanks man Really appreciate your work
it can use for Android5.0?
waisingyung said:
it can use for Android5.0?
Click to expand...
Click to collapse
yes
no enter recovery, use volume + or volume - ??
solved
e30luismi said:
no enter recovery, use volume + or volume - ??
Click to expand...
Click to collapse
Only via Power Menu
Hi,
I tried flashing this recovery before installing a lollipop rom but since I was still using slimkat I think the kernel and recovery aren't compatible. So I can't access recovery anymore.
I've tried reflashing recovery using the dual recovery installer method which succeeds but doesn't actually change anything.
When I reboot to recovery im just sitting at the Sony logo. Any ideas?
pyromatic18 said:
Hi,
I tried flashing this recovery before installing a lollipop rom but since I was still using slimkat I think the kernel and recovery aren't compatible. So I can't access recovery anymore.
I've tried reflashing recovery using the dual recovery installer method which succeeds but doesn't actually change anything.
When I reboot to recovery im just sitting at the Sony logo. Any ideas?
Click to expand...
Click to collapse
Flash a Lollypop ROM then flash this
pyromatic18 said:
Hi,
I tried flashing this recovery before installing a lollipop rom but since I was still using slimkat I think the kernel and recovery aren't compatible. So I can't access recovery anymore.
I've tried reflashing recovery using the dual recovery installer method which succeeds but doesn't actually change anything.
When I reboot to recovery im just sitting at the Sony logo. Any ideas?
Click to expand...
Click to collapse
Flash boot.IMG of cocore z kernel using fastboot. You'll be able to reboot into recovery.
How can I flash this via flashtool?
ggnoobteam said:
How can I flash this via flashtool?
Click to expand...
Click to collapse
Fastboot dear not Flashmode
is this works on cm 12 ??
kriswal123 said:
is this works on cm 12 ??
Click to expand...
Click to collapse
Ofc
abbychauhan said:
Fastboot dear not Flashmode
Click to expand...
Click to collapse
Correct me if I'm wrong but you can't fash fota partition through flashtool
LSD DREAMER said:
Correct me if I'm wrong but you can't fash fota partition through flashtool
Click to expand...
Click to collapse
Ofc but I use Minimum Adb and Fastboot Software, so Never did any Fastboot Commends via flashtool. So I can suggest Fastboot
what to do
allinkiran said:
Flash boot.IMG of cocore z kernel using fastboot. You'll be able to reboot into recovery.
Click to expand...
Click to collapse
Listen i try all of that... i managed to boot 1 time only to twrp (flash some lollipop) and then... nothing the endless sony logo bootloop..
i am trying to install twrp on my z1 for sooooo long and i can not!!! wthat are the steps exactly i must take?
skatopsixos said:
Listen i try all of that... i managed to boot 1 time only to twrp (flash some lollipop) and then... nothing the endless sony logo bootloop..
i am trying to install twrp on my z1 for sooooo long and i can not!!! wthat are the steps exactly i must take?
Click to expand...
Click to collapse
Procidure - http://forum.xda-developers.com/xpe...-solution-lollypop-roms-t3000822/post58127334
abbychauhan said:
Only via Power Menu
Click to expand...
Click to collapse
I'm on 4.4.4 rooted, entered fastboot mode and flashed the recovery but I can't get in.
My power menu only contains "Power Off", can you explain better how to start TWRP on the Z1 after flashing this recovery?
Thanks
C:\adb>fastboot devices
BY900CPAQB fastboot
C:\adb>fastboot flash recovery fotaZ1_2.8.4.img
sending 'recovery' (11868 KB)...
OKAY [ 0.406s]
writing 'recovery'...
OKAY [ 0.796s]
finished. total time: 1.201s
Click to expand...
Click to collapse
NDR Utils didn't work as well, rebooting into primary recovery just reboots into normal mode... (see picture attachment)
theplagueisback said:
I'm on 4.4.4 rooted, entered fastboot mode and flashed the recovery but I can't get in.
My power menu only contains "Power Off", can you explain better how to start TWRP on the Z1 after flashing this recovery?
Thanks
Click to expand...
Click to collapse
theplagueisback said:
NDR Utils didn't work as well, rebooting into primary recovery just reboots into normal mode... (see picture attachment)
Click to expand...
Click to collapse
Please read the OP properly for LP ROMs don't know if it will work on Stock too because Custom Stock ROMs don't need that. Also by the log looks its success now it will work from power Menu Reboot to Recovery.
And if u dont have power Menu Reboot to Recovery then get some knowledge how to do that or flash another ROM

Root sony xperia z5 compact (e5823) and flash twrp recovery

Hi Friends..
This thread is for those who are trying to root your sony xperia z5 compact and flash a custom recovery.
********* Requirements ************
Unlocked Bootloader
Xperia Data Cable
Download the files from the below link
SuperSu download.chainfire.eu/696/supersu
Root Files datafilehost.com/d/4f29a772
*************************************
Extract the downloaded zip ( root.7z ) package.
Power off your z5c.
connect the device through data cable by pressing the volume up button.
Now Open Command Prompt (CMD)
Navigate To Downloaded Files
Type Below Commands
fastboot flash boot boot.img
fastboot flash recovery twrp.img
Now press the volume rockers simultaneously while the device is booting.
You will enter in to twrp recovery .
Flash The Supersu Zip File.
Done!!
You have sucessfully rooted your sony xperia z5 compact.
Please hit Thank button if worked.
Thank You!
heptyle said:
Hi Friends..
This thread is for those who are trying to root your sony xperia z5 compact and flash a custom recovery.
********* Requirements ************
Unlocked Bootloader
Xperia Data Cable
Download the files from the below link
SuperSu download.chainfire.eu/696/supersu
Root Files datafilehost.com/d/4f29a772
*************************************
Extract the downloaded zip ( root.7z ) package.
Power off your z5c.
connect the device through data cable by pressing the volume up button.
Now Open Command Prompt (CMD)
Navigate To Downloaded Files
Type Below Commands
fastboot flash boot boot.img
fastboot flash recovery twrp.img
Now press the volume rockers simultaneously while the device is booting.
You will enter in to twrp recovery .
Flash The Supersu Zip File.
Done!!
You have sucessfully rooted your sony xperia z5 compact.
Please hit Thank button if worked.
Thank You!
Click to expand...
Click to collapse
So I updated on 32.2.A.0.224 and your instruction not worked. The phone starting and then made Starting Android
run applications and nothing. Two times after two attempts. Do you have any idea what's wrong??
mirecek11 said:
So I updated on 32.2.A.0.224 and your instruction not worked. The phone starting and then made Starting Android
run applications and nothing. Two times after two attempts. Do you have any idea what's wrong??
Click to expand...
Click to collapse
Are you able to access twrp recovery?
hello,
I had unlock boot loader.
then I follow this post,
all is ok
the write with fastboot is ok, but now when I want to boot, phone vibrate once and nothing at screen.
when Vol UP + power, vibrate 3 time, and black screen too.
what can I do ?
edit: flashed zombie boot.img via fastboot, and seems to work again !
hazote said:
hello,
I had unlock boot loader.
then I follow this post,
all is ok
the write with fastboot is ok, but now when I want to boot, phone vibrate once and nothing at screen.
when Vol UP + power, vibrate 3 time, and black screen too.
what can I do ?
edit: flashed zombie boot.img via fastboot, and seems to work again !
Click to expand...
Click to collapse
Try by pressing volume rockers simultaneously whille booting to access twrp recovery.
IT this method is for too 32.0.A.6.200 please?
mahferer said:
IT this method is for too 32.0.A.6.200 please?
Click to expand...
Click to collapse
I hope it will work for the same build.
Thank You!
the link ' Root Files datafilehost.com/d/4f29a772' is garbage root.exe ... broken or compromised CDN

can't seem to overwrite stock recovery with twrp?

i keep trying to install various images of twrp (3022, 21, 3001) and none of them ever appear on the phone. all i get is what's seemingly the stock recovery with the starry top half and oneplus logo at the top. any solution to this? bootloader is unlocked and usb debugging is enabled in oxygen 2.2.1
nvm fixed it by flashing the very first version of twrp that was listed on the site
Quote100 said:
i keep trying to install various images of twrp (3022, 21, 3001) and none of them ever appear on the phone. all i get is what's seemingly the stock recovery with the starry top half and oneplus logo at the top. any solution to this? bootloader is unlocked and usb debugging is enabled in oxygen 2.2.1
Click to expand...
Click to collapse
You just have to make sure to reboot directly to recovery/twrp after the flash... The new recovery will not stay if you reboot to system or bootloader after the flash.
jflow36 said:
You just have to make sure to reboot directly to recovery/twrp after the flash... The new recovery will not stay if you reboot to system or bootloader after the flash.
Click to expand...
Click to collapse
I did this by mistake and I want my custom recovery(twrp) back!what do I do?pls help
Install latest recovery turn off phone by long pressing power key and use recovery key combo
Sent from my ONE A2005 using Tapatalk
fburgos said:
Install latest recovery turn off phone by long pressing power key and use recovery key combo[/QUOTE
The stock recovery won't show or read the img file ..
Click to expand...
Click to collapse
Bingi46 said:
fburgos said:
Install latest recovery turn off phone by long pressing power key and use recovery key combo[/QUOTE
The stock recovery won't show or read the img file ..
Click to expand...
Click to collapse
-download minimal adb and drivers for pc
-Unlock bootloader.
-Fastboot flash recovery twtlatest.img
-Long press power off
-Use combo key to directly boot into recovery
Sent from my ONE A2005 using Tapatalk
Click to expand...
Click to collapse

Cyanogen preview - 12.1-YOG4PAP25l

After unbriking the zuk z1 I was transfered to this is but I can't boot to fastboot mod or recovery mod in thus ROM how to change my ROM any ideas
Thank you!
Divyansh tiwari said:
After unbriking the zuk z1 I was transfered to this is but I can't boot to fastboot mod or recovery mod in thus ROM how to change my ROM any ideas
Thank you!
Click to expand...
Click to collapse
Can't boot? Please be more clear. You mean even can't boot to recovery by using hardware keys? Or just running commands in CMD?
+∆bhijith said:
Can't boot? Please be more clear. You mean even can't boot to recovery by using hardware keys? Or just running commands in CMD?
Click to expand...
Click to collapse
The fastboot mode is not flashing on screen
Instead of it the zuk logo is been flash
Which is quite confusing and i can't even use the fastboot facilities
Thankyou!
Divyansh tiwari said:
After unbriking the zuk z1 I was transfered to this is but I can't boot to fastboot mod or recovery mod in thus ROM how to change my ROM any ideas
Thank you!
Click to expand...
Click to collapse
Hi,
I have the same issue. i want to upgrade to lineage 14.1 but when i tried to upgrade to cm13 after unbricking i went straight into bootloop or brick or something. im not exactly the smartest on this topic aha. have you figured a way to upgrade to lineage os?
Just press and hold power button + volume up+volume down , all three together for few seconds. You'll be in recovery, from there you can go into fastboot(bootloader)
once again its showing the zuk logo only..
is there any solution??

[TWRP] [3.5.0_9-0] [UNOFFICIAL] [XPERIA Z1]

How to install:
Make sure that you have unlocked bootloader of your device
Download TWRP for Xperia Z1
I recommend all you to download the latest version
Flash via Rashr, Flashify, Flashfire, adb or terminal emulator (rooted required)
Via fastboot command:
fastboot flash FOTAKernel twrp_<version>.img
Update from older version: flash via TWRP > Install Image > Recovery partition
Note:
The system-as-root version is used for Android Q rom, don't use it for Android P & below
We can use normal version for Android Q , but it may not work properly with system-as-root in some case
OpenGapps for Android 9.0 & below are not compatible with twrp 3.4.0. In this case, use previous twrp version instead
How to boot into TWRP:
Method 1: turn off the device, press and hold both volume down and power, after the phone vibrate, release all key.
Method 2: (only available on some custom roms), turn off the device and power on or restart it, when LED light turn Pink/Purple (or other colors), press volume up or volume down button for a couple of times until the TWRP is displayed.
Device tree for building TWRP
Flashed via Fastboot on my Z1. No problems at all. Excellent work. Thank you.
I have been using this for a few days and it works good! Nice job!
I flash it through official two app but get black screen when enter recovery mode
iga64828 said:
I flash it through official two app but get black screen when enter recovery mode
Click to expand...
Click to collapse
Have you unlocked the bootloader yet
legendstarspro said:
Have you unlocked the bootloader yet
Click to expand...
Click to collapse
Yes
iga64828 said:
Yes
Click to expand...
Click to collapse
Try flashing twrp via Rashr
legendstarspro said:
Try flashing twrp via Rashr
Click to expand...
Click to collapse
Doesn't work man
iga64828 said:
Doesn't work man
Click to expand...
Click to collapse
Flash it from fastboot with fastboot flash recovery twrp_3.2.1-1_honami.img or rename the file to fastboot flash recovery recovery.img
If you don't have it installed download it here: https://forum.xda-developers.com/showthread.php?t=2588979
what is different between this https://androidfilehost.com/?fid=673791459329071795 and your recovery
Your link is 3.2.1-0 I think.
pokepokepoke said:
what is different between this https://androidfilehost.com/?fid=673791459329071795 and your recovery
Click to expand...
Click to collapse
It is 3.2.1-0
Mine is 3.2.1-1
legendstarspro said:
It is 3.2.1-0
Mine is 3.2.1-1
Click to expand...
Click to collapse
Thanks mate do you plan on making this recovery official
Let me be greedy and ask if you could make this for xperia z5?
Dna10 said:
Let me be greedy and ask if you could make this for xperia z5?
Click to expand...
Click to collapse
No, because I don't have a z5. ???????
When i flashed the .img file, i didnt get any error, but the screen went black. Any help?
I too cant update to 3.0.2 or to your updated version for the life of me.
Im on stock 5.1.1, rooted, supersu installed, BL u/l and dual recovery installed (twrp version 2.8.7.0)
Although it displays that the installation (via adb fastboot) is successful, when i reboot into recovery, i still have the old TWRP. Using power+ up-volume gets me into CWM recovery.
Any ideas? Im flumbusted!
BLiapis said:
I too cant update to 3.0.2 or to your updated version for the life of me.
Im on stock 5.1.1, rooted, supersu installed, BL u/l and dual recovery installed (twrp version 2.8.7.0)
Although it displays that the installation (via adb fastboot) is successful, when i reboot into recovery, i still have the old TWRP. Using power+ up-volume gets me into CWM recovery.
Any ideas? Im flumbusted!
Click to expand...
Click to collapse
Uninstall dual recovery then you can boot to this recovery
Can u provide the tool for flashing the recover.img file.
Thank you in advance
pranav_swaroop said:
Can u provide the tool for flashing the recover.img file.
Thank you in advance
Click to expand...
Click to collapse
Pc: Fastboot
Mobile: rashr, flashify, flashfire, terminal emulator, twrp app

Categories

Resources