Announcement

Collapse
No announcement yet.

Uten 4K - Need help dumping the Rom

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

  • Uten 4K - Need help dumping the Rom

    Hi,

    it recently purchased a Uten 4k and struggle to dump the ROM. It appear like the dd executable is not Part of the FW.
    The overall behaviour is strange.
    I can download any file from the filesystem by pointing a browser to it.
    If I connect to the cam via wifi and for open "http://192.168.100.1/system/etc/settings.xml" it will download the settings.xml that is located in /system/etc/.
    This works for any file I tried so far.

    I also tried all day to capture the live stream with vlc, but the camera appears to only stream to the IP of the client running the app. Wireshark and Logcat are available.


    Since the get info script fromt the big allwinner thread does not work, here is what i found out different other ways:

    there is a info.xml file:
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    
    <Infos>
    
        <Short>zhongxing</Short>
    
        <ProductType>0</ProductType>
    
        <ModelType>1</ModelType>
    
        <ScreenStruct>2</ScreenStruct>
    
        <SensorType>imx179s</SensorType>
    
        <ScreenType>st9341fxst</ScreenType>
    
        <CamType>lp6182</CamType>
    
        <FirmDate>20170720</FirmDate>
    
        <SubClient>zhongxing</SubClient>
    
    </Infos>
    Firmware:
    Code:
    Model: (there no name, its just blank)
    Version: 20180426V3.3
    Updated: 20180426
    Manufacturer:(empty too)



    PhoenixSuit:
    Code:
    Model: weishidaikang1gddr175-sdv
    Firmware version: weishidaikang1gddr175_sdv-eng 4.2.2 JDQ39 eng.dv003.20180412.112...
    Compile date: W. Europe Summer Time 2018-4-12 5:23: 6
    Android: 4.2.2
    Chip Type:Unknown CPU
    Kernel version: Linux Version 3.4.39  (dv003@fjj)
    
    Click image for larger version
    
    Name:	photo_2019-05-10_15-48-35 - Copy.jpg
    Views:	47
    Size:	51.7 KB
    ID:	14284
    and it looks like this:
    Click image for larger version

Name:	71WWL88MuBL._SL1300_-1.jpg
Views:	42
Size:	88.4 KB
ID:	14286



    Attached Files

  • #2
    I have this device. You can make a backup of the firmware by doing the following:
    Code:
    adb pull /dev/block/mtdblock0 0-uboot.img
    adb pull /dev/block/mtdblock1 1-boot.img
    adb pull /dev/block/mtdblock2 2-system.img
    adb pull /dev/block/mtdblock3 3-config.img
    adb pull /dev/block/mtdblock4 4-blogo.img
    adb pull /dev/block/mtdblock5 5-slogo.img
    adb pull /dev/block/mtdblock6 6-env.img
    (assuming that adb is in your local Windows/Linux path and the current directory is writeable)

    Alternatively, you can upload a busybox binary (such as https://busybox.net/downloads/binari...busybox-armv7l) and use that directly on the device too

    Comment


  • #3
    Thank you for your replies. It worked.

    I figured out the busybox executable way myself and just tried the adb way. Both worked.

    I do however have one more partition and the sizes are different.


    Code:
    cat /proc/mtd
    dev:    size   erasesize  name
    mtd0: 00040000 00001000 "uboot"
    mtd1: 00280000 00001000 "boot"
    mtd2: 00480000 00001000 "system"
    mtd3: 00050000 00001000 "cfg"
    mtd4: 00010000 00001000 "boot_logo"
    mtd5: 00010000 00001000 "shutdown_logo"
    mtd6: 00010000 00001000 "env"
    mtd7: 00010000 00001000 "private"
    When I try to use any unfex scripts it failes with the following error message:

    Code:
    UNFEX.BAT full_img.fex unpacking script by nutsey for GoPrawn.com
    
    error: input file E:\cam\unfex-scripts\full_img.fex has a size of 8126464 bytes, cannot copy requested part.
    1 errors occurred.
    error: input file E:\cam\unfex-scripts\full_img.fex has a size of 8126464 bytes, cannot copy requested part.
    1 errors occurred.
    error: input file E:\cam\unfex-scripts\full_img.fex has a size of 8126464 bytes, cannot copy requested part.
    1 errors occurred.
    error: input file E:\cam\unfex-scripts\full_img.fex has a size of 8126464 bytes, cannot copy requested part.
    1 errors occurred.
    error: input file E:\cam\unfex-scripts\full_img.fex has a size of 8126464 bytes, cannot copy requested part.
    1 errors occurred.
    Done. Check REFEX folder for extracted files.
    Press any key to exit...
    uboot and boot are extracted, but the rest not. I can also get the script.bin. I guess the script needs to be modified to fit the sizes.

    Here is a link to the full_img.fex https://www.dropbox.com/s/fre2ekv5rp0jrk1/full_img.fex?dl=0






    Comment


    • nutsey
      nutsey commented
      Editing a comment
      Atarii It works with 8388608 firmwares, not 8126464.

    • flaep
      flaep commented
      Editing a comment
      nutsey do you have aworking unfex script for this firmware? i want to add and remove some files, but iam not sure how to tell what the right values for unfex and refex are. thank you for time, guys.

    • Atarii
      Atarii commented
      Editing a comment
      nutsey - ah yes you're right, I think I actually used binwalk in the end.

      flaep More testing needed on the script
      Last edited by Atarii; 05-17-2019, 09:40 PM.
Working...
X