Go Back   maemo.org - Talk > OS / Platform > Maemo 5 / Fremantle
 
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
  #1  
Old 2010-05-17, 23:39
Dany-69 Dany-69 is offline
 
Join Date: Feb 2010
Posts: 326
Thanks!: 222
Thanked 335 Times in 79 Posts
Default Dump an image of root and eMMC.. how to?

Hi guys
First at all, excuse me for my english
By the way... i've searched al lot here and on google about a way to dump the image of the root and the eMMC, but unfortunately without a result..

I'd like to create some images that can be flashed throught the maemo-flasher with a simple command, just like the FIASCO images..
This way everybody could create his own "rom" with all the desired advanced personalizations (like transitions, boot videos, power menu, cpu clock ecc ecc), softwares and settings ...
Something much more easy and fast than a backup IMHO ..

Excuse me if this question has already been paid.

Last edited by Dany-69; 2010-05-17 at 23:43.
Reply With Quote
  #2  
Old 2010-05-18, 00:08
chaoyi chaoyi is offline
 
Join Date: Jan 2009
Posts: 3
Thanks!: 4
Thanked 4 Times in 2 Posts
Default Re: Dump an image of root and eMMC.. how to?

use dd?
for rootfs, dd if=/dev/mtd5 of=rootfs.raw
Reply With Quote
The Following User Says Thank You to chaoyi For This Useful Post:
  #3  
Old 2010-05-18, 00:20
abill_uk abill_uk is offline
Banned
 
Join Date: Feb 2010
Posts: 3,412
Thanks!: 1,862
Thanked 1,043 Times in 730 Posts
Default Re: Dump an image of root and eMMC.. how to?

Exellent idea as that would be a good way to restore phone to "last known working" similar to the system restore in windows.
Getting close to my idea of uninstalling completely problem apps or getting the os back to it was prior to a loop or "bricked" situation.
Reply With Quote
  #4  
Old 2010-05-18, 01:35
SD. SD. is offline
 
Join Date: Mar 2010
Posts: 122
Thanks!: 16
Thanked 121 Times in 47 Posts
Default Re: Dump an image of root and eMMC.. how to?

It also might be a good way to compared the leaked PR1.2 vs the supposedly stock hong kong PR1.2
Reply With Quote
  #5  
Old 2010-05-18, 05:57
S0urcerr0r S0urcerr0r is offline
 
Join Date: May 2010
Location: Sweden
Posts: 124
Thanks!: 1,157
Thanked 52 Times in 35 Posts
Default Re: Dump an image of root and eMMC.. how to?

Quote:
Originally Posted by chaoyi View Post
use dd?
for rootfs, dd if=/dev/mtd5 of=rootfs.raw
im a inexperienced linux user.
how would i define the destination path to store that "rootfs.raw" on the sdcard / or on the 30 gb partition (users files)?
Reply With Quote
  #6  
Old 2010-05-18, 09:05
Dany-69 Dany-69 is offline
 
Join Date: Feb 2010
Posts: 326
Thanks!: 222
Thanked 335 Times in 79 Posts
Default Re: Dump an image of root and eMMC.. how to?

Quote:
Originally Posted by chaoyi View Post
use dd?
for rootfs, dd if=/dev/mtd5 of=rootfs.raw
Wait wait ..
What does this command do ?
Does it create directly a file that can be used with the Flasher?
and where does the command place the file ?
Tnx
Reply With Quote
  #7  
Old 2010-05-18, 09:12
Kjow Kjow is offline
 
Join Date: Nov 2009
Posts: 52
Thanks!: 13
Thanked 54 Times in 11 Posts
Default Re: Dump an image of root and eMMC.. how to?

Great Dany!
Good idea!
Reply With Quote
  #8  
Old 2010-05-18, 09:17
brz brz is offline
 
Join Date: Feb 2010
Location: Italia, Rovigo
Posts: 1
Thanks!: 1
Thanked 0 Times in 0 Posts
Default Re: Dump an image of root and eMMC.. how to?

Good idea Dany,
You have my support!
Reply With Quote
  #9  
Old 2010-05-18, 09:28
rash.m2k rash.m2k is offline
 
Join Date: Aug 2008
Posts: 642
Thanks!: 15
Thanked 486 Times in 228 Posts
Default Re: Dump an image of root and eMMC.. how to?

Quote:
Originally Posted by Dany-69 View Post
Wait wait ..
What does this command do ?
Does it create directly a file that can be used with the Flasher?
and where does the command place the file ?
Tnx
dd (data definition), copies bytes from if (input file/device) to of (output file/device).

Not sure if it creates a file that can be used with flasher.

It places the file in the directory you run the command from to have it place the file in the memory card set of=/media/mmc1/rootfs.raw
Reply With Quote
The Following User Says Thank You to rash.m2k For This Useful Post:
  #10  
Old 2010-05-18, 09:31
rash.m2k rash.m2k is offline
 
Join Date: Aug 2008
Posts: 642
Thanks!: 15
Thanked 486 Times in 228 Posts
Default Re: Dump an image of root and eMMC.. how to?

Also creating a dump of emmc should probably not be done - just copy the directories to an ext3 partition to preserve permission info (ext3 memory card perhaps???), otherwise each time you do it you will get a file thats 2GB big, which will wear down the internal flash.

Only opt needs to be copy to ext3, MyDocs can just be backed up on PC as it's just FAT32.
Reply With Quote
The Following User Says Thank You to rash.m2k For This Useful Post:
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 21:01.