Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

DUMP STOCK-ROM . & . BUILD UP FLASHABLE IMAGE

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

    #31
    I answered it at 2.
    I descried it at post #21 ... I don't use a hole reflashable Image for using with RKBatchTool... I prefer the way of flashable separate parts with RKAndroidTool...
    You don't must extract it, you can use the "brutto" data for parameter too, but you can use your already made extract in post #28 too (as a txt file)...

    For each other image ("partition" like kernel and so on) you want to flash, you find the address in your parameter file at CMDLINE:
    Code:
    CMDLINE:console=ttyFIQ0 androidboot.console=ttyFIQ0 init=/init initrd=0x62000000,0x00800000 mtdparts=rk29xxnand:0x00002000@0x00002000(misc),0x00008000@0x00004000(kernel),0x00008000@0x0000C000(boot),0x000C000@0x00014000(recovery),0x00140000@0x00020000(backup),0x00040000@0x00160000(cache),0x00400000@0x001a0000(userdata),0x00002000@0x005a0000(kpanic),0x00140000@0x005a2000(system),-@0x006e2000(user)
    =>

    Code:
    0x00000000 parameter
    0x00002000 misc
    0x00004000 kernel
    0x0000C000 boot
    0x00014000 recovery
    0x00020000 backup
    0x005a2000 system
    Don't forget the loader file (RK3188Loader(L)_V1.2x.bin)...
    RK3288 Devices
    - Overview BOX (LINK !)
    - Overview STICK (Dongle) (LINK !)

    MINIX NEO: Z64 W/A - (Intel Z3735F); X8-H Plus - (Amlogic S812H); A2 Lite (sponsored by minix.com.hk)
    UGOOS UT3S (4/32GB with fan) - FW 2.0.6 - (RK3288) (sponsored by GearBest.com)
    Tronsmart Draco AW80 Meta (2/16GB) - FW v2.0rc3 - (Allwinner A80) (sponsored by GeekBuying.com)
    Beelink / UBOX R89 - FW 111k4110_1219 - (RK3288) (sponsored by Netxeon (Beelink))

    RK3188: pcb => "CH001 1332 TN-BX09_V2.1" (K-R42 / CS918...) => wasser KK 1.0.3 (old rev)
    Fly Mouse Mini Wireless Keyboard with 2 mode learning IR remote 'iPazzPort KP-810-16'

    Comment


      #32
      for the needing bootloader have a look at post #20

      Code:
      root@android:/ # [B]cat /proc/cmdline[/B]
      for example at

      Code:
      bootver= 2013-05-18#[B]1.20[/B]
      you can see the needing bootloader...
      (but I'm not sure, perhaps it is not important to use the "matching" bootloader, because I think it is for internal use of the flashing applications, but not sure and find/get no answer...)
      Attached Files
      RK3288 Devices
      - Overview BOX (LINK !)
      - Overview STICK (Dongle) (LINK !)

      MINIX NEO: Z64 W/A - (Intel Z3735F); X8-H Plus - (Amlogic S812H); A2 Lite (sponsored by minix.com.hk)
      UGOOS UT3S (4/32GB with fan) - FW 2.0.6 - (RK3288) (sponsored by GearBest.com)
      Tronsmart Draco AW80 Meta (2/16GB) - FW v2.0rc3 - (Allwinner A80) (sponsored by GeekBuying.com)
      Beelink / UBOX R89 - FW 111k4110_1219 - (RK3288) (sponsored by Netxeon (Beelink))

      RK3188: pcb => "CH001 1332 TN-BX09_V2.1" (K-R42 / CS918...) => wasser KK 1.0.3 (old rev)
      Fly Mouse Mini Wireless Keyboard with 2 mode learning IR remote 'iPazzPort KP-810-16'

      Comment


        #33
        @no_spam_for_me

        Thank You Very Much...

        rkdump.out's Backup.img size is 573MB ( 600,813,572bytes)
        And dd.out's size is 640 MB (671,088,640 bytes) [all extra bytes are NULL]

        Both Of Them Compared Same...
        Both Of Them Have Same Starting Hex Value "RKAF"

        While On Unpack With "RK3066_IMG_Mod_Tool" I Get

        Code:
        Reading file header...
        File header: RKAF
        Read loader's offset
        Read loader's len
        Read update.img's offset
        Read update.img's len
        Output Loader
        offset(0x0) len(0x0)
        Output updata.img
        offset(0x0) len(0x0)
        Unpack updata.img to Temp folder
        Check file...


        Ok Now Last Question
        I Have These Files In The Output Folder,

        Code:
        [dd.out]
            backup.img
            boot.img
            kernel.img
            misc.img    
            recovery.img
            system.img
        
        [rkdump.out]
            backup.img
            boot.img
            kernel.img
        
        [romdump.out]
            boot.img
            checksum.md5
            config.gz
            recovery.img
            system.info.gz
            system.tar
        Which One Should I Use On "RKAndroid Tool 1.37"

        Can You Show Me A Screenshot Of The "RKAndroid Tool 1.37" With Loaded List..

        Last edited by whocares; 29 January 2014, 18:03.

        Comment


          #34
          1. rkdump out's backup.img size is different to the one of dd, because dd dump the hole "partition" and rkdump is intelligent

          2. if with "RK3066_IMG_Mod_Tool" you only get "Check file..." and no extracted files it looks like the same problem I have with wendal_tools (post #6 or #21)...

          3. use the files of the dd (dd.out/.) but I'm missing "recovery.img"

          3a. put the directory in the same directory of the "RKAndroid Tool 1.37" (exe) (use the new 2.1 (AndroidTool.exe) because each row exist and you only have to modify the Address column and the Path column)

          3b. you need no screenshoot use the information I give in the last code-window in post #31 specially for Address and with file in last column (for example "dd.out/kernel.img" or if on same level as exe only filename) and check each row in first column...
          RK3288 Devices
          - Overview BOX (LINK !)
          - Overview STICK (Dongle) (LINK !)

          MINIX NEO: Z64 W/A - (Intel Z3735F); X8-H Plus - (Amlogic S812H); A2 Lite (sponsored by minix.com.hk)
          UGOOS UT3S (4/32GB with fan) - FW 2.0.6 - (RK3288) (sponsored by GearBest.com)
          Tronsmart Draco AW80 Meta (2/16GB) - FW v2.0rc3 - (Allwinner A80) (sponsored by GeekBuying.com)
          Beelink / UBOX R89 - FW 111k4110_1219 - (RK3288) (sponsored by Netxeon (Beelink))

          RK3188: pcb => "CH001 1332 TN-BX09_V2.1" (K-R42 / CS918...) => wasser KK 1.0.3 (old rev)
          Fly Mouse Mini Wireless Keyboard with 2 mode learning IR remote 'iPazzPort KP-810-16'

          Comment


            #35
            Originally posted by no_spam_for_me View Post
            but I'm missing "recovery.img"
            It's Not Missing I Missed To Type..

            So Now I Got The Point..

            Thanks....A.......LOT.

            Comment


              #36
              Originally posted by no_spam_for_me View Post

              Code:
              root@android:/ # [B]cat /proc/cmdline[/B]
              OH Gosh.... bootver=2013-11-29#2.08

              Code:
              cat /proc/cmdline
              console=ttyFIQ0 androidboot.console=ttyFIQ0 init=/init initrd=0x62000000,0x00130
              000 mtdparts=rk29xxnand:0x00002000@0x00002000(misc),0x00008000@0x00004000(kernel
              ),0x00008000@0x0000C000(boot),0x000C000@0x00014000(recovery),0x00140000@0x000200
              00(backup),0x00040000@0x00160000(cache),0x00400000@0x001a0000(userdata),0x000020
              00@0x005a0000(kpanic),0x00140000@0x005a2000(system),-@0x006e2000(user) bootver=2
              013-11-29#2.08 firmware_ver=4.1.1
              and got it...
              Attached Files

              Comment


                #37
                Rockchip bootloader collection

                THX
                And other versions can find by google using "Rockchip bootloader collection" ...
                RK3288 Devices
                - Overview BOX (LINK !)
                - Overview STICK (Dongle) (LINK !)

                MINIX NEO: Z64 W/A - (Intel Z3735F); X8-H Plus - (Amlogic S812H); A2 Lite (sponsored by minix.com.hk)
                UGOOS UT3S (4/32GB with fan) - FW 2.0.6 - (RK3288) (sponsored by GearBest.com)
                Tronsmart Draco AW80 Meta (2/16GB) - FW v2.0rc3 - (Allwinner A80) (sponsored by GeekBuying.com)
                Beelink / UBOX R89 - FW 111k4110_1219 - (RK3288) (sponsored by Netxeon (Beelink))

                RK3188: pcb => "CH001 1332 TN-BX09_V2.1" (K-R42 / CS918...) => wasser KK 1.0.3 (old rev)
                Fly Mouse Mini Wireless Keyboard with 2 mode learning IR remote 'iPazzPort KP-810-16'

                Comment


                  #38
                  Here What I Found... "imgRePackerRK_103" Also Attached also translated Version Of Readme.txt

                  I Unpacked The Backup.img Successfully...

                  Code:
                  C:\Documents and Settings\Administrator\Desktop\imgRePackerRK_103>imgRePackerRK.
                  exe backup.img
                  
                          imgRePackerRK (version 1.03 windows)
                          Rockchip firmware batch image unpacker/packer
                  
                          (c) RedScorpio, Moscow, 2013-2014
                              [email protected]
                  
                          ==========================[ START ]==========================
                  
                          --- Firmware unpacking ---
                  
                          "RKAF" image file detected
                  
                          Image properties:
                                  Type            RockChip update image (RKAF)
                                  Id              "007"
                                  Model           "rk31sdk"
                                  Manufacturer    "RK30SDK"
                                  Version         4.1.1
                  
                          - Files extracting -
                          Image files count = 11
                  
                          package-file (package-file)             extracted (format: unknown)
                          bootloader (RK3188Loader(L)_V2.08.bin)          extracted (format: RockChip bootloader image)
                          parameter (parameter)           extracted (format: RockChip PARM signed file)
                          misc (Image/misc.img)           extracted (format: unknown)
                          kernel (Image/kernel.img)               extracted (format: RockChip KRNL signed file)
                          boot (Image/boot.img)           extracted (format: RockChip KRNL signed file)
                          recovery (Image/recovery.img)           extracted (format: Android boot image)
                          system (Image/system.img)               extracted (format: ext3 image)
                          backup (SELF)   skipped
                          update-script (update-script)           extracted (format: unknown)
                          recover-script (recover-script)         extracted (format: unknown)
                  
                          - rkCRC summ of update.img checking -
                          Stored rkCRC            = 0x1e08d8fe
                          Calculated rkCRC        = 0x1e08d8fe
                          - image.cfg creating -
                          image.cfg created
                  
                          ==========================[ STOP  ]==========================
                  Got All This Files In Return..

                  Code:
                  [Image]
                  [Image] - boot.img
                  [Image] - kernel.img
                  [Image] - misc.img
                  [Image] - recovery.img
                  [Image] - system.img
                  image.cfg
                  package-file
                  parameter
                  recover-script
                  RK3188Loader(L)_V2.08.bin
                  update-script
                  After I Packed It Looks Good
                  Code:
                  C:\Documents and Settings\Administrator\Desktop\imgRePackerRK_103>imgRePackerRK backup.img.dump
                  
                          imgRePackerRK (version 1.03 windows)
                          Rockchip firmware batch image unpacker/packer
                  
                          (c) RedScorpio, Moscow, 2013-2014
                              [email protected]
                  
                          ==========================[ START ]==========================
                  
                          --- Firmware creating ---
                  
                          - "package-file" configuration file reading -
                          "package-file" was read
                  
                          - "parameter" configuration file reading -
                          "parameter" was read
                  
                          - "image.cfg"  configuration file reading -
                          image.cfg was read
                  
                          - Files checking -
                          package-file (package-file)             checked
                          bootloader (RK3188Loader(L)_V2.08.bin)          checked
                          parameter (parameter)           checked
                          misc (Image/misc.img)           checked
                          kernel (Image/kernel.img)               checked
                          boot (Image/boot.img)           checked
                          recovery (Image/recovery.img)           checked
                          system (Image/system.img)               checked
                          backup (SELF)   skipped
                          update-script (update-script)           checked
                          recover-script (recover-script)         checked
                  
                          -- Injecting into "backup.img" --
                          - Image header (RKFW) injecting -
                          Image properties:
                                  Type            RockChip batch image (RKFW)
                                  Version         4.1.1
                                  Date            2014.01.30
                                  Time            11:41:14
                                  ChipID          0x00000060
                                  Code(?)         0x01050000
                  
                          Image header injected
                  
                          - boot.img injecting -
                          boot.img (RK3188Loader(L)_V2.08.bin)            injected
                  
                          - update.img header (RKAF) injecting -
                          Image properties:
                                  Type            RockChip update image (RKAF)
                                  Id              "007"
                                  Model           "rk31sdk"
                                  Manufacturer    "RK30SDK"
                                  Version         4.1.1
                  
                          update.img header injected
                  
                          - Files injecting -
                          Image files count = 11
                  
                          package-file (unknown)          injected
                          bootloader (RockChip bootloader image)          injected
                          parameter (RockChip PARM signed file)           injected
                          misc (unknown)          injected
                          kernel (RockChip KRNL signed file)              injected
                          boot (RockChip KRNL signed file)                injected
                          recovery (Android boot image)           injected
                          system (ext3 image)             injected
                          backup                  skipped
                          update-script (unknown)         injected
                          recover-script (unknown)                injected
                  
                          - rkCRC check summ of update.img injecting -
                                  rkCRC   = 0x0f68109f
                          rkCRC check summ injected
                  
                          - MD5 check summ injecting -
                                  MD5     = "c06160849d4492809315fbd5f1827f5d"
                          MD5 check summ injected
                  
                          ==========================[ STOP  ]==========================
                  
                  C:\Documents and Settings\Administrator\Desktop\imgRePackerRK_103>
                  Then Unpacked With "RK3066_IMG_Mod_Tool" Again Look Good

                  Code:
                  RK29xx Image Pack/Unpack Tools
                  Blog http://wendal.net
                  Project: https://github.com/wendal/teclast_tools
                  feedback: [email protected]
                  Pls input: 1-Unpack 2-Pack 3-Exit
                  1
                  Pls copy Image file into this folder,and rename to wendal.img
                  Notify any errors!
                  Press any key to continue . . .
                  Reading file header...
                  File header: RKFWf
                  Read loader's offset
                  Read loader's len
                  Read update.img's offset
                  Read update.img's len
                  Output Loader
                  offset(0x66) len(0x2FB8A)
                  Output updata.img
                  offset(0x2FBF0) len(0x23CFB004)
                  Unpack updata.img to Temp folder
                  Check file... OK
                  ------- UNPACK ------
                  package-file    0x00000800      0x0000022F
                  RK3188Loader(L)_V2.08.bin       0x00001000      0x0002FB8A
                  parameter       0x00031000      0x00000265
                  Image/misc.img  0x00031800      0x0000C000
                  Image/kernel.img        0x0003D800      0x0086C030
                  Image/boot.img  0x008AA000      0x000FADAA
                  Image/recovery.img      0x009A5000      0x00B3C000
                  Image/system.img        0x014E1000      0x22818C00
                  update-script   0x23CFA000      0x000003A5
                  recover-script  0x23CFA800      0x0000010A
                  Unpack firmware OK!
                  ------ OK ------
                  Unpack -- All Done
                  Pls input: 1-Unpack 2-Pack 3-Exit
                  IMG CREATED IS NOT FLASHABLE
                  Attached Files
                  Last edited by whocares; 11 February 2014, 19:31.

                  Comment


                    #39
                    Does anyone know how to retain the apps and settings of the Android Box we're dumping?

                    I can successfully flash the built up image but none of my apps are there

                    Thanks

                    Comment


                      #40
                      Yes and No
                      The user installed apps are at another "partition":

                      userdata - this is where APPs get installed, user accounts are stored, databases, etc. This area if erased losses all your user installed apps, settings, etc. A factory data reset erases this area.

                      cache - this is an area APPs store information like Google Play for instance.

                      user - This is the remaining NAND space and is set aside as the internal SDcard.

                      so you have to dump them too
                      but I think only flashable separately by RKAndroidTool and not with an "packed" img by batchtool...
                      RK3288 Devices
                      - Overview BOX (LINK !)
                      - Overview STICK (Dongle) (LINK !)

                      MINIX NEO: Z64 W/A - (Intel Z3735F); X8-H Plus - (Amlogic S812H); A2 Lite (sponsored by minix.com.hk)
                      UGOOS UT3S (4/32GB with fan) - FW 2.0.6 - (RK3288) (sponsored by GearBest.com)
                      Tronsmart Draco AW80 Meta (2/16GB) - FW v2.0rc3 - (Allwinner A80) (sponsored by GeekBuying.com)
                      Beelink / UBOX R89 - FW 111k4110_1219 - (RK3288) (sponsored by Netxeon (Beelink))

                      RK3188: pcb => "CH001 1332 TN-BX09_V2.1" (K-R42 / CS918...) => wasser KK 1.0.3 (old rev)
                      Fly Mouse Mini Wireless Keyboard with 2 mode learning IR remote 'iPazzPort KP-810-16'

                      Comment


                        #41
                        Finless has wrote a HowTo for dumping with "Rockchip AndroidTool 2.1" (like "RKAndroid Tool 1.37" but with the possibility to read out of the nand too)
                        Backing up your RK device (ROM) with the new RK 2.1 tool
                        RK3288 Devices
                        - Overview BOX (LINK !)
                        - Overview STICK (Dongle) (LINK !)

                        MINIX NEO: Z64 W/A - (Intel Z3735F); X8-H Plus - (Amlogic S812H); A2 Lite (sponsored by minix.com.hk)
                        UGOOS UT3S (4/32GB with fan) - FW 2.0.6 - (RK3288) (sponsored by GearBest.com)
                        Tronsmart Draco AW80 Meta (2/16GB) - FW v2.0rc3 - (Allwinner A80) (sponsored by GeekBuying.com)
                        Beelink / UBOX R89 - FW 111k4110_1219 - (RK3288) (sponsored by Netxeon (Beelink))

                        RK3188: pcb => "CH001 1332 TN-BX09_V2.1" (K-R42 / CS918...) => wasser KK 1.0.3 (old rev)
                        Fly Mouse Mini Wireless Keyboard with 2 mode learning IR remote 'iPazzPort KP-810-16'

                        Comment


                          #42
                          Originally posted by no_spam_for_me View Post
                          Finless has wrote a HowTo for dumping with "Rockchip AndroidTool 2.1" (like "RKAndroid Tool 1.37" but with the possibility to read out of the nand too)
                          Backing up your RK device (ROM) with the new RK 2.1 tool
                          Thank you very much, I'll take a look

                          Comment


                            #43
                            Originally posted by whocares View Post
                            IMG CREATED IS NOT FLASHABLE
                            Please provide link to firmware. I'll check

                            Comment


                              #44
                              i have a question please help me if you can
                              i didnt find the cat /proc/mtd is working because the mtd is not found in proc so after search i used proc/mount with link

                              i got the system file only but i didn't got the recovery or boot
                              i need another way to get it to build CWM

                              my device is totally new and support for it at all because it is BCM 21663 broadom
                              i have dual core Arm 7
                              512 ram
                              8g storage
                              1024*600
                              2 sim 3g tablet
                              any other CWM may works? or firmware refer to this specs??


                              ANY EXPERT THERE???

                              Comment


                                #45
                                At what fw do you tried the cat /proc/mtd ?
                                I found out at rk3288 and KK /proc/mtd doesn't any longer exits.
                                Maybe the same at KK at other devices?

                                But you can do
                                ls -al /dev/block/mtd/by-name
                                and
                                cat /proc/partitions

                                But I don't know if it will help at your situation...
                                RK3288 Devices
                                - Overview BOX (LINK !)
                                - Overview STICK (Dongle) (LINK !)

                                MINIX NEO: Z64 W/A - (Intel Z3735F); X8-H Plus - (Amlogic S812H); A2 Lite (sponsored by minix.com.hk)
                                UGOOS UT3S (4/32GB with fan) - FW 2.0.6 - (RK3288) (sponsored by GearBest.com)
                                Tronsmart Draco AW80 Meta (2/16GB) - FW v2.0rc3 - (Allwinner A80) (sponsored by GeekBuying.com)
                                Beelink / UBOX R89 - FW 111k4110_1219 - (RK3288) (sponsored by Netxeon (Beelink))

                                RK3188: pcb => "CH001 1332 TN-BX09_V2.1" (K-R42 / CS918...) => wasser KK 1.0.3 (old rev)
                                Fly Mouse Mini Wireless Keyboard with 2 mode learning IR remote 'iPazzPort KP-810-16'

                                Comment

                                Working...
                                X