Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

Clock Work Mod recovery?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Clock Work Mod recovery?

    Hi guys,

    I am new to (a) this forum & (b) the Minix X7.

    Am a seasoned flasher of custom ROMs (on my Nexus 7 / Samsung Galaxy S3), and was wondering if there is a version of CWM / TWRP to allow for nand backups of the X7?

    Thanks
    Live as if you were to die tomorrow. Learn as if you were to live forever

    #2
    Originally posted by jellywobbles View Post
    Hi guys,

    I am new to (a) this forum & (b) the Minix X7.

    Am a seasoned flasher of custom ROMs (on my Nexus 7 / Samsung Galaxy S3), and was wondering if there is a version of CWM / TWRP to allow for nand backups of the X7?

    Thanks
    +1 on this

    Comment


      #3
      There is a CWM people are using. Look around.

      I do not use CWM myself anymore.
      I do a back using DD via ADB and this includes user space!

      Then if you notice in my flash tool I have added a line after backup called userdata. You can flash your user data back with this.

      This is faster than CWM restore and works for me as a Dev as I can do it all in one flash session

      Bob
      "Pzebacz im, bo nie wiedzą, co czynią"
      "Прости им, они не ведают, что творят"
      "Perdona loro perché non sanno quello che fanno"
      "Vergib ihnen, denn sie wissen nicht, was sie tun"
      "Vergeef hen want ze weten niet wat ze doen"
      "Pardonne-leur car ils ne savent pas ce qu'ils font"
      "Perdónalos porque no saben que lo que hacen"
      "Oprosti im, jer ne znaju što čine"
      "Forgive them as they know not what they do"





      Comment


        #4
        Re: Clock Work Mod recovery?

        Originally posted by jellywobbles View Post
        Hi guys,

        I am new to (a) this forum & (b) the Minix X7.

        Am a seasoned flasher of custom ROMs (on my Nexus 7 / Samsung Galaxy S3), and was wondering if there is a version of CWM / TWRP to allow for nand backups of the X7?

        Thanks
        Originally posted by danfozzy View Post
        +1 on this
        You can try to use the gereric cwm recovery made my fun in androtab, but it hasn't a kernel inside, so if something is wrong in your kernel partition you are in problems. If you want I can port the fun recovery for your devices. I will try to port them after my holidays (next week I will stay out of home).
        But remember that fun made the recovery I only can modded it and add the kernel on it, to fit on your device. And I don't have a X7 so I need a betatester who check it.

        leolas
        REMEMBER, YOUR FEEDBACK IS VERY IMPORTANT TO US.
        My devices:
        Minix Neo X7; Minix Neo X8-H , Minix Neo Z64W & Z64 (Sponsored by Minix)
        MK902 & MK902II(Sponsored by RKM)
        Beelink M8B & Beelink R89 (Sponsored by Beelink)
        Tronsmart VEGA S89H (Sponsored by
        Gearbest.com)
        MELE-PCG03 (Sponsored by Gearbest.com) Discount Coupon:MPCG03
        Ainol Intel Z3735 MiniPC(Sponsored by Gearbest.com)
        Thanks to them I can try to support your devices http://freaktab.com/core/images/smilies/wink.png

        Comment


          #5
          Originally posted by leolas View Post
          You can try to use the gereric cwm recovery made my fun in androtab, but it hasn't a kernel inside, so if something is wrong in your kernel partition you are in problems. If you want I can port the fun recovery for your devices. I will try to port them after my holidays (next week I will stay out of home).
          But remember that fun made the recovery I only can modded it and add the kernel on it, to fit on your device. And I don't have a X7 so I need a betatester who check it.

          leolas
          I'm happy to test it, appreciate you offering your time, enjoy your hols

          Comment


            #6
            Originally posted by Finless View Post
            There is a CWM people are using. Look around.

            I do not use CWM myself anymore.
            I do a back using DD via ADB and this includes user space!

            Then if you notice in my flash tool I have added a line after backup called userdata. You can flash your user data back with this.

            This is faster than CWM restore and works for me as a Dev as I can do it all in one flash session

            Bob
            Bob, sorry to bother, but what is DD exactly? I saw how your flash tool had a userdata option but I am not familiar with DD. Thanks in advance for your help.

            -Darren

            Comment


              #7
              dd is a Unix tool, Google man dd for information. Bob uses it to copy the 'partitions' to IMG files.
              900Supersport

              900supersports FreakTab rkROMkitchen

              900supersports guide to working-RK-ROMs

              Under Construction 900supersports guide to working MediaTek ROMS

              Struggling for time at the moment, but will try and drop by when I can.

              If you would like to support my ROM development then please visit my Google site donate page where you can make a paypal donation

              freaktab developer

              Proof that you're never to old to learn. Sometimes too old to remember though.

              Comment


                #8
                Originally posted by darebee View Post
                Bob, sorry to bother, but what is DD exactly? I saw how your flash tool had a userdata option but I am not familiar with DD. Thanks in advance for your help.

                -Darren
                There is some good info here - its not X7 specific, but ADB works on the X7 like it works on other android devices.

                Just searched and found the very thing here on this Forum:-



                Cheers
                Last edited by jellywobbles; 25 August 2013, 11:28.
                Live as if you were to die tomorrow. Learn as if you were to live forever

                Comment


                  #9
                  Of course I searched google first and I get that it can create an .img from something. The from something (partitions) for android are what I don't understand and how to determine which is which. The other tutorial referenced uses the rkdump tool and not dd. I am just trying to simply understand the easiest way to backup my userdata to an img so I can restore with any new Finless ROMs.

                  For instance, I did the below commands and see this, but what do I with that? I have never been a unix user so all of this is new to me. I would gladly write a tutorial for other users if I can put together the information I need.

                  Code:
                  E:\Minix Neo X7\RK3188_ROOT>adb devicesList of devices attached
                  0123456789ABCDEF        device
                  
                  
                  
                  
                  E:\Minix Neo X7\RK3188_ROOT>adb shell
                  root@android:/ # cat /proc/mtd
                  cat /proc/mtd
                  dev:    size   erasesize  name
                  mtd0: 00400000 00004000 "misc"
                  mtd1: 01000000 00004000 "kernel"
                  mtd2: 01000000 00004000 "boot"
                  mtd3: 02000000 00004000 "recovery"
                  mtd4: 04000000 00004000 "backup"
                  mtd5: 08000000 00004000 "cache"
                  mtd6: 100000000 00004000 "userdata"
                  mtd7: 00400000 00004000 "kpanic"
                  mtd8: 26000000 00004000 "system"
                  mtd9: 2a0e00000 00004000 "user"

                  Comment


                    #10
                    Originally posted by darebee View Post
                    .... The other tutorial referenced uses the rkdump tool and not dd. ...
                    Not correct ... Read this first , then download the dump file here

                    This method uses ADB to make a dump of boot,kernel,recovery and system using the DD command.

                    Code:
                    @echo off
                    cls
                    echo MTD Dump Scrip by AbduL
                    echo.
                    echo This script will make a dump of the most important parts of your 
                    echo device to the PC using ADB.
                    echo.
                    echo.
                    echo it's requires aprox. 1GB on SDcard.
                    echo.
                    
                    :start
                    echo  1. Backup
                    echo  -------------------------------------------
                    echo  Q. Exit
                    echo.
                    echo.
                    set /p var=Choose (1,Q):
                    if %var%==1 goto sdcard
                    if %var%==Q goto fim
                    if %var%==q goto fim
                    goto start
                    
                    :sdcard
                    echo.
                    echo Making dump directory on SDCard
                    adb shell mkdir /sdcard/dump
                    echo.
                    echo Starting Dump...
                    echo.
                    echo Dumping cmdline
                    adb shell "cat proc/cmdline>sdcard/dump/cmdline"
                    echo.
                    echo Dumping kernel.img
                    adb shell dd if=/dev/mtd/mtd1 of=/sdcard/dump/kernel.img
                    echo.
                    echo Dumping boot.img
                    adb shell dd if=/dev/mtd/mtd2 of=/sdcard/dump/boot.img
                    echo.
                    echo Dumping recovery.img
                    adb shell dd if=/dev/mtd/mtd3 of=/sdcard/dump/recovery.img
                    echo.
                    echo Dumping system.img. This will take a minute.
                    adb shell dd if=/dev/mtd/mtd8 of=/sdcard/dump/system.img
                    echo.
                    echo Pulling to PC. Few more minutes...
                    mkdir dump
                    adb pull /sdcard/dump dump
                    echo A mudar o nome da directoria
                    for /F "tokens=2-4 delims=/- " %%i in ('date /t') do set yyyymmdd=%%k%%i%%j
                    for /F "tokens=1-2 delims=: " %%l in ('time /t') do set hhmm=%%l%%m
                    ren dump Dump_%yyyymmdd%_%hhmm%
                    adb shell rm -r /sdcard/dump
                    echo.
                    echo The dump is in Scrip/Dump_%yyyymmdd%_%hhmm%
                    echo.
                    echo Backup Finished!
                    
                    :fim
                    pause
                    I have not tried it
                    Live as if you were to die tomorrow. Learn as if you were to live forever

                    Comment


                      #11
                      So here is an example. This is using ADB but you can also do it from a terminal emulator if you have root.

                      dd if=/dev/block/mtdblock8 of=/sdcard/system.img

                      As you see for your list mtd8 is "system".
                      After the above runs you will have a system.img on your sdcard that is flashable.

                      Now you can also backup mtd9 "user". But understand it may not work 100%.
                      If some APP is writing to user you could end up with a bad user.img. Thus make sure all APPs are shut down and the system is not doing anything when you back it up.

                      Bob
                      "Pzebacz im, bo nie wiedzą, co czynią"
                      "Прости им, они не ведают, что творят"
                      "Perdona loro perché non sanno quello che fanno"
                      "Vergib ihnen, denn sie wissen nicht, was sie tun"
                      "Vergeef hen want ze weten niet wat ze doen"
                      "Pardonne-leur car ils ne savent pas ce qu'ils font"
                      "Perdónalos porque no saben que lo que hacen"
                      "Oprosti im, jer ne znaju što čine"
                      "Forgive them as they know not what they do"





                      Comment


                        #12
                        Originally posted by Finless View Post
                        So here is an example. This is using ADB but you can also do it from a terminal emulator if you have root.

                        dd if=/dev/block/mtdblock8 of=/sdcard/system.img

                        As you see for your list mtd8 is "system".
                        After the above runs you will have a system.img on your sdcard that is flashable.

                        Now you can also backup mtd9 "user". But understand it may not work 100%.
                        If some APP is writing to user you could end up with a bad user.img. Thus make sure all APPs are shut down and the system is not doing anything when you back it up.

                        Bob
                        This is awesome, Bob, thanks. However when I tried to back up user it got to 4 GB and ran out of space. How difficult is it to push this to external_sd?

                        Also, what is the difference between user and userdata specifically?

                        Thanks,
                        -Darren

                        Comment


                          #13
                          User is the sdcard storage , userdata is the /data folder where the apps are installed.

                          leolas
                          REMEMBER, YOUR FEEDBACK IS VERY IMPORTANT TO US.
                          My devices:
                          Minix Neo X7; Minix Neo X8-H , Minix Neo Z64W & Z64 (Sponsored by Minix)
                          MK902 & MK902II(Sponsored by RKM)
                          Beelink M8B & Beelink R89 (Sponsored by Beelink)
                          Tronsmart VEGA S89H (Sponsored by
                          Gearbest.com)
                          MELE-PCG03 (Sponsored by Gearbest.com) Discount Coupon:MPCG03
                          Ainol Intel Z3735 MiniPC(Sponsored by Gearbest.com)
                          Thanks to them I can try to support your devices http://freaktab.com/core/images/smilies/wink.png

                          Comment


                            #14
                            Originally posted by darebee View Post
                            This is awesome, Bob, thanks. However when I tried to back up user it got to 4 GB and ran out of space. How difficult is it to push this to external_sd?

                            Also, what is the difference between user and userdata specifically?

                            Thanks,
                            -Darren
                            Yes you can also do this to external SD.


                            dd if=/dev/block/mtdblock8 of=/external_sd/system.img


                            Bob
                            "Pzebacz im, bo nie wiedzą, co czynią"
                            "Прости им, они не ведают, что творят"
                            "Perdona loro perché non sanno quello che fanno"
                            "Vergib ihnen, denn sie wissen nicht, was sie tun"
                            "Vergeef hen want ze weten niet wat ze doen"
                            "Pardonne-leur car ils ne savent pas ce qu'ils font"
                            "Perdónalos porque no saben que lo que hacen"
                            "Oprosti im, jer ne znaju što čine"
                            "Forgive them as they know not what they do"





                            Comment


                              #15
                              Originally posted by Finless View Post
                              Yes you can also do this to external SD.


                              dd if=/dev/block/mtdblock8 of=/external_sd/system.img


                              Bob
                              Sorry Bob, I had to use dd if=/dev/block/mtdblock8 of=/mnt/external_sd.img

                              Comment

                              Working...
                              X