[R&D] A7 R&D thread

For autoexec.ash research purposes:

help command:
Code:
a:\> help
supported built-in commands:
        addr2func       bp              cardmgr         cat
        cd              chmod           config          cp
        cpu             date            deletedir       dmesg
        dramcfg         drives          dsputil         echo
        eeprom          eval            false           ffuc
        format          hal             help            history
        hotboot         ioerr           jobs            kill
        ls              md5             mesg            mkboot
        mkdir           morph           mv              flashdb
        nice            poweroff        pref            ps
        pwd             ramdisk         readb           readl
        readw           reboot          reset           resume
        rm              rmdir           savebin         sleep
        suspend         sysmon          t               test
        time            touch           trap            true
        vol             writeb          writel          writew
        yyinfo          usbclass        ver             vin
        sm              corefreq        dramfreq        idspfreq
        dll             cleandir        volcfg          firmfl
        nvd             nftl            bbt             romfs

t command:
Code:
d:\> t
supported test commands:
        help
        app
        audio
        plyr
        rec
        cal
        ia2
        is2
        disp
        dspinfo
        sr
        ddr
        hdmi
        msc
        aucodec
        spi_ahb
        pwc
        idc
        spi
        hw_tmr
        wdt
        uart
        stepper_motor
        pwm
        gpio
        adc
        vout
        sensor
        fast_ecn
        chk_low_spd
        paccess_time
        fioffs_thruput
        fioffs_uc
        fioffs_randvrfy
        fioprf_lgfvrfy
        fioprf_randvrfy
        fioprf_thruput
        sd
        nand_op
        nand

t app command:
Code:
d:\> t app
App test command list:
        msg
        key
        jack
        mempool
        curapp
        test
        dzoom
        still_cap
        fdstb
        hwfdlog
        cfaadj
        profile
        printts
        usb_msc2fio
        adb


EDIT: I can confirm that unbricking the 0803 with DirectUSB and via Mirco USB linked PIN 4+5 works!
 
Last edited:
For autoexec.ash research purposes:

help command:
Code:
a:\> help
supported built-in commands:
        addr2func       bp              cardmgr         cat
        cd              chmod           config          cp
        cpu             date            deletedir       dmesg
        dramcfg         drives          dsputil         echo
        eeprom          eval            false           ffuc
        format          hal             help            history
        hotboot         ioerr           jobs            kill
        ls              md5             mesg            mkboot
        mkdir           morph           mv              flashdb
        nice            poweroff        pref            ps
        pwd             ramdisk         readb           readl
        readw           reboot          reset           resume
        rm              rmdir           savebin         sleep
        suspend         sysmon          t               test
        time            touch           trap            true
        vol             writeb          writel          writew
        yyinfo          usbclass        ver             vin
        sm              corefreq        dramfreq        idspfreq
        dll             cleandir        volcfg          firmfl
        nvd             nftl            bbt             romfs

t command:
Code:
d:\> t
supported test commands:
        help
        app
        audio
        plyr
        rec
        cal
        ia2
        is2
        disp
        dspinfo
        sr
        ddr
        hdmi
        msc
        aucodec
        spi_ahb
        pwc
        idc
        spi
        hw_tmr
        wdt
        uart
        stepper_motor
        pwm
        gpio
        adc
        vout
        sensor
        fast_ecn
        chk_low_spd
        paccess_time
        fioffs_thruput
        fioffs_uc
        fioffs_randvrfy
        fioprf_lgfvrfy
        fioprf_randvrfy
        fioprf_thruput
        sd
        nand_op
        nand

t app command:
Code:
d:\> t app
App test command list:
        msg
        key
        jack
        mempool
        curapp
        test
        dzoom
        still_cap
        fdstb
        hwfdlog
        cfaadj
        profile
        printts
        usb_msc2fio
        adb


EDIT: I can confirm that unbricking the 0803 with DirectUSB and via Mirco USB linked PIN 4+5 works!
Tolle arbeit! So the 0803 uses A7, and the hero3 black too. But... The help and t are the same, but t app is the same as GoPro HERO2?? (the previous A5 camera!)
So, to record 30 secs I think its
Code:
t gpio 43 sw out0
sleep 30
t gpio 43 sw out1
t gpio 43 sw out0

Could you explain me what features does the 0803 have (res, modes, fov, etc...) Then I will explain you t ia2 and t cal

If you are interested in gopro hacking and all the functions of the commands: chernowii.com
 
a7patcher.png

A7Tool beta (not verified with hardware) 0.2 is out. Added the firmware patcher.
Patches are binary(ok, they are hex) description files of what they should change in a specific partition. This gives you the possibility to add only those features to your Firmware you really want.

How to create them:
This is how a .ap (ambarella patch) file should look like:
Code:
;device
;fw version
;variant
;section
;description
;creator
offset:payload
offset:payload
offset:payload
....
Offset is the position where the replace process should start
Payload is the hexstring which should be inserted (for example higher Bitrate)

Download:
http://dc.p-mc.eu/a7tool/A7Tool02.exe
http://dc.p-mc.eu/a7tool/A7Tool02.jar

Disclaimer: As always I am not responsible for anything that might happen after you use my software :)
frWBcJW.png


