Jump to content

How to /dump/ the ROM image ?


Guest Minishlink

Recommended Posts

Guest Minishlink

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.

Link to comment
Share on other sites

Guest Minishlink

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
Link to comment
Share on other sites

Guest Minishlink

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 :)

Link to comment
Share on other sites

Guest Paul

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

Link to comment
Share on other sites

Guest moodi
...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 ?

Link to comment
Share on other sites

Guest Minishlink

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
Link to comment
Share on other sites

Guest biker200
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

Link to comment
Share on other sites

Guest dread123

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

Link to comment
Share on other sites

Guest Celui
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?

Link to comment
Share on other sites

Guest xTc is loVe
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
Link to comment
Share on other sites

Guest moodi

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

Link to comment
Share on other sites

Guest moodi

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

Link to comment
Share on other sites

Guest popo51

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^^

Link to comment
Share on other sites

Guest Celui
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
Link to comment
Share on other sites

Guest popo51

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
Link to comment
Share on other sites

Guest moodi
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.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.