• 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.

How to /dump/ the ROM image ?

77 posts in this topic

Posted

Hi ! :)

I have a Orange FR HTC Desire who is waiting for the generic'ifying process. But the Stock ROM for this operator is not available, so I want to dump my Stock ROM in order to have a backup when needed. (and I will host the ROM)

So, how ?

I searched, and I found a tool called "Nandroid", but you need to have root, do you ? And if I root my device, the stock ROM will be replaced...

Is there no solution to dump the ROM without root access ? Can't the /system partition be readable in no-superuser mode ?

Thank you anyway ;)

PS: I want to do a dump, not a backup: I don't need write access.

0

Share this post


Link to post
Share on other sites

Posted

Install busybox to /data/local then tar the /system directory to a file on the SD card.

P

0

Share this post


Link to post
Share on other sites

Posted (edited)

Currently tar'ing ! Thanks a lot ! :)

Now that I'll have my .tar, how can I create the .img ?

EDIT: The tar process exited before the end due to "previous errors". I'm trying again.

I did with the adb shell:

cd /sdcard

ls // to make sure it's correctly here

chmod 755 /data/local/busybox // to make it executable

/data/local/busybox tar cvf dump.tar /system

EDIT2: Same thing the second time ! "tar: error exit delayed from previous errors"

EDIT3: Just did a /data/local/busybox du -s /system and it was 239200, my tar is 239540. Allright then ?

Edited by Minishlink
0

Share this post


Link to post
Share on other sites

Posted

So...

Is it enough to have the /system partition ? If yes, how do I convert the system.tar to system.img in order to execute with the RUU if needed ?

If not, which partitions do I have to dump ? How do I obtain the splash image if needed ?

Thank you :)

0

Share this post


Link to post
Share on other sites

Posted

You will need:

1. Linux OS

2. Yaffs2 tool

3. your System folder

The Code:

# cd /where/your/dumped/system/folder/is

# ./mkfs.yaffs2 system /system.img

# exit

Please correct me if i'm wrong... :)

mkfs.yaffs2.x86.tar.gz

0

Share this post


Link to post
Share on other sites

Posted

The /system partition is enough. The 'exiting with errors' is fine, if you watch it go through you'll see there are some files it can't read (not real files), so don't worry.

Rather than making it into a .img, you're better off making it into an 'update zip' for flashing via the custom recovery.

P

0

Share this post


Link to post
Share on other sites

Posted

...Rather than making it into a .img, you're better off making it into an 'update zip' for flashing via the custom recovery.

I think you're right.

So Minishlink, do you need help to create an update.zip ?

0

Share this post


Link to post
Share on other sites

Posted (edited)

Here is the update.zip:

http://louislagrange.free.fr/dl.php?f=Andr...FR_StockRom.zip (pass: "desire")

This archive has to be extracted to give the "update.zip". :)

It doesn't have a META-INF folder nor a boot.img inside, does it matter ? Or the recovery tool just replace what's inside the archive ?

Edited by Minishlink
0

Share this post


Link to post
Share on other sites

Posted

strange... i can't download your file...

0

Share this post


Link to post
Share on other sites

Posted

I think you're right.

So Minishlink, do you need help to create an update.zip ?

u can help me doing the update .zip

thanks

0

Share this post


Link to post
Share on other sites

Posted

will this enable me to make a backup of vodafone rom thats on my desire?

if so..can anyone post laymans instructions on how to please?

thanks

0

Share this post


Link to post
Share on other sites

Posted

thanks all.... now i can backup my HK rom system folder

now, i want to merge the rooted part with ModaCo, is it possible?

i want to make an image (CHT HK) with rooted feature.

here is the dump

http://hotfile.com/dl/43679665/82c7131/HK_...m_dump.tar.html

0

Share this post


Link to post
Share on other sites

Posted

Here is the update.zip:

http://louislagrange.free.fr/dl.php?f=Andr...FR_StockRom.zip (pass: "desire")

This archive has to be extracted to give the "update.zip". :)

It doesn't have a META-INF folder nor a boot.img inside, does it matter ? Or the recovery tool just replace what's inside the archive ?

Did you managed to hade META and Boot.img? I've been trying to make an update_signed.zip... but still got an error (can't find update-script)... Does anyone have a clue?

0

Share this post


Link to post
Share on other sites

Posted (edited)

Did you managed to hade META and Boot.img? I've been trying to make an update_signed.zip... but still got an error (can't find update-script)... Does anyone have a clue?

U need the META folder which includes the update script! Without u cant use the update.zip.....just grab it from another rom and delete all lines and let the first 2 there and the last! Hope this will help you