IT WORKS WITH HERO3 BLACK FW!
 
1dFCwXi.png

AND AS FAR AS I CAN TELL IT WORKS WITH THE HERO3 BLACK STRINGS.BIN!
 
You are not using the latest v ersion (0.6) :P
 
So, to record 30 secs I think its
Code:
t gpio 43 sw out0
sleep 30
t gpio 43 sw out1
t gpio 43 sw out0
Hm this does not work. I guess GPIO usage is different
 
How to change A7 bitrates:
Section: PRI
Compressed: No

VB rates are stored in arrays which include 4 values: Bitrate(float), unknown(float), unknown(float) and unknown(probably integer or byte)

a7-bitrate.PNG


Example (yellow line):
1. value: 18.0
2. value: 0.75
3. value: 1.125
4. value: 3 (a flag or something like this?)
 
Last edited by a moderator:
t cal:
Code:
a:\> t cal
Usage: t cal [OPTION] VALUE...
Supported options:
        -3a: AAA control
        -sc: Scene mode control
        -de: Digital effect control
        -ae: AE info
        -me: Manual exposure
        -raw: raw capture
        -rawenc: raw encode with manual main window width/heigh
        -ituner: ituner tool
        -mgr: Calibration manager CLI tool
        -fpn: FPN tool
        -vnc: Vignette tool
        -vnc_spec: for warp by spec
        -task: WARP decay ratio en/disable
        -warp: WARP tool
        -warp_spec: for warp by spec
        -ca: CA tool
        -gen_ca: Gen CA tool
        -jqlt: Set capture jpg quality
        -bmp: Set dump bmp enalbe
        -usb: Set remove/insert sdcard

t ia2:
Code:
a:\> t ia2
Usage: t ia2 [OPTION] VALUE....
Supported options:
        -3a: AAA function
        -fpn: FPN function
        -vnc: Vignette function
        -exp: exposure module
        -dzoom: digital zoom control
        -warp: warp control
        -rsc: rsc control
        -eis: DIS/EIS control
        -sof: SOF function
        -ae: AE function
        -awb: AWB function
        -adj: ADJ function
        -af: AF control
        -lens: lens control
        -ssh: slow shutter test
        -readout: Sensor phase correction
        -ca: ca control

t app button does not exist
but: t app key shutter PR takes a picture
 
t cal:
Code:
a:\> t cal
Usage: t cal [OPTION] VALUE...
Supported options:
        -3a: AAA control
        -sc: Scene mode control
        -de: Digital effect control
        -ae: AE info
        -me: Manual exposure
        -raw: raw capture
        -rawenc: raw encode with manual main window width/heigh
        -ituner: ituner tool
        -mgr: Calibration manager CLI tool
        -fpn: FPN tool
        -vnc: Vignette tool
        -vnc_spec: for warp by spec
        -task: WARP decay ratio en/disable
        -warp: WARP tool
        -warp_spec: for warp by spec
        -ca: CA tool
        -gen_ca: Gen CA tool
        -jqlt: Set capture jpg quality
        -bmp: Set dump bmp enalbe
        -usb: Set remove/insert sdcard

t ia2:
Code:
a:\> t ia2
Usage: t ia2 [OPTION] VALUE....
Supported options:
        -3a: AAA function
        -fpn: FPN function
        -vnc: Vignette function
        -exp: exposure module
        -dzoom: digital zoom control
        -warp: warp control
        -rsc: rsc control
        -eis: DIS/EIS control
        -sof: SOF function
        -ae: AE function
        -awb: AWB function
        -adj: ADJ function
        -af: AF control
        -lens: lens control
        -ssh: slow shutter test
        -readout: Sensor phase correction
        -ca: ca control

t app button does not exist
but: t app key shutter PR takes a picture
ok, thanks. Please watch this instructional video: https://vimeo.com/m/91791285
imagine the hero3 as a 0803 cam.
then install this on the SD as shown in the video: https://github.com/KonradIT/autoexechack/blob/GoPro/Video-Effects/Negative/Hero3Black/autoexec.ash

then insert card, turn on camera wait 3 secs and start a video, then tell me how the video looks.
 
Works :D
Negative video.
Is it possible to rotate the image (180 degrees)
 
hahaha that was a compilation of all the video effects, btw why you want to rotate the video 180 º?
Ok, we could make an agreement:
I made this repo: https://github.com/KonradIT/mini0803
I will post hacks there, autoexec.ash hacks, you test them and send me video.
I post on vimeo the video and me and/or you make a page in chernowii.com/mini0803 or in dc.p-mc.eu about hacking the mini0803 camera with the repo and video samples.
I give you full credit.
You can push to the github repo the hacks you make.
Also, does that camera include photo mode? Does it include timelapse mode (take a pic every X seconds)?
Sorry for many questions.
 
Yeah we can do this. I think I'll just use the github API to "mirror" the latest commits on my page :D

180° rotation is not important for me but probably for the guys driving on the wrong side. They have to mount the dashcam in a different way.

It has a "photo mode" but thats useleass since the reason I have a dashcam in my car is ot record while I'm driving :D
 
Back
Top