[Q] Does recovery related to boot?? - Android Q&A, Help & Troubleshooting

Hi. I'm new in compling cyanogenmod and
I successfully compile cwm for my device
1. I mean, If I test the custom boot.img and it won't boot or stuck in bootloop. (The boot part is broken).
Can I still boot into recovery after that?
I fear to test my compiled boot.
2. Can I test boot.img by 'fastboot boot boot.img' command? Will it work?
Last, My device is only sold in my country and no one made any custom rom or kernel for the device.
My device is ZTE-V817 that using CPU Qualcomm msm8225q.
The CPU is same as Blade V. I trying to use Blade V kernel for my rom.
Sorry for my bad english skill.

lenkyun said:
Hi. I'm new in compling cyanogenmod and
I successfully compile cwm for my device
1. I mean, If I test the custom boot.img and it won't boot or stuck in bootloop. (The boot part is broken).
Can I still boot into recovery after that?
I fear to test my compiled boot.
2. Can I test boot.img by 'fastboot boot boot.img' command? Will it work?
Last, My device is only sold in my country and no one made any custom rom or kernel for the device.
My device is ZTE-V817 that using CPU Qualcomm msm8225q.
The CPU is same as Blade V. I trying to use Blade V kernel for my rom.
Sorry for my bad english skill.
Click to expand...
Click to collapse
there is recovery.img for recovery mode

Vaibhav Chauhan said:
there is recovery.img for recovery mode
Click to expand...
Click to collapse
Thanks for reply.
I mean, It not require boot before recovery right?

lenkyun said:
Thanks for reply.
I mean, It not require boot before recovery right?
Click to expand...
Click to collapse
right

The boot.img (i think you are talking about a kernel image) is independent from recovery.img (your image). If you flash a bad kernel for your device it will stuck on bootloop but you can access download mode/emergency/recovery etc. There is no problem is you mess up your kernel the flashing command from fastboot is usually : fastboot flash boot boot.img (you must have the boot.img in the same folder as fastboot). Good luck my friend.

christi9503 said:
The boot.img (i think you are talking about a kernel image) is independent from recovery.img (your image). If you flash a bad kernel for your device it will stuck on bootloop but you can access download mode/emergency/recovery etc. There is no problem is you mess up your kernel the flashing command from fastboot is usually : fastboot flash boot boot.img (you must have the boot.img in the same folder as fastboot). Good luck my friend.
Click to expand...
Click to collapse
i'm also saying that

zte v817
lenkyun said:
Hi. I'm new in compling cyanogenmod and
I successfully compile cwm for my device
1. I mean, If I test the custom boot.img and it won't boot or stuck in bootloop. (The boot part is broken).
Can I still boot into recovery after that?
I fear to test my compiled boot.
2. Can I test boot.img by 'fastboot boot boot.img' command? Will it work?
Last, My device is only sold in my country and no one made any custom rom or kernel for the device.
My device is ZTE-V817 that using CPU Qualcomm msm8225q.
The CPU is same as Blade V. I trying to use Blade V kernel for my rom.
Sorry for my bad english skill.
Click to expand...
Click to collapse
hey,do you still have the original Rom of zte v817 i want your help really man...save me ;s:angel:

Related

Wrong kernel flashed plz help [solved]

unfortunately I flashed my one max with wrong kernel
my max is:
-international
-bootloader unlocked
-CWM Recovery
and I can go to recovery
what is the steps needed to fix this stupid mistake
mostafa0007 said:
unfortunately I flashed my one max with wrong kernel
my max is:
-international
-bootloader unlocked
-CWM Recovery
and I can go to recovery
what is the steps needed to fix this stupid mistake
Click to expand...
Click to collapse
Flash the correct one. Either get the flashable zip and flash through recovery or get the boot.img and place in your working Fastboot directory. Then boot phone into Fastboot mode and do a "Fastboot flash boot (name of img) "
dottat said:
Flash the correct one. Either get the flashable zip and flash through recovery or get the boot.img and place in your working Fastboot directory. Then boot phone into Fastboot mode and do a "Fastboot flash boot (name of img) "
Click to expand...
Click to collapse
thank you for replay
I cant find a stock kernel
I tried lunar and fly and phone still stuck on the splash screen
mostafa0007 said:
thank you for replay
I cant find a stock kernel
I tried lunar and fly and phone still stuck on the splash screen
Click to expand...
Click to collapse
Do you have the original Rom zip that you installed? The boot.img should be inside that
dottat said:
Do you have the original Rom zip that you installed? The boot.img should be inside that
Click to expand...
Click to collapse
I didn't install any roms until now so I haven't it
should I try to set up a custom rom ?
I just flashed a Custom rom and the phone works again
Thanks...............

