Sunday, September 25, 2016

Allwinner A23 Tablet: Launching Camera App freezes Tablet.

Hello i changed the Rom on my Tablet to :
PH_A76h_android4.4_v2.0_800x480-auto-gc2035-gc0308-wifi5990p-20141211a.img

Everything works okay, but not the Camera.
The Tablet has 2 Cameras Front and Back with 0,3 Mpixels each.
The are on the same Cable going from the Mainboard to the FrontCam and then to the Back Camera.

When i launch the App the Tablet freezes.. Sometimes it resets itself after an Minute or so (not always)

BTW:
I have saved the Data of the Nand-Partitions with the old Firmware (if you need some infos/settings/config from them)

I also have changed the script0.bin from the old Firmware to fex and changed everything in DragonFaces SystemConfiguration like it was in the Script0.bin from the original Firmware.

Here is the Block i Changed in System-Editor:


Code:

;--------------------------------------------------------------------------------
;vip (video input port) configuration
;vip_used:              0:disable 1:enable
;vip_mode:              0:sample one interface to one buffer 1:sample two interface to one buffer
;vip_dev_qty:          The quantity of devices linked to capture bus
;vip_dev(x)_isp_used 0: not use isp 1:use isp
;vip_dev(x)_fmt:        0:yuv 1:bayer raw rgb
;vip_dev(x)_stby_mode:  0:not shut down power at standby 1:shut down power at standby
;vip_dev(x)_vflip:      flip in vertical direction 0:disable 1:enable
;vip_dev(x)_hflip:      flip in horizontal direction 0:disable 1:enable
;vip_dev(x)_iovdd:      camera module io power handle string, pmu power supply
;vip_dev(x)_iovdd_vol:  camera module io power voltage, pmu power supply
;vip_dev(x)_avdd:        camera module analog power handle string, pmu power supply
;vip_dev(x)_avdd_vol:        camera module analog power voltage, pmu power supply
;vip_dev(x)_dvdd:        camera module core power handle string, pmu power supply
;vip_dev(x)_dvdd_vol:        camera module core power voltage, pmu power supply
;vip_dev(x)_afvdd:        camera module vcm power handle string, pmu power supply
;vip_dev(x)_afvdd_vol:        camera module vcm power voltage, pmu power supply
;x indicates the index of the devices which are linked to the same capture bus
;fill voltage in uV, e.g. iovdd = 2.8V, vip_devx_iovdd_vol = 2800000
;fill handle string as below:
;axp22_eldo3
;axp22_dldo4
;axp22_eldo2
;fill handle string "" when not using any pmu power supply
;--------------------------------------------------------------------------------

[csi0]

vip_used                = 1
vip_mode                = 0
vip_dev_qty              = 2
vip_csi_pck              = port:PE00<2><default><default><default>
vip_csi_mck              = port:PE01<2><default><default><default>
vip_csi_hsync            = port:PE02<2><default><default><default>
vip_csi_vsync            = port:PE03<2><default><default><default>
vip_csi_d0              = port:PE04<2><default><default><default>
vip_csi_d1              = port:PE05<2><default><default><default>
vip_csi_d2              = port:PE06<2><default><default><default>
vip_csi_d3              = port:PE07<2><default><default><default>
vip_csi_d4              = port:PE08<2><default><default><default>
vip_csi_d5              = port:PE09<2><default><default><default>
vip_csi_d6              = port:PE10<2><default><default><default>
vip_csi_d7              = port:PE11<2><default><default><default>

vip_dev0_mname          = "siv121d"
vip_dev0_lane            = 1
vip_dev0_twi_id          = 2
vip_dev0_twi_addr        = 102
vip_dev0_isp_used        = 0
vip_dev0_fmt            = 0
vip_dev0_stby_mode      = 0
vip_dev0_vflip          = 0
vip_dev0_hflip          = 0
vip_dev0_iovdd          = "axp22_dldo3"
vip_dev0_iovdd_vol      = 2800000
vip_dev0_avdd            = "axp22_ldoio0"                                                        vip_dev0_avdd_vol        = 2800000
vip_dev0_dvdd            = "axp22_eldo2"                                                        vip_dev0_dvdd_vol        = 1800000
vip_dev0_afvdd          = ""
vip_dev0_afvdd_vol      = 2800000
vip_dev0_power_en        =
vip_dev0_reset          = port:PE14<1><default><default><0>
vip_dev0_pwdn            = port:PE15<1><default><default><1>
vip_dev0_flash_en        = port:PB00<1><default><default><0>
vip_dev0_flash_mode      =
vip_dev0_af_pwdn        =
 

vip_dev1_mname          = "siv121d"
vip_dev1_lane            = 1
vip_dev1_twi_id          = 2
vip_dev1_twi_addr        = 102
vip_dev1_isp_used        = 0
vip_dev1_fmt            = 0
vip_dev1_stby_mode      = 0
vip_dev1_vflip          = 0
vip_dev1_hflip          = 0
vip_dev1_iovdd          = "axp22_dldo3"
vip_dev1_iovdd_vol      = 2800000
vip_dev1_avdd            = "axp22_ldoio0"
vip_dev1_avdd_vol        = 2800000
vip_dev1_dvdd            = "axp22_eldo2"
vip_dev1_dvdd_vol        = 1800000
vip_dev1_afvdd          = ""
vip_dev1_afvdd_vol      = 2800000
vip_dev1_power_en        =
vip_dev1_reset          = port:PE16<1><default><default><0>
vip_dev1_pwdn            = port:PE17<1><default><default><1>
vip_dev1_flash_en        = port:PB00<1><default><default><0>
vip_dev1_flash_mode      =
vip_dev1_af_pwdn        =
[camera_list_para]
camera_list_para_used  = 0
ov7670                  = 0
gc0308                  = 1
gt2005                  = 0
hi704                  = 0
sp0838                  = 0
mt9m112                = 0
mt9m113                = 0
gc2035                  = 1
ov2655                  = 0
hi253                  = 1
gc0307                  = 0
mt9d112                = 0
ov5640                  = 0
ov5647                  = 0
gc2015                  = 0
ov2643                  = 0
gc0329                  = 0
gc0309                  = 0
s5k4ec                  = 0
siv121d                = 0
siv120d                = 0

I also copied camera.cfg from the old /system/etc to the new installation.

But still freezes :( don't know what to do now.

Please help.


from xda-developers http://ift.tt/2cDEw9V
via IFTTT

No comments:

Post a Comment