Unconfigured Ad Widget

Collapse

Announcement

Collapse
No announcement yet.

Rockchip Linux Upgrade Tool

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

    Rockchip Linux Upgrade Tool

    Hello

    I'm seeking information, understanding how to flash ROM under Linux, as RileyRom, Finless, ... i found this new tool by Rockchip - the Rockchip Linux Upgrade Tool - by radxa communauty :

    Archive : http://dl.radxa.com/rock/tools/linux...Tool_v1.16.zip

    It's seem to work for Kitkat.
    This could flash Loader, erase NAND, etc...

    But I find no other information anywhere, no documentation, no other website.

    Do you know it?

    Code:
    $ ./upgrade_tool 
    List of rockusb connected
    DevNo=1   Vid=0x2207,Pid=0x310b,LocationID=21d   Loader
    Found 1 rockusb,Select input DevNo,Rescan press <R>,Quit press <Q>:1
    
    ---------------------Tool Usage ---------------------
    Help:             H
    Quit:             Q
    Version:          V
    Clear Screen:     CS
    ------------------Upgrade Command ------------------
    ChooseDevice:      CD
    SwitchDevice:      SD
    UpgradeFirmware:   UF <Firmware>
    UpgradeLoader:      UL <Loader>
    DownloadImage:      DI <-p|-b|-k|-s|-r|-m image> [parameter file]
    DownloadBoot:      DB <Loader>
    EraseFlash:      EF <Loader|firmware>
    LowerFormat:      LF
    ----------------Professional Command -----------------
    TestDevice:      TD
    ResetDevice:      RD
    ReadFlashID:      RID
    ReadFlashInfo:      RFI
    ReadChipInfo:      RCI
    ReadSector:      RS  <BeginSec> <SectorLen> [-decode] [File]
    WriteSector:      WS  <BeginSec> <File>
    ReadLBA:      RL  <BeginSec> <SectorLen> [File]
    WriteLBA:      WL  <BeginSec> <File>
    EraseBlock:      EB <CS> <BeginBlock> <BlokcLen> [--Force]
    -------------------------------------------------------
    
    Rockusb>
    I know the other tools such as rkflashtool, rktools, ... ;-)
    "Just ATP"
    - MTKZenyT(ools) : Tools to backup, flash, root'n unroot under GNU/Linux

    Phone: Xiaomi Redmi 1
    Tablet
    s: CDisplay SV1.0.6 (original); PiPo M8HD (under RileyRom 1.9)

    #2
    Re: Rockchip Linux Upgrade Tool

    Originally posted by ATP View Post
    Hello

    I'm seeking information, understanding how to flash ROM under Linux, as RileyRom, Finless, ... i found this new tool by Rockchip - the Rockchip Linux Upgrade Tool - by radxa communauty :

    Archive : http://dl.radxa.com/rock/tools/linux...Tool_v1.16.zip

    It's seem to work for Kitkat.
    This could flash Loader, erase NAND, etc...

    But I find no other information anywhere, no documentation, no other website.

    Do you know it?

    Code:
    $ ./upgrade_tool 
    List of rockusb connected
    DevNo=1   Vid=0x2207,Pid=0x310b,LocationID=21d   Loader
    Found 1 rockusb,Select input DevNo,Rescan press <R>,Quit press <Q>:1
    
    ---------------------Tool Usage ---------------------
    Help:             H
    Quit:             Q
    Version:          V
    Clear Screen:     CS
    ------------------Upgrade Command ------------------
    ChooseDevice:      CD
    SwitchDevice:      SD
    UpgradeFirmware:   UF <Firmware>
    UpgradeLoader:      UL <Loader>
    DownloadImage:      DI <-p|-b|-k|-s|-r|-m image> [parameter file]
    DownloadBoot:      DB <Loader>
    EraseFlash:      EF <Loader|firmware>
    LowerFormat:      LF
    ----------------Professional Command -----------------
    TestDevice:      TD
    ResetDevice:      RD
    ReadFlashID:      RID
    ReadFlashInfo:      RFI
    ReadChipInfo:      RCI
    ReadSector:      RS  <BeginSec> <SectorLen> [-decode] [File]
    WriteSector:      WS  <BeginSec> <File>
    ReadLBA:      RL  <BeginSec> <SectorLen> [File]
    WriteLBA:      WL  <BeginSec> <File>
    EraseBlock:      EB <CS> <BeginBlock> <BlokcLen> [--Force]
    -------------------------------------------------------
    
    Rockusb>
    I know the other tools such as rkflashtool, rktools, ... ;-)
    Very nice finding! We had not any tool to full flash from linux, it will save a lot of time testing roms. I didnt tested it yet, but if it works properly it can be a great tool for Linux users.

    Thanks.

    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


      #3
      Originally posted by leolas View Post
      Very nice finding! We had not any tool to full flash from linux, it will save a lot of time testing roms. I didnt tested it yet, but if it works properly it can be a great tool for Linux users.

      Thanks.

      leolas.
      I hope
      But as i said in the 1rst post : no documentation, no more information ... so much minimal!
      And, as my tablet is in 4.2.2, i can't test anymore ...
      "Just ATP"
      - MTKZenyT(ools) : Tools to backup, flash, root'n unroot under GNU/Linux

      Phone: Xiaomi Redmi 1
      Tablet
      s: CDisplay SV1.0.6 (original); PiPo M8HD (under RileyRom 1.9)

      Comment


        #4
        There is a PDF that looks to be useful. I'm currently doing some translation through Google. Will post some documentation later.

        Sent from my u30gt2 using Tapatalk
        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


          #5
          Originally posted by 900supersport View Post
          There is a PDF that looks to be useful. I'm currently doing some translation through Google. Will post some documentation later.

          Sent from my u30gt2 using Tapatalk
          Ahhh, so interesting ... ASAP
          Are you confirm that's only to use with KK ?
          "Just ATP"
          - MTKZenyT(ools) : Tools to backup, flash, root'n unroot under GNU/Linux

          Phone: Xiaomi Redmi 1
          Tablet
          s: CDisplay SV1.0.6 (original); PiPo M8HD (under RileyRom 1.9)

          Comment


            #6
            I've not checked yet but would expect it to work with 4.2
            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


              #7
              Originally posted by 900supersport View Post
              I've not checked yet but would expect it to work with 4.2
              This is why i search more informations ;-)
              "Just ATP"
              - MTKZenyT(ools) : Tools to backup, flash, root'n unroot under GNU/Linux

              Phone: Xiaomi Redmi 1
              Tablet
              s: CDisplay SV1.0.6 (original); PiPo M8HD (under RileyRom 1.9)

              Comment


                #8
                Some Documentation

                This is basically a translation using google.

                Linux development tools for use




                First, run upgrade_tool program (sudorequired)
                Code:
                [email protected]:~/Desktop/LinuxFlash$ sudo ./upgrade_tool 
                List of rockusb connected
                DevNo=1    Vid=0x2207,Pid=0x0,LocationID=10c    Msc
                Found 1 rockusb,Select input DevNo,Rescan press <R>,Quit press <Q>:


                Enter devNo for device selection,re-search by R, press Q to exit


                Code:
                Found 1 rockusb,Select input DevNo,Rescan press <R>,Quit press <Q>:1
                
                
                ---------------------Tool Usage ---------------------
                Help:             H
                Quit:             Q
                Version:          V
                Clear Screen:     CS
                ------------------Upgrade Command ------------------
                ChooseDevice:        CD
                SwitchDevice:        SD
                UpgradeFirmware:    UF <Firmware>
                UpgradeLoader:        UL <Loader>
                DownloadImage:        DI <-p|-b|-k|-s|-r|-m image> [parameter file]
                DownloadBoot:        DB <Loader>
                EraseFlash:        EF <Loader|firmware>
                LowerFormat:        LF
                ----------------Professional Command -----------------
                TestDevice:        TD
                ResetDevice:        RD
                ReadFlashID:        RID
                ReadFlashInfo:        RFI
                ReadChipInfo:        RCI
                ReadSector:        RS  <BeginSec> <SectorLen> [-decode] [File]
                WriteSector:        WS  <BeginSec> <File>
                ReadLBA:        RL  <BeginSec> <SectorLen> [File]
                WriteLBA:        WL  <BeginSec> <File>
                EraseBlock:        EB <CS> <BeginBlock> <BlokcLen> [--Force]
                -------------------------------------------------------
                
                
                Rockusb>


                On the left is a functional description, the right side is the command syntax. Upgrade related operations in upgrade command list, the command syntax forget to enter H for viewing, clear screen input CS, exit press Q.




                CD command: Select the device, when the command contains the device has restarted operations, the need to re-select new equipment, operating equipment required when changing reselect

                SD command: msc switch to rockusbupgrade mode. When the switch is successful, the need
                Reselect the device

                UF commands: complete update.img firmware upgrade, after successful implementation need to re-select settings Equipment

                UL command: Upgrade loader, you need tore-select the device when executed successfully

                DI command: separate download mirror image to the specified sectors, such as upgrading kernel.img or
                System.img who can directly use this feature such as downloading kernel.img:. DI-k
                kernel.img parameter / / if previously downloaded via di parameter, then again under
                When you can not set kernel.img the last parameter to specify the parameters

                DB commands: Download boot, in maskrom state can use this feature to allow
                maskrom protocol communication devices Rockusb

                EF command: erase the entire nand flash

                LF command: low cell retention area behind the block, only used in the loader mode
                Note: DI, UF, UL, RD, SD, EF, LF, DB and RD command supports command line side
                Invocation, for example: sudo /upgrade_tool uf update.img.
                Note: From version 1.13 supports command to start DI download multiple partitions, use methods such as
                Next: Example: Download the kernel and system
                di -k,-s kernel.img, system.img
                If you pre-set the default path in the config.ini file inside the command can be simplified as:
                di-k,-s

                RD Reset/REBOOT device.
                Last edited by 900supersport; 01-26-2014, 15:40. Reason: correct copy paste errors
                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


                  #9
                  It may well be 4.4 onwards, just had a quick try on a 4.2 image and it would not flash. Now flashing with 4.4, this looks promising.
                  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


                    #10
                    Certainly, seems to flash 4.4 OK, I'll flash my tab back to 4.2 later from windows then flash back to 4.4 from Linux.

                    Tab needs charging at the moment.

                    Sent from my u30gt2 using Tapatalk
                    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


                      #11
                      Originally posted by 900supersport View Post
                      This is basically a translation using google.
                      Thanks

                      Originally posted by 900supersport View Post
                      Linux development tools for use
                      (...)

                      CD command: Select the device, when thecommand contains the device has restarted operations, the need to re-
                      Select new equipment, operating equipment required when changing reselect
                      If i understand correctly, when i use the others command, after one, it's necessary to re-use CD command, isn't-it?!

                      Originally posted by 900supersport View Post
                      SD command: msc switch to rockusbupgrade mode. When the switch is successful, the need
                      Reselect the device
                      The rockusbupgrade mode is the famous mode named "maskrom mode"?

                      Originally posted by 900supersport View Post
                      UF commands: complete update.imgfirmware upgrade, after successful implementation need to re-selectsettings Equipment
                      No more necessity to unpack update.img before? (with rktools: im_unpack, afptool, etc...)
                      This mode is to flash original img and/or update img, isn't-it ?

                      Originally posted by 900supersport View Post
                      UL command: Upgrade loader, you need tore-select the device when executed successfully
                      I don't understanding "tore-select"?
                      This allows to flash RKLoader*.bin from PC to Tablet, isn't-it?

                      Originally posted by 900supersport View Post
                      DI command: separate download mirror image to the specified sectors, such as upgrading kernel.img or
                      System.img who can directly use thisfeature such as downloading kernel.img:. DI-k
                      kernel.img parameter / / if previouslydownloaded via di parameter, then again under
                      When you can not set kernel.img thelast parameter to specify the parameters
                      This allows to flash ROM Custom as Riley or Finless by file provided parameter?
                      From PC to Tablet ?
                      Use as ?
                      Code:
                      DI -p parameter.crc parameter #(parameter.crc with 'rkcrc -p parameter parameter.crc')
                      DI -b boot.img parameter
                      DI -k kernel.img parameter
                      DI -s system.img parameter
                      DI -r recovery.img parameter
                      DI -m misc.img parameter
                      Originally posted by 900supersport View Post
                      DB commands: Download boot, in maskromstate can use this feature to allow
                      maskrom protocol communication devicesRockusb
                      ???

                      Originally posted by 900supersport View Post
                      EF command: erase the entire nand flash
                      = Erase NAND IDB ?

                      Originally posted by 900supersport View Post
                      LF command: low cell retention areabehind the block, only used in the loader mode
                      Note: DI, UF, UL, RD, SD, EF, LF, DBand RD command supports command line side
                      Invocation, for example: sudo /upgrade_tool uf update.img.
                      Note: From version 1.13 supportscommand to start DI download multiple partitions, use methods such as
                      Next: Example: Download the kernel and system
                      di-k,-s kernel.img, system.img
                      If you pre-set the default path in theconfig.ini file inside the command can be simplified as:
                      di-k,-s
                      (...).
                      Thanks for yours explains
                      "Just ATP"
                      - MTKZenyT(ools) : Tools to backup, flash, root'n unroot under GNU/Linux

                      Phone: Xiaomi Redmi 1
                      Tablet
                      s: CDisplay SV1.0.6 (original); PiPo M8HD (under RileyRom 1.9)

                      Comment


                        #12
                        I don't understanding "tore-select"?
                        I used cut and paste to get the info into the post, forgot this does not handle white space as well as it should. That should have been to "re-select".

                        No need to sign the parameter file.

                        I'll post a shell script later for flashing a full 4.4 ROM.
                        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


                          #13
                          Here's a quick script fro flashing. I have this and the upgrade_tool within a folder. I then have a sub folder ROM with the images in it.



                          Code:
                          #!/bin/bash
                          
                          
                          
                          function error_exit
                          {
                          	echo "$1" 1>&2
                          	exit 1
                          }
                          
                          
                          function flash
                          {
                              ./upgrade_tool "$1" "$2" "$3"; 
                          }
                          
                          
                          flash 'LF'
                          
                          
                          #Flash the boot loader for Kitkat
                          flash 'UL' 'ROM/RK3188Loader(L)_V2.08.bin'
                          
                          
                          #flash parameter files
                          flash 'DI' '-p' 'ROM/parameter'
                          
                          
                          #flash ROM
                          flash 'DI' '-k' 'ROM/kernel.img'
                          flash 'DI' '-b' 'ROM/boot.img'
                          flash 'DI' '-r' 'ROM/recovery.img'
                          flash 'DI' '-m' 'ROM/misc.img'
                          flash 'DI' '-s' 'ROM/system.img'
                          
                          
                          #Finally reboot
                          flash 'RD'
                          I save this as FlashROM and set as an executable. Then to flash the ROM I use

                          Code:
                          sudo ./FlashROM
                          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


                            #14
                            Very thanks!

                            NO necessity to use SD command for switch in rockchip upgrade mode?
                            "Just ATP"
                            - MTKZenyT(ools) : Tools to backup, flash, root'n unroot under GNU/Linux

                            Phone: Xiaomi Redmi 1
                            Tablet
                            s: CDisplay SV1.0.6 (original); PiPo M8HD (under RileyRom 1.9)

                            Comment


                              #15
                              Thanks a lot 900superport for this. I will try 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

                              Working...
                              X