Old kernel restored after rebot, why?

Hi,
I have the problem with kernel, I'am using ViMiRo rom with dediacated kernel by mikhei777, but each time after phone reboot the old one kernel (nexus prime) is restored. So, each time after reboot I need to instal new kernel. I am doing that via fastboot.
What can be the reason, what to do?
Maybe wrong fastboot command ??
use - fastboot flash boot boot.img
don't use - fastboot boot boot.img
ckpv5 said:
Maybe wrong fastboot command ??
use - fastboot flash boot boot.img
don't use - fastboot boot boot.img
Click to expand...
Click to collapse
It's working!!!!!!
Many thanks!
MARCIN2M said:
It's working!!!!!!
Many thanks!
Click to expand...
Click to collapse
Just press the thanks button instead of telling him..

Can't get onto latest TWRP

So I am stuck on TWRP 2.7.1.0 and i am running slimrom 4.4.4 on a c6833 and the reason for this is because it's the only thing that will boot on my phone. There was some intense trial and error a few months ago and a few days with a bricked phone but I finally got it running again, and I am nervous about messing things up again.
I am wanting to move to a more up to date ROM either scrubber port 5.1 or remix 5.1.1, but they both ask for updated TWRP to install. And I can't update TWRP using the TWRP tool from the store. It downloads but when it tries to install it says there is a problem. Previously, trying to update TWRP would result in SONY bootloops. I was about to try the dd method but just wanted to make sure it was safe.
I am a bit of an idiot (I got rid of my encrypted keys on day 2 of owning the phone) so any help would be appreciated.
Thanks!
walkingagh said:
...
Click to expand...
Click to collapse
The easiest way is to use Rashr. It should set everything up automatically. You may then reboot to recovery from the ROM, or by holding Vol- when the LED turns purple on boot-up.
If that doesn't work, for whatever reason, try dd or Flashtool. Using Flashtool, you can flash openrecovery-twrp-2.8.5.0-togari.img with the phone in Fastboot mode.
Let me know if you have any further questions!
Used Rashr...and now I can't get into recovery. I can still boot into my phone, but booting into recovery just fails with a yellow LED?
So Rashr still says I have 2.7.1.0 installed. :/
walkingagh said:
Used Rashr...and now I can't get into recovery. I can still boot into my phone, but booting into recovery just fails with a yellow LED?
Click to expand...
Click to collapse
Alright, you likely need a newer kernel first. Using Flashtool, you can flash this boot.img (newest AICP kernel) to the boot partition using the Fastboot mode (or use fastboot manually from the Flashtool/x10flasher_lib folder with "fastboot flash boot boot.img"). At this moment, you'll no longer be able to boot into the ROM, so make sure you've done all necessary backups and are ready to install a newer ROM. Then use Flashtool/Fastboot to flash the openrecovery-twrp-2.8.5.0-togari.img file to your recovery/FOTAKernel partition ("fastboot flash recovery openrecovery-twrp-2.8.5.0-togari.img"). You should be able to enter recovery now.
Awesome thanks! Will I need to do this each time I flash a ROM? Or can I just jump from something like scrubber to something else?
I know this is an old thread but is that the boot image I need to run TWRP 3? If so, can I do this via dd?
Triflot said:
Alright, you likely need a newer kernel first. Using Flashtool, you can flash this boot.img (newest AICP kernel) to the boot partition using the Fastboot mode (or use fastboot manually from the Flashtool/x10flasher_lib folder with "fastboot flash boot boot.img"). At this moment, you'll no longer be able to boot into the ROM, so make sure you've done all necessary backups and are ready to install a newer ROM. Then use Flashtool/Fastboot to flash the openrecovery-twrp-2.8.5.0-togari.img file to your recovery/FOTAKernel partition ("fastboot flash recovery openrecovery-twrp-2.8.5.0-togari.img"). You should be able to enter recovery now.
Click to expand...
Click to collapse
That file has expired, any chance you can re-post it?

How install TWRP 3.0

