1. Download our Official Android App: Forums for Android!

Support How to make an image of my android OS to reflash it when I want

Discussion in 'Android Help' started by TronFourtyTwo, Sep 14, 2016.

  1. TronFourtyTwo

    TronFourtyTwo Lurker
    Thread Starter
    Rank:
    None
    Points:
    6
    Posts:
    4
    Joined:
    Sep 14, 2016

    Sep 14, 2016
    4
    1
    6
    Male
    Hello! I'd like to make an image of my tablet android to reflash when I need. it's possible? Which program I have to use? (I'm on linux). Thanks for the answers
     

    Advertisement

  2. scary alien

    scary alien not really so scary
    Moderator
    Rank:
     #8
    Points:
    2,138
    Posts:
    22,298
    Joined:
    Mar 5, 2010

    Mar 5, 2010
    22,298
    23,695
    2,138
    Male
    space alien ;)
    Indy
    Welcome to our AndroidForums, @TronFourtyTwo :).

    Well, to make a complete (or as near complete as you can get) image of your Android device, you'd need to have a rooted device (or at least one that has a custom recovery installed or is bootable) in order to make what is called a "Nandroid backup".

    Rooting and installing custom recoveries (if available) are often device, Android version, and sometimes carrier dependent as to their existence and availability--never mind the knowledge and risk associated with using each.

    Lots of folks can and do do this, though, which gives them the ability to backup the various partitions of their Android device (/data, /system, /cache, /recovery are the main-typical-biggies that are backed-up).

    :)
     
  3. TronFourtyTwo

    TronFourtyTwo Lurker
    Thread Starter
    Rank:
    None
    Points:
    6
    Posts:
    4
    Joined:
    Sep 14, 2016

    Sep 14, 2016
    4
    1
    6
    Male
    Thanks!
     
    scary alien likes this.
  4. Bg260

    Bg260  
    VIP Member
    Rank:
     #32
    Points:
    763
    Posts:
    3,538
    Joined:
    Apr 30, 2016

    Apr 30, 2016
    3,538
    3,667
    763
    Male
    Freelance Entrepreneur
    Lincoln
    Code (Text):
    1. su
    2. dd if=/dev/block/mmcblk0p?? of=/storage/external_SD/system.img
    Of course you would use whatever block your system is mounted on and your sd card might have a different name, but that will create a system.img. As for as reflashing it....?
     
  5. scary alien

    scary alien not really so scary
    Moderator
    Rank:
     #8
    Points:
    2,138
    Posts:
    22,298
    Joined:
    Mar 5, 2010

    Mar 5, 2010
    22,298
    23,695
    2,138
    Male
    space alien ;)
    Indy
    Reflashing it basically is just the reverse of what you posted ("if" (input file) source becomes the "of" (output file) target and vice-versa).

    But you need to remember that the "dd" utility is a very (if not the most) dangerous command because it's pretty unforgiving (i.e., it will do exactly what you tell it to and the consequences of a bad command (i.e., wrong target or option or format) can ruin your day and your device).

    So, treat the "dd" command with the utmost respect and caution.

    :)
     
  6. Bg260

    Bg260  
    VIP Member
    Rank:
     #32
    Points:
    763
    Posts:
    3,538
    Joined:
    Apr 30, 2016

    Apr 30, 2016
    3,538
    3,667
    763
    Male
    Freelance Entrepreneur
    Lincoln
  7. TronFourtyTwo

    TronFourtyTwo Lurker
    Thread Starter
    Rank:
    None
    Points:
    6
    Posts:
    4
    Joined:
    Sep 14, 2016

    Sep 14, 2016
    4
    1
    6
    Male
    Thanks!
    The dd command will also save the bootloader partition?
     
  8. scary alien

    scary alien not really so scary
    Moderator
    Rank:
     #8
    Points:
    2,138
    Posts:
    22,298
    Joined:
    Mar 5, 2010

    Mar 5, 2010
    22,298
    23,695
    2,138
    Male
    space alien ;)
    Indy
    Well, you very likely need to be rooted to even have access to both the dd utility and to be able to read / copy the raw partitions with the dd command.

    You'd then need to figure-out what the device names for the partitions are--there are several ways to do this, but it's a bit device-specific and warm-and-fuzzy confirmation (i.e., checking the /cache/recovery/last_log) also requires root access.
     
Tags:

Share This Page

Loading...