I have downloaded the stock images from here and extracted, but I do not see a recovery image anywhere. I have tried to back it up stock recovery with Flashify but I get an error that the recovery partition couldn't be found. Has anyone got a copy of the stock recovery? I have not flashed TWRP and for the time being I don't plan to, but it would be nice to have the stock recovery just in case.
Thanks!
I think recovery is inside the boot image on A/B partition treble devices.
We don't have a recovery or cache partition anymore on our device.
Is there a way to extract it from the boot image? Does it matter? If I do flash TWRP is there any way to go back to stock recovery?
Related
Hi,
i want to return my tablet but before unrooting I want to flash stock recovery. How can I do it? I don't find it anywhere.
Thanks !
http://www.androidfilehost.com/?fid=23060877489996699
Were you able to flash the stock recovery?
I've fasboot flashed it several times and sitll have TWRP.
flar2 said:
Were you able to flash the stock recovery?
I've fasboot flashed it several times and sitll have TWRP.
Click to expand...
Click to collapse
I had this issue on my old Nexus. Erasing the partition before reflashing worked for me. Are you able to flash another custom recovery like CWM over TWRP?
Username invalid said:
I had this issue on my old Nexus. Erasing the partition before reflashing worked for me. Are you able to flash another custom recovery like CWM over TWRP?
Click to expand...
Click to collapse
I didn't try flashing a different recovery. I was going to try using dd to write to the partition.
Do you happen to know which partition the recovery is on?
According to TWRP the partition is:
/dev/block/mmcblk0p25
BTW are you sure your stock recovery img is stock recovery and not twrp masquerading as stock recovery due to some mixup somewhere? where/how did you get your stock recovery img?
Basically I'm stuck. Phone won't boot.....I can get to the white screen/bootloader.
It had a custom recovery on it (TWRP) so wonuldn't update....I followed a video to put the stock recovery on it.
I've downloaded a few files, stock recovery, stock boot etc.....put on sd card but no joy. It says reading sd card.....then "no image or wrong image"
In all honesty i'm so lost...Has anyone ever over come this???
vtec3483 said:
Basically I'm stuck. Phone won't boot.....I can get to the white screen/bootloader.
It had a custom recovery on it (TWRP) so wonuldn't update....I followed a video to put the stock recovery on it.
I've downloaded a few files, stock recovery, stock boot etc.....put on sd card but no joy. It says reading sd card.....then "no image or wrong image"
In all honesty i'm so lost...Has anyone ever over come this???
Click to expand...
Click to collapse
What are you trying to do in the first place?
If you're going to flash a custom rom, place the rom in your SD card or internal storage, do a full wipe and install the rom.
If you're returning to stock for OTA, restore your nandroid backup (system, kernel etc) after which flash your stock recovery and do a reset from settings than search for OTA.
If you can't boot into recovery, flash the latest TWRP on your phone through fastboot. Use the commands: fastboot flash boot boot.img
Bobbi lim said:
What are you trying to do in the first place?
If you're going to flash a custom rom, place the rom in your SD card or internal storage, do a full wipe and install the rom.
If you're returning to stock for OTA, restore your nandroid backup (system, kernel etc) after which flash your stock recovery and do a reset from settings than search for OTA.
If you can't boot into recovery, flash the latest TWRP on your phone through fastboot. Use the commands: fastboot flash boot boot.img
Click to expand...
Click to collapse
dude i know you are trying to help but please get your facts right and complete !
flashing a recovery image to the boot partition is not helping !!!
it's : fastboot flash recovery recovery.img
Mr Hofs said:
dude i know you are trying to help but please get your facts right and complete !
flashing a recovery image to the boot partition is not helping !!!
it's : fastboot flash recovery recovery.img
Click to expand...
Click to collapse
Bobbi lim said:
What are you trying to do in the first place?
If you're going to flash a custom rom, place the rom in your SD card or internal storage, do a full wipe and install the rom.
If you're returning to stock for OTA, restore your nandroid backup (system, kernel etc) after which flash your stock recovery and do a reset from settings than search for OTA.
If you can't boot into recovery, flash the latest TWRP on your phone through fastboot. Use the commands: fastboot flash boot boot.img
Click to expand...
Click to collapse
It had a custom recovery on it Team win recovery project......which was stopping the software from updating.
So tried to put the stock recovery back on it.
At the moment I don't think its corresponding properly with my laptop......in the fastboot menu it does come up "fastboot usb" Drivers are installed too
But when trying to send it commands via command prompt it keeps saying device not found.
I'm wondering if it has deleted to operating system , as on the fastboot menu next to " OS - it says nothing "
Sorry for being brief....this is the first time i've ever come across all this stuff
I've had AOKP & TWRP installed for nearly 3 years. The phone started rebooting occasionally when I would go to manage apps and kill an app. It finally got hosed really good on the last reboot and it got stuck in a TWRP boot loop. I was able to use odin to reflash TWRP and after the initial flash I could get into TWRP recovery. Unfortunately I don't have any of the necessary image files on the sdcard. I then tried to flash a converted AOKP zip (now a tar converted with toolkit). I am not able to get either the toolkit or adb detect the device although I am able to flash with odin. I flashed the AOKP tar image with odin but now when it boot it stays on the Galaxy Note 2 screen and goes no further.
Now I can only get in download mode and since odin seems to be the only thing that is working for me my question is can I use it to flash AOKP and GAPPS (both of which I have on computer)? If so, what format does the AOKP file need to be? img, tar or what? Also can I convert the gapps zip file to a tar and use odin to flash it?
Much thanks in advance. I plan to purchase a new device soon but would like to get this working again as a backup.
Regards, ~metafizik
Use a stock/rooted .tar image to restore the device partition structure.
It contains the PIT for remapping...
Once a stock rooted rom is flashed and running...flash TWRP 2.8.6.0 via Odin...
Then create a nandroid backup to SD CARD..
You can then flash AOKP and GAPPS as .zip files...in TWRP
It's a bit more work....but you'll have a clean backup and a way back if trouble hits...along with fresh partitions...g
I recommend flashing back to stock, get the phone set up using stock, install TWRP, take a nandroid backup, and then flash a custom ROM.
The recovery images all over this site seem really sketchy, but roms often come with great recovery and updates. I can flash the rom's boot.img during the update, but I also see that fastboot has a flash to recovery option. Is it OK to flash the boot.img to recovery or do I have to somehow extract recovery out of the boot.img? If I do a flash to recovery does that make TWRP permanent or can it still be overwritten by flashing new roms?
bananabytes said:
The recovery images all over this site seem really sketchy, but roms often come with great recovery and updates. I can flash the rom's boot.img during the update, but I also see that fastboot has a flash to recovery option. Is it OK to flash the boot.img to recovery or do I have to somehow extract recovery out of the boot.img? If I do a flash to recovery does that make TWRP permanent or can it still be overwritten by flashing new roms?
Click to expand...
Click to collapse
Get twrp from here - http://forum.xda-developers.com/sony-xperia-z1-compact/general/twrp-3-0-1-amami-t3350827 and flash with Rash for non-stock roms. For stock roms, net's xzdr is best - http://nut.xperia-files.com/
If a rom has a recovery included, it will probably overwrite your recovery. For best staying power, make sure you use real recovery - http://forum.xda-developers.com/son...ral/bootloader-devices-real-recovery-t3117568 but even then you might still have to reflash your img, depending on the rom you install.
levone1 said:
Get twrp from here - http://forum.xda-developers.com/sony-xperia-z1-compact/general/twrp-3-0-1-amami-t3350827 and flash with Rash for non-stock roms. For stock roms, net's xzdr is best - http://nut.xperia-files.com/
If a rom has a recovery included, it will probably overwrite your recovery. For best staying power, make sure you use real recovery - http://forum.xda-developers.com/son...ral/bootloader-devices-real-recovery-t3117568 but even then you might still have to reflash your img, depending on the rom you install.
Click to expand...
Click to collapse
Thank you so much. I had the latest TWRP from the AICP rom but it was within the boot image and I couldn't seem to find a plain TWRP image that wasn't on some sketchy thread.
Also I was unaware that my firmware was out of date. When I was installing a rom I saw a number that related to the latest firmware so I assumed I had it. I was confused why using flashboot to flash to recovery wasn't working. It looks like the recovery image was always within the boot image and was getting wiped out with roms that didn't include a recovery image in there (AH HEM PARANOID ANDROID). It seems that I was able to flash the img to the special recovery now and I don't think it's getting wiped out. Thanks very much.
How does one get back to stock recovery for the Mate SE BND-L34?
My phone is rooted with TWRP/Magisk but would like to try AOSP to see if it will fix my issues but AOSP says it won't work with twrp. Thanks
teatimecrumpet said:
How does one get back to stock recovery for the Mate SE BND-L34?
My phone is rooted with TWRP/Magisk but would like to try AOSP to see if it will fix my issues but AOSP says it won't work with twrp. Thanks
Click to expand...
Click to collapse
ASOP will work with both TWRP and Magisk. The install is different as you flash just a system image from fastboot instead of through TWRP. The only other issue that I know of is with a factory reset/wipe which is needed when installing a GSI like most of the ASOP stuff. If you do a factory wipe through TWRP, you will brick your device. The factory wipe has to be done through the stock recovery. Basically, download the firmware for your phone and extract either 'recovery' or 'recovery_ramdisk' depending on if you are on Oreo or Pie. Flash that file through fastboot "fastboot flash (name of reovery partition on your device) (name of recovery file in the fast boot folder) for mine it looks like this "fastboot flash recovery recovery.img"
You will have to reinstall magisk after you install your choosen GSI