[Q] Does cyanogenmod kernel come with custom recovery? - Xperia Z1 Q&A, Help & Troubleshooting

I was wondering whether the cyanogenmod kernel comes with a custom recovery because every tutorial says after flashing boot.img in fastboot mode, reboot into custom recovery and flash the ROM. So, I can only assume the kernel installs a custom recovery. Is this right?
Sorry i'm new to this

Yep , it comes with CWM

Related

[Q] Change recovery to TWRP

Hello there... i'm new on this device (SGS i9000). i updated my firmware to CM 10.1. I understand that when i update to JB, the rom updates my recovery to CWM 6. i am trying to change it to TWRP without success. My methods are 2:
1) i download a flasheable zip with the TWRP recovery. I flash it through CWM but when i reboot into recovery again, there is CWM, no TWRP.
pd: CWM didn't indicate me any error during the flash of the zip. it says that it were successful.
2) i flash the recovery image through flash_image using the terminal. it says that it was successfully wrote in the recovery partition.
i guess there's an script that reflash CWM recovery in every boot but i am not sure. If i'm correct (or not) what do i have to do to to flash TWRP permanently?
sorry for my bad english
Both Mackay and Latrop kernel have TWRP, and Devil Kernel has TWRP as an option.
Sent from my GT-P7510 using Tapatalk HD
We have two options mackay or devil to twrp

Stuck at CyanogenMod

Hi everybody! I wanted a better battery life for my Z1 (1 screen hour at 75% :crying: ) so i flashed the CM11 latest snapshot, (as we all know, the LP builds has a very horrible battery management) and it worked, but when i switched from MX ROM to CM11 i lost my recovery (dual recovery) and it were replaced with CWM, i tried to install TWRP with some apps like Rashr, Flashify, ROM manager, Multirom manager and many others but it wasnt successful, and now im trying to flash a stock build of LP but flashtool gives to me this error:
- root this bundle is not valid -
I tried with a KK build but it was the same result. So I am stuck in CM, i dont know what more can i do... Can anyone help me?
The Bankshooter said:
Hi everybody! I wanted a better battery life for my Z1 (1 screen hour at 75% :crying: ) so i flashed the CM11 latest snapshot, (as we all know, the LP builds has a very horrible battery management) and it worked, but when i switched from MX ROM to CM11 i lost my recovery (dual recovery) and it were replaced with CWM, i tried to install TWRP with some apps like Rashr, Flashify, ROM manager, Multirom manager and many others but it wasnt successful, and now im trying to flash a stock build of LP but flashtool gives to me this error:
- root this bundle is not valid -
I tried with a KK build but it was the same result. So I am stuck in CM, i dont know what more can i do... Can anyone help me?
Click to expand...
Click to collapse
KK custom roms have recovery inside kernel. You have recovery in your FOTA or Recovery partition. The in-kernel recovery won't let you start Fota recovery, no matter what you try to install. Latest LP roms, as well as MM don't have recovery in kernel. So, you want to fastboot an LP kernel that has no recovery: fastboot flash boot boot.img. Then fastboot TWRP: fastboot flash recovery recovery.img. After that, you can boot into TWRP recovery and install whatever you want...
optimumpro said:
KK custom roms have recovery inside kernel. You have recovery in your FOTA or Recovery partition. The in-kernel recovery won't let you start Fota recovery, no matter what you try to install. Latest LP roms, as well as MM don't have recovery in kernel. So, you want to fastboot an LP kernel that has no recovery: fastboot flash boot boot.img. Then fastboot TWRP: fastboot flash recovery recovery.img. After that, you can boot into TWRP recovery and install whatever you want...
Click to expand...
Click to collapse
Thanks a lot! Ill try it

few questions

If i want to flash MIUI rom via twrp should i flash the fastboot rom or recovery rom ? Also do i need to flash lazy flasher after that, what is the purpose of LF after all? And lastly will i get OTA updates on flashed rom or manually update it ? oh and ill be going for miui 10 any suggestions for kernel to prolong battery ?
TWRP is custom recovery and that's what recovery ROM are for and fastboot ROM are for flashing via fastboot.
Yes, you'll get updates. But make sure to use correct recovery because some recovery won't be able flash update and instead you'll have to dirty flash the whole ROM.
MIUI already has best battery optimization, imo you don't need to flash any custom kernel but if you want to then you can. I haven't used MIUI since June so can't tell which kernel will fit perfect for your need.
Here is information about lazy flasher
https://forum.xda-developers.com/android/software-hacking/zip-lazyflasher-tool-flashing-custom-t3549210

