Hi..
after moving to 4.4 someone screwed me for taking AOKP which didn't include recovery. When I tried to flash boot.img to gain recovery, I didn't. At the end, I went and installed TWRP to FOTAkernel partition.
Now, If I would like to install CWM using boot.img from (lets say latest CM11), I cannot boot to CWM because TWRP loads up every time.
I've sent emails (TWRP team) and private messages to people responsible for some "recovery" topics here and didn't get any reply.
1. Can someone tell me how to get to normal, CWM recovery from boot.img (meaning how to uninstall TWRP from FOTAkernel partition)
2. If I go back to pure stock and install everything through flashtool, will the FOTAkernel partition also get erased?
Thank you for your replies.
Regards! :laugh:
Just get hold of any FTF and flash fota kernel only with flashtool.
Sent from my C6603 using xda app-developers app
Related
Hi.
I've got a problem. In all of the tutorials I read about how to flash ROM:s, it says that I have to flash boot.img through fastboot, then enter recovery and flash the ROM. I can not do this. When I flash the boot.img, I can not enter recovery or anything, I get stuck in a bootloop and have to restore through flashtool. When I flashed Taylor_Swift's 4.3 ROM, I flashed the ROM first and then the boot.img, it worked, I got up and running, but after that I couldn't enter recovery and therefore not obtain root access, making the ROM almost useless because the lack of the Battery Calibration app. Now I want to flash the PAC ROM, but I'm not sure how to do with the boot.img part. If it's relevant I have the lockeddualrecovery as my recovery.
Help please
Grozos said:
Hi.
I've got a problem. In all of the tutorials I read about how to flash ROM:s, it says that I have to flash boot.img through fastboot, then enter recovery and flash the ROM. I can not do this. When I flash the boot.img, I can not enter recovery or anything, I get stuck in a bootloop and have to restore through flashtool. When I flashed Taylor_Swift's 4.3 ROM, I flashed the ROM first and then the boot.img, it worked, I got up and running, but after that I couldn't enter recovery and therefore not obtain root access, making the ROM almost useless because the lack of the Battery Calibration app. Now I want to flash the PAC ROM, but I'm not sure how to do with the boot.img part. If it's relevant I have the lockeddualrecovery as my recovery.
Help please
Click to expand...
Click to collapse
No special order, really, as long as the kernel (boot.img) is fully compatible with the rom.
I'd flash PAC boot.img first though. Flash boot.img, then enter recovery and flash the zip containing the rom information.
Usually you should flash the boot.img that came inside the rom's zip and it should have a recovery,than you will have to install the rom from the recovery.
Don't forget to factory reset/wipe data inside the recovery.
Sent from my C6603 using xda premium
Here are two flashable zip for you to flash the recovery, CWM or TWRP into your Xperia ZR.
Quoting from this thread by @championswimmer:
What are the advantages of this method ?
Every time you flash a kernel, the recovery gets changed, because the recovery is present in the kernel. But if we are hotbooting a recovery in the fotakernel partiton, then even after flashing a new kernel (given that it supports extract_elf_ramdisk), your recovery is not changed. Thus even if the kernel's inbuilt recovery is broken, you can continue to use the recovery you have flashed onto your fotakernel.
All I have done with the installer script is pushing the recovery.img into your fotakernel so the recovery you prefer will always stay in the device no matter what kernel/ROM you flashed.
Benefit?
You will not need computer to perform the installation as you only need to flash on your device and you're good to go.
How to install?
1. Download the recovery zip you want
CWM: View attachment clockworkmod_touch_6.0.4.5.zip
TWRP: View attachment twrp_2.6.3.0.zip
2. Copy onto your device, boot into recovery and flash like normal zip
3. Reboot recovery to see if it changes your recovery to the one you flashed
If you like my work, press the THANKS button or consider to buy me a beer.
wai10691 said:
Here are two flashable zip for you to flash the recovery, CWM or TWRP into your Xperia ZR.
Quoting from this thread by @championswimmer:
What are the advantages of this method ?
Every time you flash a kernel, the recovery gets changed, because the recovery is present in the kernel. But if we are hotbooting a recovery in the fotakernel partiton, then even after flashing a new kernel (given that it supports extract_elf_ramdisk), your recovery is not changed. Thus even if the kernel's inbuilt recovery is broken, you can continue to use the recovery you have flashed onto your fotakernel.
All I have done with the installer script is pushing the recovery.img into your fotakernel so the recovery you prefer will always stay in the device no matter what kernel/ROM you flashed.
Benefit?
You will not need computer to perform the installation as you only need to flash on your device and you're good to go.
How to install?
1. Download the recovery zip you want
CWM: View attachment 2587832
TWRP: View attachment 2587840
2. Copy onto your device, boot into recovery and flash like normal zip
3. Reboot recovery to see if it changes your recovery to the one you flashed
If you like my work, press the THANKS button or consider to buy me a beer.
Click to expand...
Click to collapse
Can we have dual recovery pls?
If we need to remove what is the way. Once I was in boot loop when using nut recovery and only thing I had to do add a file to sd card recovery folder to stop recovery
Sent from my C5502 using Tapatalk
Lasantha said:
Can we have dual recovery pls?
If we need to remove what is the way. Once I was in boot loop when using nut recovery and only thing I had to do add a file to sd card recovery folder to stop recovery
Sent from my C5502 using Tapatalk
Click to expand...
Click to collapse
The intention was only install one recovery in FOTAKernel. DualRecovery using another method but if you want you can use the other dualrecovery.
I have made CWM and TWRP available for user to move around without losing any recovery.
wai10691 said:
The intention was only install one recovery in FOTAKernel. DualRecovery using another method but if you want you can use the other dualrecovery.
I have made CWM and TWRP available for user to move around without losing any recovery.
Click to expand...
Click to collapse
Thanks this is only for unlocked boot loader right?
Will it work on ZU?
wai10691 said:
Here are two flashable zip for you to flash the recovery, CWM or TWRP into your Xperia ZR.
Quoting from this thread by @championswimmer:
What are the advantages of this method ?
Every time you flash a kernel, the recovery gets changed, because the recovery is present in the kernel. But if we are hotbooting a recovery in the fotakernel partiton, then even after flashing a new kernel (given that it supports extract_elf_ramdisk), your recovery is not changed. Thus even if the kernel's inbuilt recovery is broken, you can continue to use the recovery you have flashed onto your fotakernel.
All I have done with the installer script is pushing the recovery.img into your fotakernel so the recovery you prefer will always stay in the device no matter what kernel/ROM you flashed.
Benefit?
You will not need computer to perform the installation as you only need to flash on your device and you're good to go.
How to install?
1. Download the recovery zip you want
CWM: View attachment 2587832
TWRP: View attachment 2587840
2. Copy onto your device, boot into recovery and flash like normal zip
3. Reboot recovery to see if it changes your recovery to the one you flashed
If you like my work, press the THANKS button or consider to buy me a beer.
Click to expand...
Click to collapse
Great work!! I just have two questions:
1. Does this work on LB?
2. Does offline charging work with this recovery?
is it possible to use recovery in kernel when fotarecovery is installed?
how can it be uninstalled?
can u plz make a fastboot .img file to cwm or twrp ?
Can you find newer versions of CWM/TWRP? Or, can you teach me how to make em myself?
If I flash kernel that contains recovery (i.e CM11) will it be overwritten?
Sent from my C5503 using XDA Premium 4 mobile app
adize said:
If I flash kernel that contains recovery (i.e CM11) will it be overwritten?
Sent from my C5503 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Yes !
But if the previous recovery was in system and was not with Kernel then they both may stay together.
any update to twrp 2.8?
Yes.Find it herehttp://forum.xda-developers.com/showthread.php?t=3047602
Sent from my Xperia ZR using XDA Free mobile app
Right now I have no recovery on my XZR, so I cannot flash the recoverys.
What must I do, to get a recovery on my ZR, so that I can flash?
Lemmi1 said:
Right now I have no recovery on my XZR, so I cannot flash the recoverys.
What must I do, to get a recovery on my ZR, so that I can flash?
Click to expand...
Click to collapse
Install XZ dualrecovery from here http://forum.xda-developers.com/showthread.php?t=2261606
Tapped from my furious ZR
It works perfect, thank you so much.
Need urgent help
wai10691 said:
Here are two flashable zip for you to flash the recovery, CWM or TWRP into your Xperia ZR.
Quoting from this thread by @championswimmer:
What are the advantages of this method ?
Every time you flash a kernel, the recovery gets changed, because the recovery is present in the kernel. But if we are hotbooting a recovery in the fotakernel partiton, then even after flashing a new kernel (given that it supports extract_elf_ramdisk), your recovery is not changed. Thus even if the kernel's inbuilt recovery is broken, you can continue to use the recovery you have flashed onto your fotakernel.
All I have done with the installer script is pushing the recovery.img into your fotakernel so the recovery you prefer will always stay in the device no matter what kernel/ROM you flashed.
Benefit?
You will not need computer to perform the installation as you only need to flash on your device and you're good to go.
How to install?
1. Download the recovery zip you want
CWM: View attachment 2587832
TWRP: View attachment 2587840
2. Copy onto your device, boot into recovery and flash like normal zip
3. Reboot recovery to see if it changes your recovery to the one you flashed
If you like my work, press the THANKS button or consider to buy me a beer.
Click to expand...
Click to collapse
How do I enter in to recovery. I hav etried all the possible PnC's found online but nothing seems to worlk andI end up starting the phone.
help me flashed twrp with official twrp app , not device is not booting in recovery mode with key combination and twrp app to... my device is bootloader unlocked and rooted help me to flash twrp in device
Hey all.
Long time phone modder so I'm not new to this but this XZ1 has got me stumped.
I can't find anything specifically for recoveries but all ROM install guides I see mention to boot to recovery.
Currently I've got an unlocked bootloader and the ROM and Kernel ready to go.
As far as I know the XZ1 doesn't come with a user-accessible recovery on the stock firmware/kernel.
Now from flashing other ROMs, kernels, recoveries and such I have to come to learn that the boot.img is JUST the kernel, nothing else.
All posts I've read however point to the XZ1 boot.img having the recovery and the kernel all in one spot.
Could someone confirm the process from here or if I'm right regarding the boot.img being kernel AND recovery?
Many thanks.
Enter fast boot mode, them use this
Fastboot flash boot boot.img
Sent from my C6903 using XDA Premium 4 mobile app
gregbradley said:
Enter fast boot mode, them use this
Fastboot flash boot boot.img
Sent from my C6903 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
So I was correct in assuming the boot.img for the XZ1 contains a recovery as well as a kernel?
How come when I flash the iHackers.img to the boot it won't load up any more. As soon as the cable is removed it stays off and won't come back on. Just flashes a red light and buzzes once. Won't go past that. I can reenter fastboot and flashmode (had to reflash a stock several times due to this not working).
I have also confirmed the MD5 sum matches.
potplanty said:
So I was correct in assuming the boot.img for the XZ1 contains a recovery as well as a kernel?
How come when I flash the iHackers.img to the boot it won't load up any more. As soon as the cable is removed it stays off and won't come back on. Just flashes a red light and buzzes once. Won't go past that. I can reenter fastboot and flashmode (had to reflash a stock several times due to this not working).
I have also confirmed the MD5 sum matches.
Click to expand...
Click to collapse
hmm, make sure you have plenty of battery, also you will have to power on the phone and keep pressing volume up until it enters recovery.
If that does not work follow the locked bootloader instructions.
There is no separate partition on sony phones for recovery as they do not come with an accessable factory recovery. All recoveries have to in a custom kernel (For unlocked bootloaders) or installed into system (For locked bootloaders or unlocked bootloaders with a stock kernel)
gregbradley said:
There is no separate partition on sony phones for recovery as they do not come with an accessable factory recovery. All recoveries have to in a custom kernel (For unlocked bootloaders) or installed into system (For locked bootloaders or unlocked bootloaders with a stock kernel)
Click to expand...
Click to collapse
This is a very unsafe way to have recovery. Isn't it? A recovery should work outside of System Partition to do the job right. Recoveries into Kernel or System do not guarantee if something go wrong to run up when a entire partition can be damage or system corrupted.
Am I wrong?
eclyptos said:
This is a very unsafe way to have recovery. Isn't it? A recovery should work outside of System Partition to do the job right. Recoveries into Kernel or System do not guarantee if something go wrong to run up when a entire partition can be damage or system corrupted.
Am I wrong?
Click to expand...
Click to collapse
Well, since xperia phones do not have a recovery partition it is the only way to do it.
Take a look at where dualrecovery install the recovery ramdisks on a locked bootloader...its right in the system partition
system/bin
Its where all xperia recoveries go, unless they are incorporated in the kernel
Its why we lose recovery if we flash a stock FTF, because it formats system..
gregbradley said:
Its why we lose recovery if we flash a stock FTF, because it formats system..
Click to expand...
Click to collapse
Flashing Stock FTF will delete partitions in any case, it's the same with HTC.
Why just don't repartitioning the internal memory and install recovery in a specific partition?
Newbie to the 'Dark Side of the Android World' and just curious.
well, after rooting your phone you only need to flash custom recovery once then you can access it as many times as you want
Your question is a little bit weird. Can you link me to a place of reference? Or at least explain what you are actually wanting to do?
Flashing TWRP is a one-time action, once flashed it remain on your Xperia SP. However, FlashTool doesn't offer flashing TWRP to other partitions via fastboot other than the "boot" partition. So far, the only way to correctly flash TWRP is via a recovery.
If you indeed flashed TWRP image via FlashTool, then you are actually putting TWRP into your boot partition, and this makes your device to only boot into TWRP infinitely until you flash a ROM (which will of course again override the boot partition).
The reason why I asked is because this method of accessing recovery is posted in my custom ROM guide, so I want to know if you get this kind of idea from my guide.
Thanks
hello i want to acces recovery menu, but won´t flash anything to my phone.
is it possible?
have download twrp-3.0.2.0-yuga.img unnamed it to recovery.img
fastboot boot recovery.img
it tells download ok
starting ok
than phone is booting normaly
what am i doing wrong?
xperia z with android 5.1.1 open bootloader
Hi, use this: https://twrp.me/devices/sonyxperiaz.html
(dd install method), download terminal emulator from playstore and type commands
Xperia Z doesn't support "fastboot boot" command
If you want to do this without flashing anything - this is impossible
damn
i have flashed twrp recovery, it worked without problems. device started into recovery, great but it boots always in the recovery.
-flashed xperia z with emma tool
-fastboot flash boot twrp.img
-reboot into recovery
fine but since them it boots always into recovery
have reboot from recovery into system or reboot or just turn device off and on.
(havent pressed any key while booting)
it boot everytime to recovery
can someone help pls
Sent from my C6603 using XDA-Developers mobile app
steve233 said:
i have flashed twrp recovery, it worked without problems. device started into recovery, great but it boots always in the recovery.
-flashed xperia z with emma tool
-fastboot flash boot twrp.img
-reboot into recovery
fine but since them it boots always into recovery
have reboot from recovery into system or reboot or just turn device off and on.
(havent pressed any key while booting)
it boot everytime to recovery
can someone help pls
Sent from my C6603 using XDA-Developers mobile app
Click to expand...
Click to collapse
You have flashed a recovery image to your boot partition, so it always boots to recovery. You need to flash a boot image to the boot partition.
But why do you want recovery if you won't flash anything to your phone?
By flashing recovery, you are doing exactly that anyway.
You have an unlocked bootloader, so you may as well flash an advanced stock kernel. It is stock kernel with twrp built into the boot.img. Check android development section.
thank you
since i know that i can't boot recovery without flashing, i have no other option as to flash.
can't i flash it to FOTA partition?
i have 10.7.A.0.222 firmware and need root access but like to do it manually
You can't boot directly to FOTA on XZ. Need modified boot.img or flash twrp to boot (like you did before). Then while in TWRP, flash Supersu.zip to get root. Afterwards flash kernel only in flashtool to get stock boot back
Sent from my C6603 using XDA-Developers mobile app
steve233 said:
i have flashed twrp recovery, it worked without problems. device started into recovery, great but it boots always in the recovery.
-flashed xperia z with emma tool
-fastboot flash boot twrp.img
-reboot into recovery
fine but since them it boots always into recovery
have reboot from recovery into system or reboot or just turn device off and on.
(havent pressed any key while booting)
it boot everytime to recovery
can someone help pls
Click to expand...
Click to collapse
same problem please help asap with instruction. thank you
shoey63 said:
You can't boot directly to FOTA on XZ. Need modified boot.img or flash twrp to boot (like you did before). Then while in TWRP, flash Supersu.zip to get root. Afterwards flash kernel only in flashtool to get stock boot back
Click to expand...
Click to collapse
can u pls help me with instruction how to fix that plssssss.....
utsavgarg said:
can u pls help me with instruction how to fix that plssssss.....
Click to expand...
Click to collapse
Is your bootloader unlocked?