OT:

Cant we dump ALL Partitions of the Desire and flash them on a bricked device, to solve the USB Port problem?

Edited by xTc is loVe
0

Share this post


Link to post
Share on other sites

Posted

some issue when i try to boot with Minishlink's system files just after Orange boot animation...

05-19 20:16:39.335: ERROR/libEGL(182): eglSetSwapRectangleANDROID:1743 error 3008 (EGL_BAD_DISPLAY)

05-19 20:16:39.464: ERROR/HtcBootAnimation(194): CID=ORANG202

05-19 20:16:39.464: ERROR/HtcBootAnimation(194): Can't find CID.xml, use default.

05-19 20:16:41.054: ERROR/SurfaceFlinger(182): eglSwapBuffers: EGL error 0x3008 (EGL_BAD_DISPLAY)

05-19 20:16:42.274: ERROR/BluetoothService.cpp(182): Could not get onto the system bus: Failed to connect to socket /dev/socket/dbus: No such file or directory

05-19 20:16:42.274: ERROR/BluetoothEventLoop.cpp(182): initializeNativeDataNative: Could not get onto the system bus!

05-19 20:16:43.084: ERROR/installd(58): eof

05-19 20:16:43.084: ERROR/installd(58): failed to read size

05-19 20:16:43.394: ERROR/AudioHardwareQSD(216): Cannot open /dev/audience_a1026 -1

05-19 20:16:43.394: ERROR/HTC Acoustic(216): Fail to open /system/etc/AdieHWCodecSetting.csv -1.

05-19 20:16:43.394: ERROR/HTC Acoustic(216): read ADIE para from file failed -1

05-19 20:16:43.394: ERROR/HTC Acoustic(216): ioctl ACOUSTIC_UPDATE_ADIE failed -1

05-19 20:16:43.394: ERROR/HTC Acoustic(216): Fail to open /system/etc/TPA2018.csv -1.

05-19 20:16:43.394: ERROR/AudioHardwareQSD(216): speaker amplifier tpa2018 is not supported

05-19 20:16:43.394: ERROR/AudioHardwareQSD(216): BT name Default (tx,rx)=(1001,1101)

05-19 20:16:43.394: ERROR/AudioHardwareQSD(216): BT name Default Car-kit (tx,rx)=(1002,1102)

05-19 20:16:43.394: ERROR/AudioHardwareQSD(216): BT name JKDAP3265 (tx,rx)=(1003,1103)

05-19 20:16:43.394: ERROR/AudioHardwareQSD(216): BT name JKDAP3264 (tx,rx)=(1004,1104)

05-19 20:16:43.394: ERROR/AudioHardwareQSD(216): BT name HTC BH M200 (tx,rx)=(1005,1105)

05-19 20:16:43.394: ERROR/AudioHardwareQSD(216): BT name BH M300 (tx,rx)=(1006,1106)

05-19 20:16:43.394: ERROR/AudioHardwareQSD(216): BT name Jabra BT530 (tx,rx)=(1007,1107)

05-19 20:16:43.394: ERROR/AudioHardwareQSD(216): BT name Jabra BT5010 (tx,rx)=(1008,1108)

05-19 20:16:43.394: ERROR/AudioHardwareQSD(216): BT name Jabra BT3030 (tx,rx)=(1009,1109)

05-19 20:16:43.394: ERROR/AudioHardwareQSD(216): BT name Nokia BH-208 (tx,rx)=(1010,1110)

05-19 20:16:43.394: ERROR/AudioHardwareQSD(216): BT name Nokia BH-703 (tx,rx)=(1011,1111)

05-19 20:16:43.394: ERROR/AudioHardwareQSD(216): BT name Nokia BH-103 (tx,rx)=(1012,1112)

05-19 20:16:43.394: ERROR/AudioHardwareQSD(216): BT name Samsung WEP410 (tx,rx)=(1013,1113)

05-19 20:16:43.394: ERROR/AudioHardwareQSD(216): BT name 3xxPlantronics (tx,rx)=(1014,1114)

05-19 20:16:43.394: ERROR/AudioHardwareQSD(216): BT name 6XXPlantronics (tx,rx)=(1015,1115)

05-19 20:16:43.394: ERROR/AudioHardwareQSD(216): BT name 8XXPlantronics (tx,rx)=(1016,1116)

05-19 20:16:43.394: ERROR/AudioHardwareQSD(216): BT name Motorola H710 (tx,rx)=(1017,1117)

05-19 20:16:43.394: ERROR/AudioHardwareQSD(216): BT name Motorola H12 (tx,rx)=(1018,1118)