MIUI 10 flashing twrp, root and rom guide required

Hello,
I'm lookig for a guide how to twrp, root and install custom rom, on my Mi5 miui 10 global stable.
I'm not newbe I did a lot of flashing on my previus phones Nexus and others. But this time I feel lost. I sit on miui 10 global stable. When I try to to flash twrp I get reroll to mi recovery every single time. All guides I found in the Internet are dedicated to older android versions. Xiaomitool don't help too.
Can someone point me to the right direction? It is time to change rom on my Mi5 finally to give him boost b4 I buy something new.
Best regards
Amonlb
amonlb said:
Hello,
I'm lookig for a guide how to twrp, root and install custom rom, on my Mi5 miui 10 global stable.
I'm not newbe I did a lot of flashing on my previus phones Nexus and others. But this time I feel lost. I sit on miui 10 global stable. When I try to to flash twrp I get reroll to mi recovery every single time. All guides I found in the Internet are dedicated to older android versions. Xiaomitool don't help too.
Can someone point me to the right direction? It is time to change rom on my Mi5 finally to give him boost b4 I buy something new.
Best regards
Amonlb
Click to expand...
Click to collapse
Your bootloader is unlocked, right?
Then you need reboot to fastboot mode and flash latest official twrp via fastboot.
Like
Code:
fastboot flash recovery <path to twrp.img>
Have you tried it that way?
Phil_Smith said:
Your bootloader is unlocked, right?
Then you need reboot to fastboot mode and flash latest official twrp via fastboot.
Like
Have you tried it that way?
Click to expand...
Click to collapse
Bootloader is unlocked.
I did it that way but after twrp is installed I reboot and there is no twrp available. Only mi recovery.
To make it easier...
I would like to:
Flash twrp
Flash magisk and root
Flash firmware (why i need this?) Havoc os asks to flash it but I don't know why.
Flash havock os and gapps
Flash some mods for camera and sound
I don't understeand why twrp can't be flashed and I have no idea what is modified firmware for? Do I need this?
Thanks for your time
Try the the xiaomi eu rom guide .
I think you may need its custom bootloader , not the actual rom.
Than flash the firmware required for your custom rom and reboot directly to recovery again from twrp than rom and gapps , I hope that helps
Hi, i had the same problem, try this:
1. Flash twrp as usual(fastboot flash recovery twrp.img and then fastboot reboot)
2. When rebooting, you have to enter at recovery (vol up + power) . Don't allow phone to boot! In TWRP official page, on installation instructions , they say after installation you must enter in recovery to allow TWRP patch recovery rom, because some Roms after boot reinstall original recovery.
3. Now you should have TWRP installed.
If you do
fastboot flash recovery twrp.img
and then do
fastboot boot twrp.img
It's simpler and it will boot to recovery and patch the ROM to be permanently installed.
amonlb said:
Bootloader is unlocked.
I did it that way but after twrp is installed I reboot and there is no twrp available. Only mi recovery.
To make it easier...
I would like to:
Flash twrp
Flash magisk and root
Flash firmware (why i need this?) Havoc os asks to flash it but I don't know why.
Flash havock os and gapps
Flash some mods for camera and sound
I don't understeand why twrp can't be flashed and I have no idea what is modified firmware for? Do I need this?
Thanks for your time
Click to expand...
Click to collapse
First,fastboot flash recovery twrp.img
and then no reboot your phone, just to hold the key combo (vol up + power), and then you can enter the twrp mode once because the recovery will be changed when your phone has rebooted.
But you can use the only once twrp mode to install the zip .
If you just want to use MIUI 10, you will flashboot twrp everytime when you need twrp to do something.
PS: Forgive me pool English.
rmrbpt said:
If you do
fastboot flash recovery twrp.img
and then do
fastboot boot twrp.img
It's simpler and it will boot to recovery and patch the ROM to be permanently installed.
Click to expand...
Click to collapse
Thanks, this worked!

Question Custom Recovery for OOS12?

Hey,
can someone tell me why I can't use the latest TWRP and OFRP in OOS12? When I try to boot them through Fastboot, it just freezes.
I really need a custom Recovery...
boot different
GriefNorth said:
boot different
Click to expand...
Click to collapse
What do you mean boot different???
I can only boot through fastboot, flashing just bricks it.
There's no other way..
I mean all my custom recovery was build for A11, with kernel and source for A11. For A12 - build with new kernel source or kernel image(boot.img)

Categories

Resources