Custom recovery issues - Android Q&A, Help & Troubleshooting

Hello
I recently bought a new device (lollipop version) and I've rooted it successfully so I decided to flash a custom recovery because I want to back up my OS before I start flashing xposed framework.
So I searched the net for a custom recovery for my device (Infinix hot 3 x554) and I found one, then I flashed the custom recovery using mobileuncle root and I reboot into recovery and nothing changed my stock recovery was still there, then after booting my device I flashed the custom recovery again using flashify and I reboot into recovery my phone just booted normally instead if taking me to recovery mode, now my stock recovery isn't there anymore, please I need assistant on how to fix this.
My device: Infinix Hot 3 x554
Version: 5.1
Kernel Version: 3.10.72+
Build Number: x554-W90918-A2-L-20160607
I used kingroot to root the device.
Thank you

It seems your recovery partition restores itself or there are specific scripts in your boot.img which restores stock recovery when detects modified recovery. You must install it via fastboot.
Obtain fastboot and run this command (You can have it with Android SDK or you can find it in Google too.).
Code:
fastboot flash recovery *filename*.img
But you have to be sure you have proper drivers for your device.

Okay, but I did some little research about how to flash recovery and I saw something about unlocking bootloader, so could it be because I haven't unlocked my bootloader that's why it didn't work?

Spadex said:
Okay, but I did some little research about how to flash recovery and I saw something about unlocking bootloader, so could it be because I haven't unlocked my bootloader that's why it didn't work?
Click to expand...
Click to collapse
Yes. You need to unlock bootloader before flashing custom recovery. Locked bootloader prevents modify stock partition.

Ashwinrg said:
Yes. You need to unlock bootloader before flashing custom recovery. Locked bootloader prevents modify stock partition.
Click to expand...
Click to collapse
So after I unlock the bootloader, should I use flashify to flash the custom recovery or I should just use PC to flash it

Spadex said:
So after I unlock the bootloader, should I use flashify to flash the custom recovery or I should just use PC to flash it
Click to expand...
Click to collapse
Use fastboot command to flash recovery.img

sachin n said:
Use fastboot command to flash recovery.img
Click to expand...
Click to collapse
Okay thanks for your time.

Related

Recovery for XTZ 4.2.2 (Wifi-only)

