Dear All,
I am working in arabic rom .
I want to create a full odin flashable backup including all device partitions.
the partition i want are :
Partition
/dev/block/mmcblk0p8 - boot
/dev/block/mmcblk0p13 - recovery
/dev/block/mmcblk0p15 - /system
/dev/block/mmcblk0p16 - /cache
/dev/block/mmcblk0p17 - /data
/dev/block/mmcblk0p18 - /preload
I've tried to create packages using BuildOdin_CWM scripts. however this scripts only dump first 3 partitions.
I used the kitchen but no option to repack the data.tar to data .img.ext files nether.
the final solution was to use terminal emulator to dump system partitions , however it make the phone stuck and restart unexpected.
the commands are:
Code:
su
mount -o remount rw /system
dd if=/dev/block/mmcblk0p8 of=/sdcard/boot bs=4096
dd if=/dev/block/mmcblk0p12 of=/sdcard/persist bs=4096
dd if=/dev/block/mmcblk0p13 of=/sdcard/recovery bs=4096
dd if=/dev/block/mmcblk0p15 of=/sdcard/system bs=4096
dd if=/dev/block/mmcblk0p16 of=/sdcard/cache bs=4096
dd if=/dev/block/mmcblk0p17 of=/sdcard/data bs=4096
dd if=/dev/block/mmcblk0p18 of=/sdcard/preload bs=4096
dd if=/dev/block/mmcblk0p27 of=/sdcard/efs bs=4096
dd if=/dev/block/mmcblk0p28 of=/sdcard/sdcard bs=4096
but no success.
Any Help will be appreciated
any help ??
Related
I was wondering if it is possible to make an Odin flashable ROM with only the CWM ROM? If not how could i make a Odin flashable ROM?
How to make an Odin flashable ROM
This needs a UNIX compatible OS - like Linux or Mac OS X.
On Windows, you can use "Cygwin".
Use the dd (datadump) command to make the .rfs files
Of course you need to connect your phone via USB and have ADB prepared on your computer.
# Get Root access first
Code:
su
# Do this first to mount the /system R/W
Code:
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# Dump the needed data / partitions to your /sdcard
Code:
dd if=/dev/block/stl9 of=/sdcard/factoryfs.rfs bs=4096
dd if=/dev/block/stl11 of=/sdcard/cache.rfs bs=4096
dd if=/dev/block/bml7 of=/sdcard/zImage bs=4096
dd if=/dev/block/bml12 of=/sdcard/modem.bin bs=4096
# Make the tar ball
Code:
tar -H ustar -c factoryfs.rfs cache.rfs modem.bin zImage > darky.tar
# MD5 it for a security check
Code:
md5sum –t darky.tar >> darky.tar
# Rename the tar file
Code:
mv darky.tar darky.tar.md5
Optional:
Make your own pit file
The pit file is used to set the partition layout (Partition Information Table).
# Dump the pit
Code:
dd if=/dev/block/bml2 of=/sdcard/darky.pit bs=4096
I hope I could help you with that
- darkyy.
Didnt workd
@Darky Didnt workd for my galaxy-FIT
pratyush.creed said:
@Darky Didnt workd for my galaxy-FIT
Click to expand...
Click to collapse
maybe because your galaxy-FIT is an entirely different device???
How doing this using phone runing cyanogenmod7?
Hey darky, how can i do this with a phone runing cyanogenmod 7? and after doing that, how can i install the rom with odin?
Thanks ;-)
http://forum.xda-developers.com/showthread.php?t=1082288
Don't work, i have the same error /dev/block/stl10: cannot open for read: Nosuch file or directory
Hello,
I'm trying to datadump my sgs.
I follow this guide http://forum.xda-developers.com/showthread.php?t=960946 but i get stuck when i want to dd:
dd if=/dev/block/stl9 of=/sdcard/factoryfs.rfs bs=4096
dd if=/dev/block/stl11 of=/sdcard/cache.rfs bs=4096
dd if=/dev/block/bml7 of=/sdcard/zImage bs=4096
dd if=/dev/block/bml12 of=/sdcard/modem.bin bs=4096
I get the message "can't open '/dev/block/'st19 no such file or directory"
Someone like to help?
pietpapier said:
Hello,
I'm trying to datadump my sgs.
I follow this guide http://forum.xda-developers.com/showthread.php?t=960946 but i get stuck when i want to dd:
dd if=/dev/block/stl9 of=/sdcard/factoryfs.rfs bs=4096
dd if=/dev/block/stl11 of=/sdcard/cache.rfs bs=4096
dd if=/dev/block/bml7 of=/sdcard/zImage bs=4096
dd if=/dev/block/bml12 of=/sdcard/modem.bin bs=4096
I get the message "can't open '/dev/block/'st19 no such file or directory"
Someone like to help?
Click to expand...
Click to collapse
uhhm, try the question and answer section next time?
.............
pietpapier said:
Hello,
I'm trying to datadump my sgs.
I follow this guide http://forum.xda-developers.com/showthread.php?t=960946 but i get stuck when i want to dd:
dd if=/dev/block/stl9 of=/sdcard/factoryfs.rfs bs=4096
dd if=/dev/block/stl11 of=/sdcard/cache.rfs bs=4096
dd if=/dev/block/bml7 of=/sdcard/zImage bs=4096
dd if=/dev/block/bml12 of=/sdcard/modem.bin bs=4096
I get the message "can't open '/dev/block/'st19 no such file or directory"
Someone like to help?
Click to expand...
Click to collapse
not 1 but l (lower case L)
dumping firmware AT&T Samsung Note 3 credit to A.S._id
need root and busybox installed
su
mkdir /sdcard/NB4
dd if=/dev/block/mmcblk0p1 of=/sdcard/NB4/NON-HLOS.bin bs=256 count=14803
dd if=/dev/block/mmcblk0p2 of=/sdcard/NB4/modem.bin bs=256 count=203079
dd if=/dev/block/mmcblk0p14 of=/sdcard/NB4/boot.img
dd if=/dev/block/mmcblk0p15 of=/sdcard/NB4/recovery.img
I don't need below, but for anyone who needs the scripts
If you want system.img.ext4
make_ext4fs -s -l 2501M /sdcard/NB4/system.img.ext4 /system
to make flashable for odin
cd /sdcard/NB4/
tar -c ./* >> N900AATTBNB4_ODIN_DUMP.tar
md5sum -t N900AATTBNB4_ODIN_DUMP.tar >> N900AATTBNB4_ODIN_DUMP.tar
mv N900AATTBNB4_ODIN_DUMP.tar N900AATTBNB4_ODIN_DUMP.tar.md5
I'm starting to see a lot of "I bricked my phone" threads and most causes have been the lack of stock backups. So...
I own the LG-D415 so for the devices I don't own I'm gonna need yalls help with. For the smaller partitions, zip up your backup. Post a reply here with your zip attached to your post. I'll upload and host them on my Dev-Host account. NO system partitions please.
LG-D415
LG-D400
LG-D405
LG-D410
To make backups of your own partitions: ( Will produce block for block copies or images )
REQUIRED: External sdcard
REQUIRED: Terminal Emulator or PC with adb
On device with Terminal Emulator ( Download from Play Store if you don't have it )
Code:
dd if=/dev/block/platform/msm_sdcc.1/by-name/aboot of=/storage/external_SD/aboot.img bs=4096
dd if=/dev/block/platform/msm_sdcc.1/by-name/abootb of=/storage/external_SD/abootb.img bs=4096
dd if=/dev/block/platform/msm_sdcc.1/by-name/boot of=/storage/external_SD/boot.img bs=4096
dd if=/dev/block/platform/msm_sdcc.1/by-name/cache of=/storage/external_SD/cache.img bs=4096
dd if=/dev/block/platform/msm_sdcc.1/by-name/recovery of=/storage/external_SD/recovery.img bs=4096
dd if=/dev/block/platform/msm_sdcc.1/by-name/system of=/storage/external_SD/system.img bs=4096
dd if=/dev/block/platform/msm_sdcc.1/by-name/userdata of=/storage/external_SD/userdata.img bs=4096
On a PC with adb
Code:
adb shell dd if=/dev/block/platform/msm_sdcc.1/by-name/aboot of=/storage/external_SD/aboot.img bs=4096
adb shell dd if=/dev/block/platform/msm_sdcc.1/by-name/abootb of=/storage/external_SD/abootb.img bs=4096
adb shell dd if=/dev/block/platform/msm_sdcc.1/by-name/boot of=/storage/external_SD/boot.img bs=4096
adb shell dd if=/dev/block/platform/msm_sdcc.1/by-name/cache of=/storage/external_SD/cache.img bs=4096
adb shell dd if=/dev/block/platform/msm_sdcc.1/by-name/recovery of=/storage/external_SD/recovery.img bs=4096
adb shell dd if=/dev/block/platform/msm_sdcc.1/by-name/system of=/storage/external_SD/system.img bs=4096
adb shell dd if=/dev/block/platform/msm_sdcc.1/by-name/userdata of=/storage/external_SD/userdata.img bs=4096
Backups of the system and userdata partitions will be lengthy. About 7 minutes for the 2 GB system partition. Close to 15 minutes for the 4 GB userdata partition.
Or you can optionally use my [SCRIPT] LG Optimus L90 Utilities
LG-D415
aboot - http://d-h.st/VX3
abootb - http://d-h.st/drl
boot - http://d-h.st/NaS
laf - http://d-h.st/udi
recovery - http://d-h.st/STL
LG-D400
LG-D405
LG-D410
Reserved 5
Hi shinobisoft,
these are the D405 v10a boot.img, laf.img and recovery.img
4pio
Please upload for D405n... I am in grave need!!!!!!
Also I need d405n partition.txt files to use in boarddiag, my phone is bricked...!!!
I have a d410 v20c rooted. Can I proceed with your commands for the backup or should I firt unlock the bootloader or do other things?
Thank you
Here's the codes to backup your partitions on the LG G2. Probably work an any variant. I need this for future references as now it will be stored online forever!!!
Need ADB installed.
adb shell
adb su
Code:
dd if=/dev/block/platform/msm_sdcc.1/by-name/system of=/sdcard/system.img
dd if=/dev/block/platform/msm_sdcc.1/by-name/boot of=/sdcard/boot.img
dd if=/dev/block/platform/msm_sdcc.1/by-name/aboot of=/sdcard/aboot.img
dd if=/dev/block/platform/msm_sdcc.1/by-name/recovery of=/sdcard/recovery.img
dd if=/dev/block/platform/msm_sdcc.1/by-name/modem of=/sdcard/modem.img
dd if=/dev/block/platform/msm_sdcc.1/by-name/rpm of=/sdcard/rpm.img
dd if=/dev/block/platform/msm_sdcc.1/by-name/tz of=/sdcard/tz.img
dd if=/dev/block/platform/msm_sdcc.1/by-name/laf of=/sdcard/laf.img
----
dd if=/dev/block/platform/msm_sdcc.1/by-name/dbi of=/sdcard/dbi.img
dd if=/dev/block/platform/msm_sdcc.1/by-name/sbl1 of=/sdcard/sbl1.img
dd if=/dev/block/platform/msm_sdcc.1/by-name/persist of=/sdcard/persist.img