How to backup/extract your android phone firmware

Android Backup

Recently, a person asked me exactly how he could backup his android phone’s Rom by hand via cmd; it needs to be around the internet I claimed to myself.
Today, I’m uploading it below once more for very easy accessibility.

There are way too many reasons you would intend to backup your Android device. Maybe for backup function, just incase something goes wrong, or to recover in an additional suitable device, for further modification/development, as well as on.

To go about this.
— Make certain ADB is correctly set up
— Ensure to mount your tool drivers
— Ensure your tool has root access
— You’ll require an useful brain also

Now, to the real offer!

Run CMD and also indicate the folder where you have your ADB data (Windows: Right-click on the folder while holding SHIFT switch, select Open command home window below)

Connect your device by means of a usb cable

Type the following commands:

adb devices (click go into)
adb covering (click go into)
su (click enter)
pet cat/ proc/mtd

The above command will certainly provide your device’s dividers.
Example:

dev: dimension erasesize name
mtd0: 00040000 00020000 “misc”
mtd1: 00500000 00020000 “recovery”
mtd2: 00280000 00020000 “boot”
mtd3: 04380000 00020000 “system”
mtd4: 04380000 00020000 “cache”
mtd5: 04 a/c000000020000 “userdata”

Take note of the dividers you desire to backup. For instance, if it’s system dividers:
Type:

cat/ dev/mtd/mtd3 >/ sdcard/system. img

It will certainly be backed up to your SDcard origin as system.img.

The crucial partitions to backup include: boot, healing, as well as system. This will certainly give your gadget a tidy Rom if recovered; with your installed applications undamaged however with no data.

This is where the useful brain concerns play …

Please leave your remarks below if you experience any problems.