"Win32 Disk Imager" can backup/restore Android !

21 11729
liab  
liab replied at Wed Oct 22, 2014 15:20
I shall try it in some days, at the moment I'm not @home.

Yes, it is possible to resize the partitions. My new way to prepare a sd-card is to burn with phoenix  a simple android image.

I made a script for a Linux pc, which makes all the other and restore the card from my saved images.

With fdisk it is possible to change the partitions. Important are the partitions 1 (sd-card), 7 (android system) and 8 (system and apps).

At the original android image the partitions sdx7 and sdx8 are much to short for all my important apps. So I resized them.

Here the orignal table

   Gerät  boot.     Anfang        Ende     Blöcke   Id  System
/dev/sde1         4956160    31114238    13079039+   b  W95 FAT32
/dev/sde2   *       73728      106495       16384    6  FAT16
/dev/sde3               1     4956160     2478080   85  Linux erweitert
/dev/sde5          106496      139263       16384   83  Linux
/dev/sde6          139264      172031       16384   83  Linux
/dev/sde7          172032     1679359      753664   83  Linux
/dev/sde8         1679360     2990079      655360   83  Linux
/dev/sde9         2990080     3022847       16384   83  Linux
/dev/sde10        3022848     3088383       32768   83  Linux
/dev/sde11        3088384     4399103      655360   83  Linux
/dev/sde12        4399104     4923391      262144   83  Linux
/dev/sde13        4923392     4956159       16384   83  Linux

And here my changed partitions

   Gerät  boot.     Anfang        Ende     Blöcke   Id  System
/dev/sde1         5356160    31116287    12880064    b  W95 FAT32
/dev/sde2   *       73728      106495       16384    6  FAT16
/dev/sde3               1     4956160     2478080   85  Linux erweitert
/dev/sde5          106496      139263       16384   83  Linux
/dev/sde6          139264      172031       16384   83  Linux
/dev/sde7          174080     2000000      912960+  83  Linux
/dev/sde8         2002049     4000000      998976   83  Linux
/dev/sde9         4002049     4040000       18976   83  Linux
/dev/sde10        4042049     4110000       33976   83  Linux
/dev/sde11        4112049     4920000      403976   83  Linux
/dev/sde12        4922049     4950000       13976   83  Linux
/dev/sde13        4952049     4956160        2056   83  Linux

Now my 16 GB sd-card has on sdx1 12,1 GiB, on sdx7 891,6 MiB and on sdx8 975,6 MiB.
On original it was 736 MiB sdx7 and 640 MiB sdx8.

Now I have a good android 4.4 Image with xbmc for all cards it doesn't matter whether 16 GB or 32 GB are used.

To resize with fdisk is a great deal of work!!

1. First delete sdx1 and sdx7 - sdx13.
2. Make them new
3. Format only sdx1, sdx7 and sdx8.
4. Write the saved files to sdx1, sdx7 and sdx8
5. Never change the other partitions especially not sdx2!

Here a simple trick to have with android 4.4 sound on the audio jack, I found it by random. After booting start above on the left the microphone icon (speak search) and close the program.

Let me just ask one question... forgive me if I'm wrong, but if Win32DiskImager can READ a stock Android file (originally flashed with PheonixCard) and WRITE it, then why didn't the guys at LeMaker just upload the backup image (pre-SD-card-storage fix so it's only the original partition that's like 1.5GB) so we wouldn't have to use this PheonixCard thingy? I mean, it's intended for ONE piece of hardware (the Banana Pi) so different hardware won't pose an issue. It just seems kinda odd... maybe it's just the lazy part of me coming out!

dlanor  
Edited by dlanor at Tue Jan 13, 2015 12:06
Gaveroid replied at Mon Jan 12, 2015 20:39
Let me just ask one question... forgive me if I'm wrong, but if Win32DiskImager can READ a stock Android file (originally flashed with PheonixCard) and WRITE it, then why didn't the guys at LeMaker just upload the backup image (pre-SD-card-storage fix so it's only the original partition that's like 1.5GB) so we wouldn't have to use this PheonixCard thingy? I mean, it's intended for ONE piece of hardware (the Banana Pi) so different hardware won't pose an issue. It just seems kinda odd... maybe it's just the lazy part of me coming out!
It is possible to make backups of BPi Android cards this way, but these backups then suffer from the limitation that they can only be restored to a card of exactly the same or larger size, and for the latter case all extra size will be wasted. (Putting an 8GB backup on a 16GB card will waste 8GB never to be used... )

The main problem lies in how the 'excess' space of the card (apart from the specified system and data partitions) is utilized for the "/sdcard" area.
The method you outline would work fine if that excess partitioning was done on the end platform, during initial boot of the Android image.
But it doesn't seem to work that way. Apparently it's done by PhoenixCard, as is all the partitioning of our Android images.

Putting it differently, the images intended for flashing by PhoenixCard do not contain the partitions intended for the final card.
These images just contain the data and instructions needed by PhoenixCard to build the final multi-partition card image, regardless of card size...

Best regards: dlanor

foltz61  
I still can't get phoenixcard to work. I've tried diferent catds, adapters and computers. Win32diskimager has worked for all of them. I've even successfully written an android image to them just to see what would happen. I knew they wouldn't boot. I'm about to ebay my banana pi. I would appreciate a win32diskimage image . Even if it would waste space..

ChrisP  
foltz61 replied at Wed Jan 14, 2015 02:45
I still can't get phoenixcard to work. I've tried diferent catds, adapters and computers. Win32diski ...

Where is your issue ? Is it an error generating while flashing the SDcard or while booting the image burned by PhoenixCard.

Phoenixcard is capricious to make it work, but once you avoid some traps, it's working very well.

foltz61  
ChrisP replied at Tue Jan 13, 2015 20:18
Where is your issue ? Is it an error generating while flashing the SDcard or while booting the ima ...

During the format to normal process it errors out. Ive tried the suggestions athttp://forum.lemaker.org/forum.p ... amp;page=2#pid52462

dlanor replied at Tue Jan 13, 2015 12:03
It is possible to make backups of BPi Android cards this way, but these backups then suffer from the ...

Ah, I see.

foltz61  
So, can someone uplaod a win32 android/kodi image?

liab  
I think you must fit your computer! Use PhoenixCard 3.1.0, no problem with xp & w7. When not your OS is damaged. Make a new one on another HDD. Difficult to find someone with a dropbox about 16 GB.

foltz61  
No. Ive tried several computer/card/reader combinations. I've given up on phoenixcard. Thanks for the suggestions.

You have to log in before you can reply Login | Sign Up

Points Rules