Where is recovery.img located.(on which partition) - Android Q&A, Help & Troubleshooting

I am making a custom rom.for my android.I need to know where recovery.img is located.Like which partition or directory can I try to find it at.I try ed the system partition but obviously it wasn't there because that's the system.I dumped my firmware image so I could modify it,but I can't find recovery.Img.All I found is recovery.fex.Is this my recovery?Thanks for your answer.[emoji2]

Related

modify stock rom partition layout

Hello All,
i read from the internet and get the idea/method how to unpack and repack the img file, gether the stock (original) partition layout from the device through terminal.
but my goal is to modify the partition layout in the stock rom in the update.zip released by the manufacture.
could somebody point me to which file(s) i should modify?

create .img file from directory?

Is it possible to create an .img file from a directory? Lets say a system.img from /system?
Or userdata.img from the userdata?
To have some kind of backup and easily restore the system with fastboot flash ....

How to Flash a ROM with boot.img and System folder only?

HI! Is there any way to flash a custom rom using PC?
SP FLash tool needs a scatter file
but my ROM doesnt have any.
I tried to make my own scatter file but I cant find the system.img
The system.img is a folder
how can i convert the system folder to system.img?
PLS HELP
Ive done this but it was year's ago while making an odin flashable firmware for sgh-t599. Sorry to say I can't remember the procedure but I used guides so the info is out there.
You'll need Linux, and you must know the size of system partition and if it need to be raw img format or sparse img format.
With the right commands these img's can also be extracted straight from a working device.

Boot.img or system.img unpack / repack, different size, odin fails, no boot

Well, as the title sugests, I've tried to root my phone (Samsung Galaxy J1 SM-J100MU) and failed. Since no twrp or any other custom recovery is made for my specific model, I tried the method that involves mounting the android systems and modifying the famous build.prop, or putting su binaries inside the /system folder.
I ran an unpack script from ubuntu to decompress the boot file, and simg2img to be able to mount /system following some guides I've found, and made use of mkbootimg to repack it and flash it.
The thing is that the phone won't boot because the modified boot image size differs from the original. The system also differs but Odin won't even flash it and I'll have to reflash the stock rom.
Any ideas about what it can happen? I get no apparently errors during the process of unpacking/repacking the images so I don't know. The only thing I can think of is that the unpack script says something like "There's an extra file in ramdisk; though this file can exist, the script is not made for this type of ramdisk", so I edited the script in order to skip this warning, and everything else went well. The bootimg got unpacked and then the ramdisk and then I modified default.prop.
Well, that's it, I hope you can understand and give me some help in order to proceed.
Thank you in advance.

[Question] In which partition is /data/ stored.

Hello,
I'm working my way into modifying a Stock Rom. I have files in the directory "/data/" and wanted to ask in which partition they are stored. I searched the partitions "System" "OEM" and "Vendor" and found nothing. Also I didn't find anything in the "Boot" imge ... There I only found the recovery part. The zImage is only the pure kernel code, isn't it?
Question: In which partition is /data/ stored.
Yours sincerely
Fynn
MisterFynn said:
Hello,
I'm working my way into modifying a stick of Rome. I have files in the directory "/data/" and wanted to ask in which partition they are stored. I searched the partitions "System" "OEM" and "Vendor" and found nothing. Also I didn't find anything in the "Boot" imge ... There I only found the recovery part. The zImage is only the pure kernel code, isn't it?
Question: In which partition is /data/ stored.
Yours sincerely
Fynn
Click to expand...
Click to collapse
This directory is in usrdata, userdata or data partition. The partitions mentioned above are all the same, it has different names in different phones.
HIT THANKS IF FOUND USEFUL

Categories

Resources