thegamut
Active Member
- Joined
- Jul 22, 2016
- Messages
- 118
- Reaction score
- 68
- Country
- Barbados
- Dash Cam
- Q3H aparently.
So I've made inroads into allwinner v3 chipsets. There is 0 documentation on the allwinner and people speculate it can't do over 1080P, etc, etc Yet many people are ending up with fake 4k cameras that are more software crippled than anything.
This was done on Q3H (allwinner + Sony IMX sensor maybe)
8/20 Small Test video: https://sendvid.com/ucnobyqc
Some more samples: https://www.mediafire.com/folder/o5ncedg5ut39l/Samples
Partition structure:
cat /proc/mtd
dev: size erasesize name
mtd0: 00040000 00010000 "uboot" -bootloader
mtd1: 002c0000 00010000 "boot" -kernel + initrc
mtd2: 00630000 00010000 "system" -config files (squashfs)
mtd3: 00200000 00010000 "cfg" - file system journals/junk
mtd4: 00020000 00010000 "boot_logo"
mtd5: 00020000 00010000 "shutdown_logo"
mtd6: 00010000 00010000 "env"
mtd7: 00010000 00010000 "private"
root@camdroid:/ #
the dd copies of said partitions: http://ge.tt/1MIkNnc2
You can unsqashfs "system" with squashfs here: http://domoticx.phoenixinteractive....3-i686-windows-cygwin_(lzma+lzma2+lzo+lz4).7z
The camera runs camdroid OS equivalent to android 4.2.2. It is laid out like many allwinner tablets.
V4L is used as a backend for video encoding and MiniGUI (http://www.minigui.org/en/) is the front end.
Board/chip Pics: https://www.goprawn.com/forum/allwinner-cams/25-allwinner-v3-sony-imx179-action-cameras
How I enabled ADB:
Installed https://www.androidfilehost.com/?fid=24459283995302221 after camera detects an unknown "android" in webcam mode. It would not work at first but I connected with Phoenix Suite and hit enter recovery mode. After that ADB works fine. Try just the driver first.
Adb has root access but some files cannot be written to because of squashfs or being restored at boot.
What can be done so far:
High bitrates ~50/60 megabits w/shorter GOP.
Real sizes for 60fps and 120fps (IMX179s)
Most ISP processing disabled (IMX179s).
Sounds are fully silenced.
Busybox + Other ARM code can be run or added to the image.
Root+Data on externalSD in ext2 (no guide yet)
What I hope for:
Turn off noise reduction and sharpening and edit bit rates + image scaling.
My camera came with possibly a sony IMX179 and it uses 3kx2k for 4k/2.7k/1080P. Quality is awful because of the post processing.
Increase audio recorded beyond the awful 8000hz sampling rate. In testing, patches from 4pda.ru
Raw Photos. The current photos aren't usable at all.
Fully boot off SD card. Doesn't automount extsd.
Exfat/128gb sd cards. Doesn't automount.
Automatic ADB over wifi.
More info:
http://pastebin.com/4xQvWC5B - system services
http://pastebin.com/rjpb0KTu - Build.prop
http://pastebin.com/nJTK6Kmr -boot up kernel messages
Flash Image:
http://www.mediafire.com/download/8ela8pnk3ugx1fj/full_img.fex
Script.fex : http://pastebin.com/QLmnUAKK
Full Recovery:
Q3H.IMG http://www.mediafire.com/download/csop12dwyb41m7i/Q3H.img
Remember, your hardware must match the script.bin Take a full backup of old firmware with DD.
Once your original script.bin is lost, all info to your camera hardware is GONE!
Edited Images:
No Shutter/Click/Startup, Edited menu.cfg: http://www.mediafire.com/download/1l82xgzyd3qblj9/Q3H-NoSounds.img
Run your code from debug_bin and debug_lib on extSD: http://www.mediafire.com/download/z6cfkaa2a6ajvtb/SDV-BinLibPath.img
Properly Patch BitRate, can record without loop: http://www.mediafire.com/download/kacyjvm4epbk56q/FixedCalculations.img
Uniform Modes with new module: http://www.mediafire.com/download/1ik4pkz4v12n56a/NewModuleUniform.img
Old Kernel + New Modules [configs save, no auto off] : http://www.mediafire.com/download/5ajmt99gd3atd0d/179s-oldkernel-newmodules.img
*a little old, see next post.
Q3H-imx179s EXT2 booting flashable (rootfs on SDcard) - http://www.mediafire.com/file/7st6ybssi9qsbgt/Q3H-EXT2_flashable_imx179s.img
F60 IMX179 firmwares from plutonio - https://www.dropbox.com/s/6gvem9cb3bxh7rj/F60 Firmwares.zip?dl=0
Modules:
New Style (355kb)
http://s000.tinyupload.com/?file_id=23181294993408074307
Old Style (317kb)
http://s000.tinyupload.com/?file_id=66147726912749918743
*a little outdated now, pull them from released rootfs
Backup Script: https://dashcamtalk.com/forum/attachments/backup-script-zip.25246/
Packers/Unpackers + Phoenix Suite: http://www.mediafire.com/download/x6u6eoi4atn2do8/Compressors.7z
Full_img.fex separator + script.bin extractor by NMD & nutsey: http://www.mediafire.com/file/rbr2vhv23xr1c2r/3-unfex-refex-scripts.rar
Unpack/repack Boot Image/kernel by NMD: http://www.mediafire.com/file/1ybmbirb5i46e42/unpack_repack_bootimg_kernel.rar
Flashing with PhoenixSuit (Load IMG first!):
There is a 360 camera too!
This was done on Q3H (allwinner + Sony IMX sensor maybe)
8/20 Small Test video: https://sendvid.com/ucnobyqc
Some more samples: https://www.mediafire.com/folder/o5ncedg5ut39l/Samples
Partition structure:
cat /proc/mtd
dev: size erasesize name
mtd0: 00040000 00010000 "uboot" -bootloader
mtd1: 002c0000 00010000 "boot" -kernel + initrc
mtd2: 00630000 00010000 "system" -config files (squashfs)
mtd3: 00200000 00010000 "cfg" - file system journals/junk
mtd4: 00020000 00010000 "boot_logo"
mtd5: 00020000 00010000 "shutdown_logo"
mtd6: 00010000 00010000 "env"
mtd7: 00010000 00010000 "private"
root@camdroid:/ #
the dd copies of said partitions: http://ge.tt/1MIkNnc2
You can unsqashfs "system" with squashfs here: http://domoticx.phoenixinteractive....3-i686-windows-cygwin_(lzma+lzma2+lzo+lz4).7z
The camera runs camdroid OS equivalent to android 4.2.2. It is laid out like many allwinner tablets.
V4L is used as a backend for video encoding and MiniGUI (http://www.minigui.org/en/) is the front end.
Board/chip Pics: https://www.goprawn.com/forum/allwinner-cams/25-allwinner-v3-sony-imx179-action-cameras
How I enabled ADB:
Installed https://www.androidfilehost.com/?fid=24459283995302221 after camera detects an unknown "android" in webcam mode. It would not work at first but I connected with Phoenix Suite and hit enter recovery mode. After that ADB works fine. Try just the driver first.
Adb has root access but some files cannot be written to because of squashfs or being restored at boot.
What can be done so far:
High bitrates ~50/60 megabits w/shorter GOP.
Real sizes for 60fps and 120fps (IMX179s)
Most ISP processing disabled (IMX179s).
Sounds are fully silenced.
Busybox + Other ARM code can be run or added to the image.
Root+Data on externalSD in ext2 (no guide yet)
What I hope for:
My camera came with possibly a sony IMX179 and it uses 3kx2k for 4k/2.7k/1080P. Quality is awful because of the post processing.
Increase audio recorded beyond the awful 8000hz sampling rate.
Raw Photos. The current photos aren't usable at all.
Fully boot off SD card. Doesn't automount extsd.
Exfat/128gb sd cards. Doesn't automount.
Automatic ADB over wifi.
More info:
http://pastebin.com/4xQvWC5B - system services
http://pastebin.com/rjpb0KTu - Build.prop
http://pastebin.com/nJTK6Kmr -boot up kernel messages
Flash Image:
http://www.mediafire.com/download/8ela8pnk3ugx1fj/full_img.fex
Script.fex : http://pastebin.com/QLmnUAKK
Full Recovery:
Q3H.IMG http://www.mediafire.com/download/csop12dwyb41m7i/Q3H.img
Remember, your hardware must match the script.bin Take a full backup of old firmware with DD.
Once your original script.bin is lost, all info to your camera hardware is GONE!
Edited Images:
No Shutter/Click/Startup, Edited menu.cfg: http://www.mediafire.com/download/1l82xgzyd3qblj9/Q3H-NoSounds.img
Run your code from debug_bin and debug_lib on extSD: http://www.mediafire.com/download/z6cfkaa2a6ajvtb/SDV-BinLibPath.img
Properly Patch BitRate, can record without loop: http://www.mediafire.com/download/kacyjvm4epbk56q/FixedCalculations.img
Uniform Modes with new module: http://www.mediafire.com/download/1ik4pkz4v12n56a/NewModuleUniform.img
Old Kernel + New Modules [configs save, no auto off] : http://www.mediafire.com/download/5ajmt99gd3atd0d/179s-oldkernel-newmodules.img
*a little old, see next post.
Q3H-imx179s EXT2 booting flashable (rootfs on SDcard) - http://www.mediafire.com/file/7st6ybssi9qsbgt/Q3H-EXT2_flashable_imx179s.img
F60 IMX179 firmwares from plutonio - https://www.dropbox.com/s/6gvem9cb3bxh7rj/F60 Firmwares.zip?dl=0
Modules:
New Style (355kb)
http://s000.tinyupload.com/?file_id=23181294993408074307
Old Style (317kb)
http://s000.tinyupload.com/?file_id=66147726912749918743
*a little outdated now, pull them from released rootfs
Backup Script: https://dashcamtalk.com/forum/attachments/backup-script-zip.25246/
Packers/Unpackers + Phoenix Suite: http://www.mediafire.com/download/x6u6eoi4atn2do8/Compressors.7z
Full_img.fex separator + script.bin extractor by NMD & nutsey: http://www.mediafire.com/file/rbr2vhv23xr1c2r/3-unfex-refex-scripts.rar
Unpack/repack Boot Image/kernel by NMD: http://www.mediafire.com/file/1ybmbirb5i46e42/unpack_repack_bootimg_kernel.rar
Flashing with PhoenixSuit (Load IMG first!):
There is a 360 camera too!
Last edited: