• Announcements

    • Reminder - MoDaCo position on illegal content   07/30/15

      ILLEGAL CONTENT I'd like to just reaffirm MoDaCo's position regarding piracy and illegal content in the light of some recent questions / postings. Posts will be censored by myself or my moderation team if the contain or link to: Illegal / pirated / cracked software or sites that host such softwareNintendo emulators / ROMs or sites hosting them (in light of Nintendo's legal stance)CUSTOM ROMS You may discuss and post links to custom device ROMs on MoDaCo, provided the following rules are adhered to: ROMs must not contain any illegal 3rd party software (this includes trial versions included without permission)ROMs must give full credit to the original authorISSUES If you have any issues with this policy, please contact PaulOBrien directly via PM.
    • Reminder: Selling items on the forum directly is not allowed   07/30/15

      Please note that selling items on the forum directly is not allowed by the forum rules. There is a forum for eBay auctions whereby you can list the items on eBay and link to them there. This is the ONLY forum for this type of activity. You may also advertise links to the eBay forum in your signature. Please note that selling directly in contravention of these rules will result in a warning / suspension / ban.
Sign in to follow this  
Followers 0

How to backup the system.img, boot.img and recovery.img?

12 posts in this topic

Posted

Hey,

just got a new phone and now i want to backup the system.img, boot.img and recovery.img. how to do?

thanks :(

0

Share this post


Link to post
Share on other sites

Posted

Hey,

just got a new phone and now i want to backup the system.img, boot.img and recovery.img. how to do?

thanks :(

check the roms in this thread, it may have already been dumped. if not, check the second post in the thread it tells you how to dump. If it's new please post.

http://android.modaco.com/content/zte-blad...rom-stock-roms/

0

Share this post


Link to post
Share on other sites

Posted (edited)

root your phone temporarily with z4root

in ADB or a terminal emulator type

cat proc/mtd
it will give you smthing like this:
dev:	size   erasesize  name

mtd0: 00480000 00020000 "recovery"

mtd1: 00480000 00020000 "boot"

mtd2: 00180000 00020000 "splash"

mtd3: 00060000 00020000 "misc"

mtd4: 02940000 00020000 "cache"

mtd5: 0cf80000 00020000 "system"

mtd6: 0d020000 00020000 "userdata"

mtd7: 00180000 00020000 "persist"
if that's the case then type:
su

dd if=/dev/mtd/mtd0 of=/sdcard/recovery.img bs=4096

dd if=/dev/mtd/mtd1 of=/sdcard/boot.img bs=4096

dd if=/dev/mtd/mtd5 of=/sdcard/system.img bs=4096

and the .img files are on your SD card now

Edited by veektor
0

Share this post


Link to post
Share on other sites

Posted

has anyone actually backed up the stock recovery program?

0

Share this post


Link to post
Share on other sites

Posted

has anyone actually backed up the stock recovery program?

I did :( For the warranty ofc

0

Share this post


Link to post
Share on other sites

Posted

where to get z4root, i can't find it in the market

0

Share this post


Link to post
Share on other sites

Posted

do you mean romdump?

0

Share this post


Link to post
Share on other sites

Posted

yup

0

Share this post


Link to post
Share on other sites

Posted

if that's the case then type:

su

dd if=/dev/mtd/mtd0 of=/sdcard/recovery.img bs=4096

dd if=/dev/mtd/mtd1 of=/sdcard/boot.img bs=4096

dd if=/dev/mtd/mtd5 of=/sdcard/system.img bs=4096

and the .img files are on your SD card now

I'm pretty sure we've been here before and that works OK for recovery and boot, but not system. The system partition uses the YAFFS filesystem and that stores stuff in the SPARE bytes of the NAND. A straight 'dd' won't include that critical data and so you'll have a broken img. You need to 'tar' the individual files (or maybe 'nanddump') to backup the system part.

Most people will find it easier to use Seb's romdump, if there isn't already a recovery image available. Otherwise, use ClockworkMod...

0

Share this post


Link to post
Share on other sites

Posted

I'm pretty sure we've been here before and that works OK for recovery and boot, but not system. The system partition uses the YAFFS filesystem and that stores stuff in the SPARE bytes of the NAND. A straight 'dd' won't include that critical data and so you'll have a broken img. You need to 'tar' the individual files (or maybe 'nanddump') to backup the system part.

^^this is spot on.

Nandroid works by creating a new empty YAFF filesystem image and doing a CPIO from the system into it..

or to bang my own trumpet... use romdump

http://android.podtwo.com/romdump/

0

Share this post


Link to post
Share on other sites

Posted

I'm pretty sure we've been here before and that works OK for recovery and boot, but not system. The system partition uses the YAFFS filesystem and that stores stuff in the SPARE bytes of the NAND. A straight 'dd' won't include that critical data and so you'll have a broken img. You need to 'tar' the individual files (or maybe 'nanddump') to backup the system part.

Most people will find it easier to use Seb's romdump, if there isn't already a recovery image available. Otherwise, use ClockworkMod...

Thanks for the info. And thank God I made a backup with cwmod too. So if I have to send it back for warranty stuff all I have to do is restore from cwmod and flash the original recovery.

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2015. MoDaCo uses IntelliTxt technology.