Hi,
here http://forum.xda-developers.com/showthread.php?t=2295694 a user explained how to install cwm-based recovery. my tablets build no. is 10.3.1.C.0136 (4.2.2 stock rom), there is no download for this firmware. does it only work with 4.1.2? is there a solution to use recovery with 4.2.2?
the tablet is rooted, but the bootloader isn't unlocked? is it import which method i use to unlock the bootloader? there is a how to in cyanogenmod-wiki.
piere
Hi,
- if you want to stay on stock rom/stock kernel with locked bootloader, you can install this dual recovery http://forum.xda-developers.com/showthread.php?t=2261606 --> the philz touch recovery is working well on my SGP312 running 10.3.1.C.0136
On Unlock Bootloader ( backup your TA partitions before unlocking in case you want to relock bootloader one day, then unlock your tab with sony tool)
- if you want to stay on stock kernel with unlocked bootloader, you should install this http://forum.xda-developers.com/showthread.php?t=2261606 or http://forum.xda-developers.com/showthread.php?t=2433466
- if you want to install rom with non stock kernel (CM ...), you need to flash boot.img from cm10 zip (fastboot flash boot boot.img) : recovery is included in it because XTZ doesn't have recovery partiton
is there any advantage using an unlocked bootloader? something i can't do with a locked bootloader?
ibis69 said:
- if you want to stay on stock rom/stock kernel with locked bootloader, you can install this dual recovery http://forum.xda-developers.com/showthread.php?t=2261606 --> the philz touch recovery is working well on my SGP312 running 10.3.1.C.0136
...
- if you want to stay on stock kernel with unlocked bootloader, you should install this http://forum.xda-developers.com/showthread.php?t=2261606
Click to expand...
Click to collapse
it seams the procedure is the same for locked and unlocked bootloader?
or http://forum.xda-developers.com/show....php?t=2433466
Click to expand...
Click to collapse
for that i have to install "fastboot", this means to tool "minimal adb and fastboot" or is there a other tool i can do the same?
ok, i installed the dual recovery on my unlocked bootloader, it seams all worked fine. but how can i start the recovery? is there an app (i couldn't find any nerw app) or must i boot the tablet into the recovery?
PiereMallao said:
ok, i installed the dual recovery on my unlocked bootloader, it seams all worked fine. but how can i start the recovery? is there an app (i couldn't find any nerw app) or must i boot the tablet into the recovery?
Click to expand...
Click to collapse
Hi for the dual recovery, press volume UP at boot to access CWM recovery or volume down to access TWRP recovery.
U can too install xposed framework and this module (http://forum.xda-developers.com/showthread.php?t=2411887) to add 4 way reboot to the stock rom, when you select reboot to recovery you will acess CWM recovery after reboot
i booted into twrp recovery, but now the screen is locked and i can't unlock. there is no reaction (keys or touch).
PiereMallao said:
i booted into twrp recovery, but now the screen is locked and i can't unlock. there is no reaction (keys or touch).
Click to expand...
Click to collapse
Hi, you have not flash the lastest dual recovery avaible( twrp orientation was broken on old release for XTZ), you need to flash this one from recovery
http://nut.xperia-files.com/?dlid=VGFiWi1sb2NrZWRkdWFscmVjb3ZlcnktQkVUQS51cGRhdGU=
You will have working twrp
ibis69 said:
you need to flash this one from recovery http://nut.xperia-files.com/?dlid=VGFiWi1sb2NrZWRkdWFscmVjb3ZlcnktQkVUQS51cGRhdGU=
Click to expand...
Click to collapse
that means first boot into the existing recovery and install the latest recovery and not install it from windows pc?
PiereMallao said:
that means first boot into the existing recovery and install the latest recovery and not install it from windows pc?
Click to expand...
Click to collapse
yes, it's an update package of the dual recovery so you have to update it from cwm recovery

[HELP ME PLEASE] I Accidentally flashed fastboot with recovery.img ..??!!

Recently, i was on bootloop ... i tried to flash my original recovery and fastboot. But, i accidentally execute the wrong command... Now there's no way i cant get to bootloader or flash something again, any other ways?
A lot more info needed, what device, what was command, etc
The more info the more accurate the help
Tell us more info about the device.
Can you flash anything through ADB or using fastboot?
Sent from my VF-895N using XDA Free mobile app
Thomas Wolff said:
Tell us more info about the device.
Can you flash anything through ADB or using fastboot?
Sent from my VF-895N using XDA Free mobile app
Click to expand...
Click to collapse
ASUS ZENFONE T00J, LOLIPOP 3.23.40.52 , Yes i can connect via adb from recovery... but i cant fastboot, the bootloader is the only way to use fastboot.
demkantor said:
A lot more info needed, what device, what was command, etc
The more info the more accurate the help
Click to expand...
Click to collapse
i flash, fastboot flash boot recovery.img , it should be flash recovery recovery.img
You changed you kernel to a recovery.IMG, try and find a flashable.zip of your boot.IMG and flash via twrp
Although I'm not familiar with this particular device it should allow you to boot to bootloader regardless of kernel, at least any device I have used does this
Is the recovery a custom recovery? If so does it have an option to reboot to bootloader?
Otherwise try
adb reboot bootloader
demkantor said:
You changed you kernel to a recovery.IMG, try and find a flashable.zip of your boot.IMG and flash via twrp
Although I'm not familiar with this particular device it should allow you to boot to bootloader regardless of kernel, at least any device I have used does this
Is the recovery a custom recovery? If so does it have an option to reboot to bootloader?
Otherwise try
adb reboot bootloader
Click to expand...
Click to collapse
So, i flashed the recovery*TWRP) to bootloader that made the bootloader changed to recovey, i tried to REboot to bootloader but it always came to TWRP, i boot to recovery it came to asus recovery
.
Boot is the kernel, so there is a chance you are still OK
Try flashing original firmware through factory recovery
http://support.asus.com/download.as...ne 5&p=39&s=1&os=32&hashedid=96nqlxHp1VKV4Rdz
I tried to flash the same firmware via ADB sideload, but it said " Only with android 4.4.2 that you can updrage to android 5.0. E:Erron in /sideload/package.zip (Status 7).
It looks like there are downgrade instructions in each firmware download, try this method out

Stuck on cyanogenmod Recovery with bootloader locked (oem locked)

Hello guys. I unlocked the bootloader via adb (fastboot oem unlock) and flashed the cyanogenmod Recovery and after that i flashed Cyanogemod 13 (the official nightly).
Then I relocked the bootloader (fastboot oem lock)
Until here everything is fine. The problem is: After that I use my phone with CM13 normally, but I wanted to go back to stock, so I turn on developer options then i turned on the OEM unlocking thing, and usb debuging. And when i entered in fastboot mode to unlock the bootloader again i wrote via adb fastboot oem unlock the phone rebbot and now i am stucked on cyanogenmode recovery with the bootloader locked.
Another thing: if i flash the cyanogen 13 again the phone will allways reboot to recovery.
ateresabelo said:
Hello guys. I unlocked the bootloader via adb (fastboot oem unlock) and flashed the cyanogenmod Recovery and after that i flashed Cyanogemod 13 (the official nightly).
Then I relocked the bootloader (fastboot oem lock)
Until here everything is fine. The problem is: After that I use my phone with CM13 normally, but I wanted to go back to stock, so I turn on developer options then i turned on the OEM unlocking thing, and usb debuging. And when i entered in fastboot mode to unlock the bootloader again i wrote via adb fastboot oem unlock the phone rebbot and now i am stucked on cyanogenmode recovery with the bootloader locked.
Another thing: if i flash the cyanogen 13 again the phone will allways reboot to recovery.
Click to expand...
Click to collapse
Never lock bootloader unless you are on stock ROM (oos). Now you need to unlock bootloader.For that you need stock ROM and stock recovery. Are you able to boot to any ROM,cm 13?
@ateresabelo maybe you have to flash stock Rom. Hopefully then it will allow you to unlock bootloader. Best of luck mate.
saurabh40629 said:
Never lock bootloader unless you are on stock ROM (oos). Now you need to unlock bootloader.For that you need stock ROM and stock recovery. Are you able to boot to any ROM,cm 13?
Click to expand...
Click to collapse
Thanks for the reply.
I can flash CM 13 ROM with cyanogenmod Recovery, but when the flash finish, when I reboot, the phone boot into recovery mode, and not boot into the ROM. So it flash the ROM without errors but boot into the Recovery again.
ateresabelo said:
Thanks for the reply.
I can flash CM 13 ROM with cyanogenmod Recovery, but when the flash finish, when I reboot, the phone boot into recovery mode, and not boot into the ROM. So it flash the ROM without errors but boot into the Recovery again.
Click to expand...
Click to collapse
Flash stock ROM. Download it from oneplus website. And use TWRP recovery instead. Cwm is kind of obsolete and i m not sure if it works perfectly.
saurabh40629 said:
Flash stock ROM. Download it from oneplus website. And use TWRP recovery instead. Cwm is kind of obsolete and i m not sure if it works perfectly.
Click to expand...
Click to collapse
I cant do that. Because when I try to flash TWRP I recive the message that the bootloader is locked.
ateresabelo said:
I cant do that. Because when I try to flash TWRP I recive the message that the bootloader is locked.
Click to expand...
Click to collapse
Download zip file and flash from cwm, not from fastboot.
saurabh40629 said:
Download zip file and flash from cwm, not from fastboot.
Click to expand...
Click to collapse
The thing is the recovery that i have is not CWM is the cyanogenmod Recovery (with oem locked). I only can boot into CM 13 ROM if i go to the fastboot mode and then type: fastboot continue. If I do that I can use the phone with CM 13.
But when I reboot my phone from the ROM it come back to the cyanogen Recovery and not boot to the CM 13 ROM. And I have to repeat the process: Go to fastboot and type fastboot continue in order to boot on my ROM.
So is any way to unlock the bootloader, like fastboot oem unlock (with the cyanogenmod Recovery instaled) in order to flash the OPX stock recovery or the TWRP recovery?
ateresabelo said:
The thing is the recovery that i have is not CWM is the cyanogenmod Recovery (with oem locked). I only can boot into CM 13 ROM if i go to the fastboot mode and then type: fastboot continue. If I do that I can use the phone with CM 13.
But when I reboot my phone from the ROM it come back to the cyanogen Recovery and not boot to the CM 13 ROM. And I have to repeat the process: Go to fastboot and type fastboot continue in order to boot on my ROM.
So is any way to unlock the bootloader, like fastboot oem unlock (with the cyanogenmod Recovery instaled) in order to flash the OPX stock recovery or the TWRP recovery?
Click to expand...
Click to collapse
Ok, do one thing. Download flashify app and flash stock oxygen recovery through it. Remember this is an app. After that when you go to recovery, you should have stock oxygen recover. Flash oxygen os after that from stock recover. Try and let me know.
saurabh40629 said:
Ok, do one thing. Download flashify app and flash stock oxygen recovery through it. Remember this is an app. After that when you go to recovery, you should have stock oxygen recover. Flash oxygen os after that from stock recover. Try and let me know.
Click to expand...
Click to collapse
Thanks, mate. When I arrive at home I will try it and I will let you know.
saurabh40629 said:
Ok, do one thing. Download flashify app and flash stock oxygen recovery through it. Remember this is an app. After that when you go to recovery, you should have stock oxygen recover. Flash oxygen os after that from stock recover. Try and let me know.
Click to expand...
Click to collapse
Just another question: for that task (flash the OPX stock recovery do I need root access?) I am asking this because I do not have the SUperSu installed. So maybe I need to use the cyanogenmod Recovery to flash the SuperSU and hope it works and then use flashify, right?
ateresabelo said:
Just another question: for that task (flash the OPX stock recovery do I need root access?) I am asking this because I do not have the SUperSu installed. So maybe I need to use the cyanogenmod Recovery to flash the SuperSU and hope it works and then use flashify, right?
Click to expand...
Click to collapse
Yes, it does. You can enable inbuilt root access in developer settings in cm13.
saurabh40629 said:
Yes, it does. You can enable inbuilt root access in developer settings in cm13.
Click to expand...
Click to collapse
Thanks a lot. So, I am ready to do that. I have the stock Recovery for the OPX from OnePlus website and now I am ready to flash it via Flashify.
Just the last question, If I flash the stock recovery with the bootloader locked, does it will hardbrick or softbrick my phone? I just ask that, not because I dont trust you, because I trust, but because I read that is not a good ideia flash recoverys or roms with the bootloader locked.
Thanks again in advance, mate.
saurabh40629 said:
Yes, it does. You can enable inbuilt root access in developer settings in cm13.
Click to expand...
Click to collapse
It worked, mate! Thanks a lot. Now I have the Stock OPX Recovery and the OxygenOS. Amazing! SO I can assume that I can now securly unlock the bootloader, flash TWRP and NEVER relock the bootloader again, right? (Unless if I have the stock Recovery and the stock ROM.)
Thanks a lot, again!!!
ateresabelo said:
It worked, mate! Thanks a lot. Now I have the Stock OPX Recovery and the OxygenOS. Amazing! SO I can assume that I can now securly unlock the bootloader, flash TWRP and NEVER relock the bootloader again, right? (Unless if I have the stock Recovery and the stock ROM.)
Thanks a lot, again!!!
Click to expand...
Click to collapse
Glad u solved it. U got it, Just don't lock the bootloader again. There are some very good ROMs apart from cm13, try them. Happy flashing.
saurabh40629 said:
Glad u solved it. U got it, Just don't lock the bootloader again. There are some very good ROMs apart from cm13, try them. Happy flashing.
Click to expand...
Click to collapse
Thanks a lot. I only used CM 13 (nigtly and Paranoid 6.0.1). What do you suggest?
ateresabelo said:
Thanks a lot. I only used CM 13 (nigtly and Paranoid 6.0.1). What do you suggest?
Click to expand...
Click to collapse
Just look at ROM section and decide, Its raining ROMs for oneplus x. ROMs( like zephyr, orion, ownROM etc) compiled with UBER toolchain are smoother, so you may wanna try them to get awed.
saurabh40629 said:
Just look at ROM section and decide, Its raining ROMs for oneplus x. ROMs( like zephyr, orion, ownROM etc) compiled with UBER toolchain are smoother, so you may wanna try them to get awed.
Click to expand...
Click to collapse
I will and thanks again. :good:

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