[Q] Need help building recovery.zip - Miscellaneous Android Development

I want to build a zip to flash/update the recovery. I can currently build recovery.img and flash it with fastboot. (using `mka recoveryimage`)
`mka recoveryzip` will build fakeflash zip but not writing to recovery partition. is there any rule to add to my Android.mk to build a real recovery zip?

Related

Convert fastboot flashable files into .zip

[Q] Can I convert a cwm flashable file (.zip) into fastboot flashable file (.img) ? I want to flash cwm through fastboot so that I don't need to root. Help me.

[Universal] How to flash recovery or boot.img without PC using CWM

Hello Droiders!! I am presenting Universal boot.img or recovery.img flasher zip.
Disclaimer:I or XDA Developers will not be responsible for any damage of your Device.A Backup is highly recomanded.
Things You Will Needed:
1) CWM must be installed in your Device.
2) boot.img or recovery.img that you want to flash.
3) Any application for zip/uzip.
Instruction for boot.img:
1) Download Universal_Boot_Img_flasher.zip from the attachment.
2) unzip the zip and there will be a folder named boot.Put your boot.img(must named as 'boot.img') in boot folder.
3) zip the folder again and flash the zip through CWM
Instruction for recovery.img:
1) Download Universal_Recovery_Img_flasher.zip from the attachment.
2) unzip the zip and there will be a folder named recovery.Put your recovery.img(must named as 'recovery.img') in that folder.
3) zip the folder again and flash the zip through CWM
Hello Droiders!! I am presenting Universal boot.img or recovery.img flasher zip.
Disclaimer:I or XDA Developers will not be responsible for any damage of your Device.A Backup is highly recomanded.
Things You Will Needed:
1) CWM must be installed in your Device.
2) boot.img or recovery.img that you want to flash.
3) Any application for zip/uzip.
Instruction for boot.img:
1) Download Universal_Boot_Img_flasher.zip from the attachment.
2) unzip the zip and there will be a folder named boot.Put your boot.img(must named as 'boot.img') in boot folder.
3) zip the folder again and flash the zip through CWM
Instruction for recovery.img:
1) Download Universal_Recovery_Img_flasher.zip from the attachment.
2) unzip the zip and there will be a folder named recovery.Put your recovery.img(must named as 'recovery.img') in that folder.
3) zip the folder again and flash the zip through CWM
Tested Devices:
1) Samsung galaxy s2
2) HTC one
3) Andromax C2
4) Micromax A110
6) Samsung galaxy star pro
6) Samsung galaxy S dous 2
Q/A:
1) What is this?
-> There is lots of method in XDA for flashing boot.img or recovery.img without PC.But in those methods you may have to know the boot or recovery mount point for newbies it is difficult.To solve this i have made this flasher.This is a universal flashable zip for flashing boot.img or recovery.img.This will work on any Device.
2) How it works?
-> When you flash this script using recovery,then the script get boot or recovery partition mount point from /etc/recovery.fstab and flash you boot.img or recovery.img in that partition.
If You Like it then Hit My Thanks Button. :good:
Yes this works...my device is Alcatel One Touch Pop C2. I didn't have an sdcard to flash from recovery so i used flashify and it worked. Thanks for this.
Dear, this universal recovery can be apply on andriod tv box devices? specialy on x96 max 4gb/64gb

Difference between zip and img?

Hi
What is the difference between a flashable zip and a .img file for installing twrp?
I found an unofficial twrp and they listed a .img file and a flashable zip.
The img one is no longer available but inside the flashable zip there's a .img file. Can I take out the img file and flash that?
I don't need a detailed response all I need is a yes or no.
Thanks
(link to the twrp if you're wondering)
https://forum.xda-developers.com/android/development/recovery-twrp-3-1-1-0-alcatel-pixi-45-t3657927
Yeah go ahead and flash the recovery.img file thats your twrp recovery

Vendor Zip file

Canyone help me with a flashable zip file for vendor. I have vendor.ing from fastboot but I need vendor zip file to flash vendor only through twrp. Android 9 or 10 both please.

Extract recovery from boot.img

If I run
Code:
fastboot boot twrp.img
Spoiler
TWRP
my 7Pro boots into TWRP
But if I run
Code:
fastboot boot lineagerecovery.img
Spoiler
Lineage Recovery
it boots the ROM; I think because this image file include a Kernel but the TWRP img file not.
I would like to get the same behavior of TWRP img file with Lineage Recovery img file.
So, presuming I'm right, there is any way to make a recovery.img file, extracting it from a boot.img file?

Categories

Resources