05-19 20:16:43.394: ERROR/AudioHardwareQSD(216): BT name Motorola S9 (tx,rx)=(1019,1119)

05-19 20:16:43.394: ERROR/AudioHardwareQSD(216): BT name HBH-IV840 (tx,rx)=(1020,1120)

05-19 20:16:43.394: ERROR/AudioHardwareQSD(216): BT name HBH-PV710 (tx,rx)=(1021,1121)

05-19 20:16:43.394: ERROR/AudioHardwareQSD(216): BT name HBH-DS220 (tx,rx)=(1022,1122)

05-19 20:16:43.394: ERROR/AudioHardwareQSD(216): BT name HBH-DS980 (tx,rx)=(1023,1123)

05-19 20:16:43.394: ERROR/AudioHardwareQSD(216): BT name Nexus One Car Dock (tx,rx)=(1024,1124)

05-19 20:16:43.394: ERROR/AudioHardwareQSD(216): BT name END (tx,rx)=(0,0)

05-19 20:16:43.634: ERROR/MediaInfo(217): media_jni UnsatisfiedLinkError

0

Share this post


Link to post
Share on other sites

Posted

My update script

show_progress 0.1 0


format SYSTEM:

copy_dir PACKAGE:system SYSTEM:

set_perm_recursive 0 0 0755 0644 SYSTEM:

set_perm_recursive 0 2000 0755 0755 SYSTEM:bin

set_perm 0 3003 02755 SYSTEM:bin/netcfg

set_perm 0 3004 02755 SYSTEM:bin/ping

set_perm 0 2000 06755 SYSTEM:bin/reboot

set_perm_recursive 1002 1002 0755 0440 SYSTEM:etc/bluez

set_perm 0 0 0755 SYSTEM:etc/bluez

set_perm 1014 2000 0550 SYSTEM:etc/dhcpcd/dhcpcd-run-hooks

set_perm 0 2000 0550 SYSTEM:etc/init.goldfish.sh

show_progress 0.1 10


show_progress 0.2 0

format BOOT:

write_raw_image PACKAGE:boot.img BOOT:

show_progress 0.2 10

You can remove some lines is you don't need

i used boot.img from RUU

0

Share this post


Link to post
Share on other sites

Posted

Who want the stock Orange FR system? :) ;) :D Thanks to Google, Paul and Minishlink for their help LOL

post-56688-1274307077_thumb.png post-56688-1274307053_thumb.png

0

Share this post


Link to post
Share on other sites

Posted

si tu peut l'uploader moodi je te serai reconnaissant car j'en ai un grand besoin car le fichier de minishlink n'est pas fonctionnel archive corrompu, je l'ai d'ailleurs pm merci d'avance^^

0

Share this post


Link to post
Share on other sites

Posted (edited)

Who want the stock Orange FR system? ;) :D :( Thanks to Google, Paul and Minishlink for their help LOL

Well done!!!!! Wanna eat some :)

si tu peut l'uploader moodi je te serai reconnaissant car j'en ai un grand besoin car le fichier de minishlink n'est pas fonctionnel archive corrompu, je l'ai d'ailleurs pm merci d'avance^^

+1

Edited by Celui
0

Share this post


Link to post
Share on other sites

Posted (edited)

Stock_Orange_FR_update_signed

apply Stock_Orange_FR_update_signed.zip from the recovery image menu

EDIT: No Orange bootanimation on this release

Edited by moodi
0

Share this post


Link to post
Share on other sites

Posted

thanks all.... now i can backup my HK rom system folder

now, i want to merge the rooted part with ModaCo, is it possible?

i want to make an image (CHT HK) with rooted feature.

here is the dump

http://hotfile.com/dl/43679665/82c7131/HK_...m_dump.tar.html

i'm working on it...

0

Share this post


Link to post
Share on other sites

Posted (edited)

merci pour la rapidité de l'upload!! j'ai un soucis avec l'update j'ai un reboot en boucle de l'ecran htc sa bloque la :) que faire?

petite précision mon HTC Desire est root et avait la maj htc d'origine version nu.

Edited by popo51
0

Share this post


Link to post
Share on other sites

Posted

merci pour la rapidité de l'upload!! j'ai un soucis avec l'update j'ai un reboot en boucle de l'ecran htc sa bloque la :) que faire?

petite précision mon HTC Desire est root et avait la maj htc d'origine version nu.

you need to WIPE everything and try again.

0

Share this post


Link to post
Share on other sites

Posted

i'm working on it...

Thanks buddy

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

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