I try to install .img file in recovery, but after install this, my phone shutdown in software brick....
AyalaE96 said:
I try to install .img file in recovery, but after install this, my phone shutdown in software brick....
Click to expand...
Click to collapse
Don't use install img option on twrp it may not work always
Instead of that you can flash recovery using fastboot with "fastboot flash recovery (the name of recovery).img) command
raminta said:
Don't use install img option on twrp it may not work always
Instead of that you can flash recovery using fastboot with "fastboot flash recovery (the name of recovery).img) command
Click to expand...
Click to collapse
I tried, and it didnt work...
AyalaE96 said:
I tried, and it didnt work...
Click to expand...
Click to collapse
Do you have unlocked bootloader???
raminta said:
Do you have unlocked bootloader???
Click to expand...
Click to collapse
yep
raminta said:
Do you have unlocked bootloader???
Click to expand...
Click to collapse
I solved it, I first must install Repack boot with "fastboot flash boot ...img"
After install recovery with "Fastboot flash recovery ...img"
My error Because I should read this first...
Dees_Troy said:
Note that the Z2, like most other Sony devices does not have a proper bootable recovery. As such you have to install a kernel that includes a recovery with it. For a time I will try to continue to supply updated stock kernels repacked with TWRP in them. If you are running one of my kernels or have a custom ROM like OmniROM installed, you can install TWRP in the FOTAKernel partition to stay on the latest version of TWRP.
Device page on our website
Mirror 1
Mirror 2
To install a stock kernel, boot the device into fastboot mode and then from your computer: fastboot flash boot path/to/filename.img
Click to expand...
Click to collapse
However is it true? With latest updates there was bootloader update which brings (or at least should as Sony said) /recovery partition (or more gives access to it, coz partitions was probably always there).
However how it exactly works? I always thought that onee flashed update with newest bootloader will leave new bootloader and this partition forever. But I got Z2 with .291, downgraded it to 4.4.2 for Root and TA backup and than tried to flash recovery to recovery partition, but got error: FAILED (data transfer failure (Unknown error)).
Does it mean that only on latest update(s) there is possibility to use this partition?
Never tried it on my ZU before. I just started form latest 5.1.1.
EDIT: OK, so what i assumed was right - on 6.0.1 I was able to flash the recovery to it's partition.
Now the problem is with booting into it. How? With Power + Vol- it still stright to boots to OS...
EDIT2: adb reboot recovery boots to different bootloader screen (Power+Vol- gives SONY screen and adb gives SONY + XPERIA screen.
However it still boots strght to Android...
Any idea what I'm doing wrong? I have 23.5.A.1.291 + unlocked bootloader + TWRP 3.0.2-0 (official) flashed with fastboot flash recovery img.
I'm 100% sure that SONY screen (w/o XPERIA) is the right one as I have identical one on my ZU when booting into bootloader-recovery mode. But why here it don't boot TWRP, but OS?
HELPPPP
Pleaseeeee tell me how did you flash twrp 3.0? I have tried almost everything it now seems impossible for me... Pleaseee helpp me T_T ... Thankk youuu

Softbrick after twrp flash

Hi everyone,
I tried to install Lineage OS on my Xperia Tablet Z Wifi and followed the instructions here: https://wiki.lineageos.org/devices/pollux_windy/install
I am on Ubuntu and I did unlock the bootloader successfully. Then I tried to flash twrp but this is where things went wrong.
After entering
Code:
fastboot flash boot ./twrp-3.5.2_9-0-pollux_windy.img
the device did not start anymore. I can still enter fastboot mode and the device is recognized on the PC but else the only thing that happens is the LED blinking red.
Any ideas where to go from here are appreciated.
Rootk1t said:
you flashed recovery to boot. So only recovery exists in boot section.
Of course tablet won't boot afterwards, as there is not kernel.
Download custom rom you want to install, unpack boot.img from roms zip files and flash via "fastboot flash boot boot.img"
Afterwards enter recovery and flash custom rom zip, gapps or whatever you need.
Click to expand...
Click to collapse
I tried this but flashing the boot.img does not change anything unfortunately.
brickedmytablet said:
I tried this but flashing the boot.img does not change anything unfortunately.
Click to expand...
Click to collapse
You can reflash stock ROM via Flashtool v.0.9.18.6. or flash another boot.img to check if it boots or not.
Thank you, this worked for me.
Should have used the right twrp form the beginning. flash to boot works if it is the right version in my case scorpion_windy

Categories

Resources