[Q] backup stock boot partition before flashing with CWM
First of all, thank you for reading my post and trying to help me.
My cell is a Samsung Galaxy Ace II x (GT-S7560M); I didn't found more appropriate place to post this thread. It is a new cellphone : I bought it 3 weeks ago.
I would like to "play" a bit with my phone (change the ROM, root it and everything. It is mainly because I want the Universal Storage Mode back on my cell). But if I do so, I would void the warranty. Since I will probably sell back this phone in few months, I may cause me some problem to explain people that there is no warranty anymore.
So, I need to do a complete backup of the phone, including the part which is erased by ClockWorkMod recovery
! (once this backup is done, I have found pretty much everything I need on Internet).
My question is - how do I do a backup of the boot partition knowing that:
So it seems to be a bit more complicated to do a dd backup as found at some place on the net.
Also, since I want to backup the ROM after all these operation, I didn't root my cellphone (It would have voided the warranty) and of course, didn't change my ROM.
For the sake of accuracy, there is the complete answer to the mtd:
shell@android:/ $ cat /proc/mtd
dev: size erasesize name
It is a bit empty, I know.
Samsung seems to prefer a proprietary format "bml".
I also looked into the partitions file:
shell@android:/ $ cat /proc/partitions
major minor #blocks name
253 0 122880 zram0
179 0 3817472 mmcblk0
179 1 20 mmcblk0p1
179 2 150 mmcblk0p2
179 3 20480 mmcblk0p3
179 4 1 mmcblk0p4
179 5 1000 mmcblk0p5
179 6 1000 mmcblk0p6
179 7 2000 mmcblk0p7
179 8 12288 mmcblk0p8
179 9 3072 mmcblk0p9
179 10 3072 mmcblk0p10
179 11 8192 mmcblk0p11
179 12 12288 mmcblk0p12
179 13 4096 mmcblk0p13
179 14 4096 mmcblk0p14
179 15 512 mmcblk0p15
179 16 1228800 mmcblk0p16
179 17 512000 mmcblk0p17
179 18 2048 mmcblk0p18
179 19 12288 mmcblk0p19
179 20 24576 mmcblk0p20
179 21 4096 mmcblk0p21
179 22 51200 mmcblk0p22
179 23 1000 mmcblk0p23
179 24 4096 mmcblk0p24
179 25 1901176 mmcblk0p25
So I got some information, but I can't use them. But all these files can be found in /dev/block. I also checked: it seems that adb knows the dd command (I think not all cells do have it right now).
I think I have said pretty much anything I think is important.
Do you have any idea to help me?
Or any questions?
By the way, I have seen there are some cellphones that have an embedded flag, that counts the number of time we flash the boot partition. I have not seen such information on this device, so there shouldn't have any, should it?
Thank you for your help
and sorry if I miss anything that coulb be on the net/other post. I think I have done a quite wide range of them, but we are never sure we didn't miss anything.
Also, it is my first post on xda, so sorry if I miss any important rule of the forum, but you are welcome to let me know what they are.