[S4][DEVs only] Zoe development - HTC One S

Using this mod: http://forum.xda-developers.com/showthread.php?t=2436347
we are currently stuck here (no front camera and zoom bug), enabling front camera we got this:
Code:
[COLOR="Red"]E/ ( 274): [AWB Calibration] read fuse ID fail
E/mm-camera( 274): [sensor_getVersion] get version fail
E/mm-camera( 274): MCTL_COMPID_ACTUATOR handle is NULL[/COLOR]
E/QCameraHWI_Parm( 260): Video HDR mode is not supported for this sensor
W/QCameraHWI_Parm( 260): setVideoMode is not supported if PHOTO MODE
W/QCameraHWI_Parm( 260): setVideoMode is not supported if PHOTO MODE
W/QCameraHWI_Parm( 260): android::status_t android::QCameraHardwareInterface::captureModeInitConfig(): other capture mode 1
D/Vold ( 245): Receive camera burst event
E/mm-camera( 274): MCTL_COMPID_ACTUATOR handle is NULL
W/S_CameraController( 4045): OIS is not supported.
W/S_CameraController( 4045): Video slow motion is not supported.
W/S_CameraController( 4045): Video Stabilization is not supported.
W/S_CameraController( 4045): Video 720p 60fps is not supported.
W/S_CameraController( 4045): Video HDR is not supported.
W/S_CameraController( 4045): Photo HDR is not supported.
E/S_CameraController( 4045): SupportedList.FlashMode == null
W/S_ZoeController( 4045): exitZoeMode() - Zoe mode is not entered
D/Property( 4045): [ICaptureResolutionManager.PhotoResolution] PHOTO_16_9_3264x1840(3264x1840) -> PHOTO_4_3_640x480(640x480)
D/Property( 4045): [ICaptureResolutionManager.VideoResolution] QHD(960x544) -> VGA(640x480)
E/S_CameraController( 4045): not support FlashMode !!
E/QCameraHWI_Parm( 260): Video HDR mode is not supported for this sensor
W/QCameraHWI_Parm( 260): setVideoMode is not supported if PHOTO MODE
W/QCameraHWI_Parm( 260): setVideoMode is not supported if PHOTO MODE
W/QCameraHWI_Parm( 260): android::status_t android::QCameraHardwareInterface::captureModeInitConfig(): other capture mode 1
[COLOR="Red"]E/QCameraHWI_Parm( 260): android::status_t android::QCameraHardwareInterface::setFocusMode(const android::CameraParameters&):Could not look up str value
E/QCameraHWI_Parm( 260): Invalid focus mode value: continuous-picture[/COLOR] [COLOR="Blue"]-> need framework fix, but it's not a big problem[/COLOR]
E/QCameraHWI_Parm( 260): android::status_t android::QCameraHardwareInterface::setParameters(const android::CameraParameters&): 2171, rc = -22
D/Vold ( 245): Receive camera burst event
[COLOR="Red"]E/mm-camera( 274): MCTL_COMPID_ACTUATOR handle is NULL
E/S_CameraController( 4045): setParameters exception[/COLOR] [COLOR="Blue"]-> it should be important[/COLOR]
E/mm-camera( 274): camif_client_set_params: camif has associated with obj mask 0x1
E/mm-camera( 274): config_MSG_ID_RESET_ACK CAMIF_PARAMS_ADD_OBJ_ID failed -1
[COLOR="Red"]F/libc ( 274): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 4116 (mm-qcamera-daem)[/COLOR][COLOR="Blue"] -> i think it's crashing because of other problems[/COLOR]
I/DEBUG ( 257): debuggerd: 2013-09-20 03:00:40
I/DEBUG ( 257): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 257): Build fingerprint: 'htc/htc_europe/ville:4.2.2/JDQ39/240250.1:user/release-keys'
I/DEBUG ( 257): Revision: '3'
I/DEBUG ( 257): pid: 274, tid: 4116, name: mm-qcamera-daem >>> /system/bin/mm-qcamera-daemon <<<
....
I/DEBUG ( 257): backtrace:
I/DEBUG ( 257): #00 pc 00000000 <unknown>
I/DEBUG ( 257): #01 pc 0005ce0d /system/lib/liboemcamera.so
I/DEBUG ( 257): #02 pc 0002484d /system/lib/liboemcamera.so
I/DEBUG ( 257): #03 pc 0000e4b8 /system/lib/libc.so (__thread_entry+72)
I/DEBUG ( 257): #04 pc 0000dba4 /system/lib/libc.so (pthread_create+160)
I/DEBUG ( 257):
I/DEBUG ( 257): stack:
I/DEBUG ( 257): 4078e800 0003eed4
I/DEBUG ( 257): 4078e804 4043ce21 /system/lib/liboemcamera.so (vfe_config_mode+732)
I/DEBUG ( 257): 4078e808 00000005
I/DEBUG ( 257): 4078e80c 404a32c0
I/DEBUG ( 257): 4078e810 00000001
I/DEBUG ( 257): 4078e814 4078e88c [stack:4116]
I/DEBUG ( 257): 4078e818 00000000
I/DEBUG ( 257): 4078e81c 407b738c [stack:4116]
I/DEBUG ( 257): 4078e820 40436179 /system/lib/liboemcamera.so
I/DEBUG ( 257): 4078e824 4043909d /system/lib/liboemcamera.so
I/DEBUG ( 257): 4078e828 40438e7d /system/lib/liboemcamera.so
...
[COLOR="Red"]E/mm-camera( 4144): qcamsvr_load_gesture_lib Error opening gesture library
E/mm-camera( 4144): Cannot init Gesture library[/COLOR] [COLOR="Blue"]-> missing libs? not a big problem btw[/COLOR]
W/S_OperationTimeoutController( 4045): [Timeout] Name : Start preview
W/S_OperationTimeoutController( 4045): [Timeout] Start time : 1379638840004
W/S_OperationTimeoutController( 4045): [Timeout] Timeout : 5000
W/S_OperationTimeoutController( 4045): [Timeout] Call-back executor : [email protected]
W/S_HTCCamera( 4045): notifyCameraThreadBlocked(BlockedInCameraDriver)
W/S_HTCCamera( 4045): onCameraThreadBlocked(BlockedInCameraDriver)
W/S_AutoFocusController( 4045): unlockAutoFocus() - Null handle
W/S_ImageSettingsController( 4045): unlockAutoExposure() - Null handle
W/S_ImageSettingsController( 4045): unlockAutoWhiteBalance() - Null handle
W/S_HTCCamera( 4045): onPause() - mIsUIReady = false
W/AudioService( 920): stream was not muted by this client
E/AudioService( 920): Could not get client death handler for stream: 5
W/S_HTCCamera( 4045): onPause mIdle is false
W/S_HTCCamera( 4045): OnPause - Freeze UI !!!
W/S_HTCCamera( 4045): doOnPause() - start
W/S_HTCCamera( 4045): stopAccelerometer() - isAccelerometerStarted = false
W/S_HTCCamera( 4045): OnPause - hide UI, set mMainLayout invisible
W/S_HTCCamera( 4045): doOnPause() - end
[COLOR="Red"]E/mm-libcamera2( 260): mm_camera_stream_fsm_reg: ioctl VIDIOC_STREAMON failed: rc=-1
E/mm-libcamera2( 260): mm_camera_ch_fn: Failed in STREAM ON
E/mm-libcamera2( 260): mm_camera_action_start: rc=-1[/COLOR] [COLOR="Blue"]-> very important[/COLOR]
E/QCameraHWI_Still( 260): android::status_t android::QCameraStream_Snapshot::startStreamZSL(): Failure starting ZSL stream
[COLOR="Red"]E/mm-camera( 4144): qcamsvr_find_mctl_inst: no match for mctl_id = 1
E/mm-camera( 4144): qcamsvr_process_server_node_event: MSM_V4L2_* - cannot find mctl, id = 1[/COLOR] [COLOR="Blue"]-> it should be important[/COLOR]
is there a dev that already encountered this problem, and can help us?
@ImagioX1 @E.Cadro @olvrick @Turge @Zarboz

pirlano said:
Using this mod: http://forum.xda-developers.com/showthread.php?t=2436347
we are currently stuck here (no front camera and zoom bug), enabling front camera we got this:
Code:
[COLOR="Red"]E/ ( 274): [AWB Calibration] read fuse ID fail
E/mm-camera( 274): [sensor_getVersion] get version fail
E/mm-camera( 274): MCTL_COMPID_ACTUATOR handle is NULL[/COLOR]
E/QCameraHWI_Parm( 260): Video HDR mode is not supported for this sensor
W/QCameraHWI_Parm( 260): setVideoMode is not supported if PHOTO MODE
W/QCameraHWI_Parm( 260): setVideoMode is not supported if PHOTO MODE
W/QCameraHWI_Parm( 260): android::status_t android::QCameraHardwareInterface::captureModeInitConfig(): other capture mode 1
D/Vold ( 245): Receive camera burst event
E/mm-camera( 274): MCTL_COMPID_ACTUATOR handle is NULL
W/S_CameraController( 4045): OIS is not supported.
W/S_CameraController( 4045): Video slow motion is not supported.
W/S_CameraController( 4045): Video Stabilization is not supported.
W/S_CameraController( 4045): Video 720p 60fps is not supported.
W/S_CameraController( 4045): Video HDR is not supported.
W/S_CameraController( 4045): Photo HDR is not supported.
E/S_CameraController( 4045): SupportedList.FlashMode == null
W/S_ZoeController( 4045): exitZoeMode() - Zoe mode is not entered
D/Property( 4045): [ICaptureResolutionManager.PhotoResolution] PHOTO_16_9_3264x1840(3264x1840) -> PHOTO_4_3_640x480(640x480)
D/Property( 4045): [ICaptureResolutionManager.VideoResolution] QHD(960x544) -> VGA(640x480)
E/S_CameraController( 4045): not support FlashMode !!
E/QCameraHWI_Parm( 260): Video HDR mode is not supported for this sensor
W/QCameraHWI_Parm( 260): setVideoMode is not supported if PHOTO MODE
W/QCameraHWI_Parm( 260): setVideoMode is not supported if PHOTO MODE
W/QCameraHWI_Parm( 260): android::status_t android::QCameraHardwareInterface::captureModeInitConfig(): other capture mode 1
[COLOR="Red"]E/QCameraHWI_Parm( 260): android::status_t android::QCameraHardwareInterface::setFocusMode(const android::CameraParameters&):Could not look up str value
E/QCameraHWI_Parm( 260): Invalid focus mode value: continuous-picture[/COLOR] [COLOR="Blue"]-> need framework fix, but it's not a big problem[/COLOR]
E/QCameraHWI_Parm( 260): android::status_t android::QCameraHardwareInterface::setParameters(const android::CameraParameters&): 2171, rc = -22
D/Vold ( 245): Receive camera burst event
[COLOR="Red"]E/mm-camera( 274): MCTL_COMPID_ACTUATOR handle is NULL
E/S_CameraController( 4045): setParameters exception[/COLOR] [COLOR="Blue"]-> it should be important[/COLOR]
E/mm-camera( 274): camif_client_set_params: camif has associated with obj mask 0x1
E/mm-camera( 274): config_MSG_ID_RESET_ACK CAMIF_PARAMS_ADD_OBJ_ID failed -1
[COLOR="Red"]F/libc ( 274): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 4116 (mm-qcamera-daem)[/COLOR][COLOR="Blue"] -> i think it's crashing because of other problems[/COLOR]
I/DEBUG ( 257): debuggerd: 2013-09-20 03:00:40
I/DEBUG ( 257): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 257): Build fingerprint: 'htc/htc_europe/ville:4.2.2/JDQ39/240250.1:user/release-keys'
I/DEBUG ( 257): Revision: '3'
I/DEBUG ( 257): pid: 274, tid: 4116, name: mm-qcamera-daem >>> /system/bin/mm-qcamera-daemon <<<
....
I/DEBUG ( 257): backtrace:
I/DEBUG ( 257): #00 pc 00000000 <unknown>
I/DEBUG ( 257): #01 pc 0005ce0d /system/lib/liboemcamera.so
I/DEBUG ( 257): #02 pc 0002484d /system/lib/liboemcamera.so
I/DEBUG ( 257): #03 pc 0000e4b8 /system/lib/libc.so (__thread_entry+72)
I/DEBUG ( 257): #04 pc 0000dba4 /system/lib/libc.so (pthread_create+160)
I/DEBUG ( 257):
I/DEBUG ( 257): stack:
I/DEBUG ( 257): 4078e800 0003eed4
I/DEBUG ( 257): 4078e804 4043ce21 /system/lib/liboemcamera.so (vfe_config_mode+732)
I/DEBUG ( 257): 4078e808 00000005
I/DEBUG ( 257): 4078e80c 404a32c0
I/DEBUG ( 257): 4078e810 00000001
I/DEBUG ( 257): 4078e814 4078e88c [stack:4116]
I/DEBUG ( 257): 4078e818 00000000
I/DEBUG ( 257): 4078e81c 407b738c [stack:4116]
I/DEBUG ( 257): 4078e820 40436179 /system/lib/liboemcamera.so
I/DEBUG ( 257): 4078e824 4043909d /system/lib/liboemcamera.so
I/DEBUG ( 257): 4078e828 40438e7d /system/lib/liboemcamera.so
...
[COLOR="Red"]E/mm-camera( 4144): qcamsvr_load_gesture_lib Error opening gesture library
E/mm-camera( 4144): Cannot init Gesture library[/COLOR] [COLOR="Blue"]-> missing libs? not a big problem btw[/COLOR]
W/S_OperationTimeoutController( 4045): [Timeout] Name : Start preview
W/S_OperationTimeoutController( 4045): [Timeout] Start time : 1379638840004
W/S_OperationTimeoutController( 4045): [Timeout] Timeout : 5000
W/S_OperationTimeoutController( 4045): [Timeout] Call-back executor : [email protected]
W/S_HTCCamera( 4045): notifyCameraThreadBlocked(BlockedInCameraDriver)
W/S_HTCCamera( 4045): onCameraThreadBlocked(BlockedInCameraDriver)
W/S_AutoFocusController( 4045): unlockAutoFocus() - Null handle
W/S_ImageSettingsController( 4045): unlockAutoExposure() - Null handle
W/S_ImageSettingsController( 4045): unlockAutoWhiteBalance() - Null handle
W/S_HTCCamera( 4045): onPause() - mIsUIReady = false
W/AudioService( 920): stream was not muted by this client
E/AudioService( 920): Could not get client death handler for stream: 5
W/S_HTCCamera( 4045): onPause mIdle is false
W/S_HTCCamera( 4045): OnPause - Freeze UI !!!
W/S_HTCCamera( 4045): doOnPause() - start
W/S_HTCCamera( 4045): stopAccelerometer() - isAccelerometerStarted = false
W/S_HTCCamera( 4045): OnPause - hide UI, set mMainLayout invisible
W/S_HTCCamera( 4045): doOnPause() - end
[COLOR="Red"]E/mm-libcamera2( 260): mm_camera_stream_fsm_reg: ioctl VIDIOC_STREAMON failed: rc=-1
E/mm-libcamera2( 260): mm_camera_ch_fn: Failed in STREAM ON
E/mm-libcamera2( 260): mm_camera_action_start: rc=-1[/COLOR] [COLOR="Blue"]-> i don't think it's too much important[/COLOR]
E/QCameraHWI_Still( 260): android::status_t android::QCameraStream_Snapshot::startStreamZSL(): Failure starting ZSL stream
[COLOR="Red"]E/mm-camera( 4144): qcamsvr_find_mctl_inst: no match for mctl_id = 1
E/mm-camera( 4144): qcamsvr_process_server_node_event: MSM_V4L2_* - cannot find mctl, id = 1[/COLOR] [COLOR="Blue"]-> it should be important[/COLOR]
is there a dev that already encountered this problem, and can help us?
@ImagioX1 @E.Cadro @olvrick @Turge @Zarboz
Click to expand...
Click to collapse
grep is your friend
MCTL_COMPID_ACTUATOR

Zarboz said:
grep is your friend
MCTL_COMPID_ACTUATOR
Click to expand...
Click to collapse
i know, the problem is in liboemcamera.so, mctl_init & sensor_init are changed, and i'm looking at this
i was just asking if One XL devs already solved this problem in the past or not, or if you have some hints
In One S liboemcamera there is one only "MCTL_COMPID_ACTUATOR handle is NULL" reference:
.rodata:000BBAEA aMctl_compid__0 DCB "MCTL_COMPID_ACTUATOR handle is NULL",0xA,0
In One liboemcamera there are three reference:
.rodata:000AAB54 aMctl_compid_ac DCB "MCTL_COMPID_ACTUATOR handle is NULL",0xA,0 ; DATA XREF: sub_1F240+A64o
.rodata:000C650C aSMctl_compid_0 DCB "%s MCTL_COMPID_ACTUATOR handle is NULL",0xA,0
.rodata:000C7EF4 aSMctl_compid_2 DCB "%s: MCTL_COMPID_ACTUATOR handle is NULL",0xA,0
the one causing the error is the first
in dmesg, error happens beetween this two lines:
<6>[ 141.009064] c1 4731 [CAM] mt9v113_ioctl, cfgtype = 10
(reached with original cam and zoe mod)
it's in drivers/media/video/msm/sensor/mt9v113_v4l2.c
function: int mt9v113_sensor_config(void __user *argp)
<6>[ 141.009430] c1 4731 [CAM] vfe32_proc_general: cmdID = START
(start is not reached with Zoe mod)
it's in drivers/media/video/msm/vfe/msm_vfe32.c
function: static int vfe32_proc_general(
struct msm_cam_media_controller *pmctl,
struct msm_isp_cmd *cmd,
struct vfe32_ctrl_type *vfe32_ctrl)

Will be great to be ported this feature and new [ROM] MaximusHD 10.0.0 - 4.2.2 Sense 5 -> will be the best one for ONE S
Will wait this with big impatience to be fixed and work of my favorite phone - One S
Thanks

i'm using this tutorials to try to debug liboemcamera.so:
http://forum.xda-developers.com/showthread.php?t=2050393
http://forum.xda-developers.com/showthread.php?t=1374345
but i'm currently stuck here:
http://forum.xda-developers.com/showpost.php?p=45827106&postcount=13
EDIT: solved few problem
but now, i'm stuck, again
ptrace: I/O error.

If someone want to try to debug native android library using IDA Pro...
[console 1] -> one time only
adb push the gdbserver from ndk to data/local/tmp
adb shell su
adb chmod 755 gdbserver
[console 2] -> don't forget it or debug client will not connect!
adb forward tcp:1111 tcp:1111
[console 3] -> start binary you want to debug (or binary that load library that you want to debug liboemcamera.so in my case, using mm-qcamera-app) -> leave it opened
adb shell
su
echo 0 > /proc/sys/kernel/randomize_va_space (this is to disable ASLR, that cause library to be loaded at random address)
cd system/bin
./mm-qcamera-app
1 or 2
[console 4]->leave it opened
adb shell
su
echo 0 > /proc/sys/kernel/randomize_va_space (just to be sure)
ps (look at PID of mm-qcamera-app)
cd data/local/tmp
./gdbserver --attach :1111 PID_NUMBER_of_mm-qcamera-app
[console 5]
(adb pull system/lib and system/bin here->C:/android-ndk-r9/toolchains/arm-linux-androideabi-4.6/prebuilt/windows-x86_64/bin)
(start gdb from ndk from command line)
gdb.exe
(gdb) set height 0
(gdb) set solib-search-path ./
(gdb) directory C:/android-ndk-r9/toolchains/arm-linux-androideabi-4.6/prebuilt/windows-x86_64/bin
(gdb) target remote 127.0.0.1:1111
Remote debugging using 127.0.0.1:1111
0x4005fe48 in ?? ()
(gdb) info sharedlibrary
Reading symbols from C:/android-ndk-r9/toolchains/arm-linux-androideabi-4.6/preb
uilt/windows-x86_64/bin/mm-qcamera-app...done.
WARNING: no debugging symbols found in C:/android-ndk-r9/toolchains/arm-linux-an
droideabi-4.6/prebuilt/windows-x86_64/bin/mm-qcamera-app.
Either the binary was compiled without debugging information
or the debugging information was removed (e.g., with strip or strip -g).
Debugger capabilities will be very limited.
For further information: http://wiki/Main/GdbFaq#No_debugging_symbols_found
From To Syms Read Shared Object Library
0x40003240 0x4000b978 No C:/android-ndk-r9/toolchains/arm-linux-andro
ideabi-4.6/prebuilt/windows-x86_64/bin/system/bin/linker
0x40055940 0x40085d0c No libc.so
0x400a07f4 0x400a0998 No libstdc++.so
0x400a4e80 0x400b5164 No libm.so
0x40044180 0x40045d44 No liblog.so
0x40027a18 0x4003059c No libcutils.so
0x4025f6a0 0x40263008 No libgemini.so
0x4022f578 0x402543cc No libmmjpeg.so
0x400ca8b0 0x40161250 No liboemcamera.so
0x40296638 0x40296b50 No libmmstillomx.so
0x402a1494 0x402a1630 No libimage-omx-common.so
0x4029a658 0x4029e414 No libimage-jpeg-enc-omx-comp.so
0x4028a284 0x40291a5c No libmmcamera_interface2.so
(gdb)
NOW you have information about library base address! Nice! Copy and paste these information
Now you can just use CTRL+C on console 4, and execute instruction for console 4 again, so we can debug using IDA this time
(IDA)
for new versions->Debugger, Debugger option, option, uncheck "Use hardware temporary breakpoints"
Debugger,Switch Debugger,Remote GDB debugger and check Set as default debugger
Debugger, Process option, applicazion path (../system/bin/blabla), input file (same or ../system/lib/libblabla.so if debugging lib), Hostname: localhost, Port 1111 (or select youself, you will need to use it for all commands) and check "Set as default network setting"
Now load the file you want to debug
File->Open->liboemcamera.so in my case->Ok/Load->Check "Manual load" from the popup->OK->Input 0:400ca8b0 in my case (base address)->Load all section or section that you need->Yes
Wait for autoanalysis, and do some static analysis by yourself, set some breakpoint, etc,etc
When you are ready to debug: Debugger,Start process, Yes
TADA! The ****ing IDA+gdb should now be able to do step by step debug, but i got a ****ing ptrace: I/O error.

using HTC One Mini libs + updating kernel camera parts from HTC One Mini source, front camera is working good, but rear camera quality is really really bad, need a fix
i'll post an alpha mod soon
zoom bug (green rectangle on jpeg) is still present
EDIT: quality became bad because of wrong Auto White Balance not working good with M4 libs, so with a clean installation it will still working good, but if you came from Zoe fix from Magio, you will need to go back to stock libs/camera apps or do a fresh installation
zoe is working but need camera.apk modding to force it (it should be easy, since apk can be decompiled almost to source code)

install over a stock camera
kernel with M4 kernel camera patch: http://www.4shared.com/zip/CRNRFvCD/fabane_ville_m4_cam_26_09_13_v.html
test M4 libs+camera: http://www.4shared.com/zip/wW302ToJ/FixedZoeMagioV4_M4_ville.html
front facing camera is working, zoe needs to be enabled camera.apk side

pirlano said:
install over a stock camera
kernel with M4 kernel camera patch: http://www.4shared.com/zip/CRNRFvCD/fabane_ville_m4_cam_26_09_13_v.html
test M4 libs+camera: http://www.4shared.com/zip/wW302ToJ/FixedZoeMagioV4_M4_ville.html
front facing camera is working, zoe needs to be enabled camera.apk side
Click to expand...
Click to collapse
Well this work over your old kernel to make the one xl roms boot
Sent from my HTC One S using Tapatalk 2

yes, camera part only is changed, tomorrow i'll work on camera.apk

pirlano said:
yes, camera part only is changed, tomorrow i'll work on camera.apk
Click to expand...
Click to collapse
Ok cool need any help send me a pm
Sent from my HTC One S using Tapatalk 2

Hey guys, I know this is still in development but when finished will it work with the Maximus Rom?
Sent from my HTC One S using xda app-developers app

razlack said:
Hey guys, I know this is still in development but when finished will it work with the Maximus Rom?
Sent from my HTC One S using xda app-developers app
Click to expand...
Click to collapse
the question is not "when", but, "if"
i'll start lessons next week, so i will be unable to continue
EDIT:
today, instead of looking at m4 camera.apk, i tryed to fix ffc with stock kernel and m7 libs, i think i have found the solution, don't know if it will work, but it's the better idea that i have found until now
EDIT2:
mt9v113 seems to be incompatible with m7 libs, cannot found a solution, we need an experienced arm hacker or hex-rays arm decompiler (if someone use it at work, license is too expensive for home users)
an ather way it's to create a mt9v113_act.c driver, but i think i'm not able to do that, and if it will work, but maybe a dummy one will work too, will try when i have time
for now the only way it's to use m4 libs, so camera.apk needs hacking (this is much more easy), i will try tomorrow
I'm also trying to understand what's causing the zoom bug...
also with both m4 and m7 libs (with kernel patches to make camera working) manual touch autofocus seems to be buggy with slow motion mode and with 60fps mode
and camera auto white balance need a fix, i'm starting to think that it's better to mod our stock camera, without zoe...****ing close source libs...

Related

[Q] IPSEC on Gen8

Hello,
i'm trying urukdroid 0.5 and i can not use ipsec/l2tp with it
logcat say :
...
E/racoon ( 1972): libipsec failed pfkey open: Operation not permitted
I/racoon ( 1972): initiate new phase 2 negotiation: 192.168.0.200[4500]<=>192.168.0.10[4500]
I/racoon ( 1972): NAT detected -> UDP encapsulation (ENC_MODE 2->4).
I/racoon ( 1972): Adjusting my encmode UDP-Transport->Transport
I/racoon ( 1972): Adjusting peer's encmode UDP-Transport(4)->Transport(2)
E/racoon ( 1972): pfkey UPDATE failed: Function not implemented
E/racoon ( 1972): pfkey ADD failed: Function not implemented
...
is there a way to rebuild the urukdroid kernel with all ipsec function implemented ?

[ROM][2.3.8][OFFICIAL][BUILD #1] CyanMobileX Compiled From Source [15/01/2013]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Welcome to the Cyanmobile eXperience
Hey there peeps, I compiled a new ROM for the HTC Sapphire -- CyanMobile!
It's made by the CyanMobile team, led by Squadzone.
Here's a short description (according to https://raw.github.com/CyanMobile/android_cyanmobile/gingerbread/Definitions.txt) with grammar edited by me:
What is CyanMobile?
CyanMobile is an aftermarket ROM like CyanogenMod, MIUI, JoyOS, LewaOS and others that are built from source. It is based on CyanogenMod 7 (Gingerbread v2.3.7) and uses modifications from AOSP and AOKP
Thanks To CyanogenMod Team, AOKP Team, and AOSP Team for Their Work
**********************************************************************************************************************
** CyanMobile is Short of " *Cyan* (CyanogenMod) *Mob* (Mobiling) *I* (Improving) and *L* (Let's) *E* (Experiment)" **
**********************************************************************************************************************
All features are based on what uses do and what users need with a lots of improvement here and there.
This ROM optimizes Gingerbread, but uses updates from other branchs (ICS stuff, AOSP and AOKP) with reverse engineering or backporting skill.
It can be used without needing to have any Google application installed....
Let us show you what is in CyanMobile:
====================================================================================================
1. Statusbar :
* Date
- Show/Hide Date
- Date Colour
* Notications
- Ticker Color
- No Title Color
- Latest Title Color
- Ongoing Title Color
- Clear Label Button Color
- Title Color
- Item Color
- Time Color
- Tile View [ Android 4.2 ]
* Icons
- Show/Hide Notification Icons
- Show/Hide Statusbar Icons
- Show/Hide Headset/Alarm/Bluetooth/Gps/Sync/Wifi/3G/4G Icon
* Clock
- 4 Clock styles (Right, Left, Center and Hide)
- Clock Color
- Clock Font Size
* Carrier label
- Show/Hide Carrier Label
- Bottom Carrier Label
- 3 Carrier Label On Statusbar Styles (Right, Left and Center)
- Carrier Label Color
- 4 Carrier Logo Styles (Right, Left, Center and Custom Logo)
* Signal
- 5 Different Styles (Bars, Text, Text w/dBm, text w/Auto Color and Hide)
- Wifi Signal Text
* Battery
- 7 Different Styles (Icon, Percentage, Top Statusbar, Side Bar, Behind Statusbar, Navigation Bar and Hide)
- 3 Different Battery Percentage Format (Default, Percentage and Full Color)
- Statusbar Battery Color
* Power Widget
- 4 Different Layouts (Default, Bottom, Grid and Tab)
- Music Widget
- Grid Layout Customizing
* Misc
- Refactor New Statusbar Layout
- Power Clock
- Power Date
- Weather PopUp
- Shortcut Button
- Show/Hide Statusbar
- Reverse Statusbar Icons And Layout
- Statusbar Brightness Control
- Statusbar Fonts Size
- Statusbar Icons Size
- Statusbar Height Size
- Statusbar Background
- Statusbar Background Color
- Notification Background
- Notification Background Color
====================================================================================================
2. Framework :
* Lockscreen
- 7 Different Lockscreen Styles (Sliding Tab, Rotary, Lense, Ring, Honeycomb (beta), Circular (alpha) , Sense (Beta) , Jellybean Glow (Beta) and Jellybean Pad (BETA) )
- Lockscreen Widget Color
- Sms/Call Notifications
- Fuzzy Clock
- Kanji Clock
- Custom Text Lockscreen
- Widget Layouts
- Pattern Styles
* Power Saver
- Screen Off Data Action
- Data Action Delay
- Sync Action
- Sync Time Interval
- Screen Off Wifi Action
- Sync Data Usage
- Mobile Data Preference
* Application
- Native A2SD Framework Core
- Installation Place
* Display
- Bravia Engine
- Rotation Animation
- Window Animations
- Transition Animations
- LCD Density
* Input
- Quick Key Behavior
- Enable/Disable Vibrate on Shutdown
- Explorer Key
* Power Menu
- Show/Hide Power menu/Silent/Airplane/Profile/Screenshot/Power saver/Hibernate/Suspend Toggles
* Fonts
- Change Fonts System
- Change Fonts Type
* OverScroll
- Effect
- Color
- Weight
* Core Replacer
- Change System Apk
- Change Framework Apk/Jar
* Boot/Shutdown animation and Sound
- Preview
- Change Bootanimation
- Change Shutdownanimation
- Change Bootsound
- Reset
* Misc
- New Notifications Design
- Intruder Alert is Life
- New Dialog Design
- Backported Some Apis From Jellybean
- Clear Market Data
- Global Text Color Change
- Global App Background Change
- Soft Button Statusbar
- Navigation Button Bar
- Choose Navi Button
- Navigation Button Bar Size
- Navigation Bar Background
- Extend Power Menu
- Remap Volume Keys
- Lock Volume Keys
- Volume Key Beeps
- Swap Volume Keys
- Task Switcher
====================================================================================================
3. Sound :
* Features
- Loop Ringtone
- Flip Down To Mute Ringer/Snooze Alarm
- Increasing Ringtone Volume
- Less Frequent Notification Sound
- Battery Full/Low Alert
- Charging Plug/Unplug Sound
====================================================================================================
4. Tethering :
* Features
- Bluetooth Tether
- Auto Usb Tether
====================================================================================================
5. Phone :
* Features
- Smart Phone Call
- Back Button To End Call
- Menu Button To Answer Call
- Reject Call with Message
- Allow Incall UI Touch
- Call Me Louder While Inside Bags
- Speed Dials
- Video As Ringtone
- Ring Delay
- Export/Import SIM Contacts
====================================================================================================
6. Messaging :
* Features
- Bubble/Black/Transparent Theme
- Smart Phone Call
- Hide Avatar
- Strip Unicode
- Emoji Support
- Convo List/Subject Font Size
- Sms Vibrate Morse
- Brutal Sender
- Sms PopUp
====================================================================================================
7. Music :
* Features
- Shake To Next/Prev/Play/Pause/Shuttle Track
- Favorite Folder
- Flip To Play/Pause
- Smooth Play Track
====================================================================================================
8. Locations :
* Features
- Enable/Disable Assisted GPS
- GPS Tracker Performance
- Security Device Finder
====================================================================================================
9. Performance :
* Features
- New I/O Scheduler Option
- New Dithering Support
- Enable Bootsound
- Bootsound Volume
- Enable Shutdownanimation
- Gmaps Hack
- KSM Settings
- Battery Polling
- Low Mem Killer Option
- Scrolling Option
- SD Read Ahead Size option
- Screen Off Max CPU Freq
====================================================================================================
10. Misc :
* Features
- ADWLauncher Improved
- Browser Improved
- Calculator Improved
- FM Radio Improved
- File Manager Updated
- SIM ToolKit Improved
- Screenshots Improved
- Task Manager
- Voice Dialer Improved
====================================================================================================
11. All Binary and Library is up to Date
====================================================================================================
That's it, other features not mentioned here came from CyanogenMod 7
Don't Use Any Scripts Like Link2SD, Bravia Hack, Xloud etc They Are Inbuilt !!
Click to expand...
Click to collapse
To Find OUT the features, YOU NEED TO PLAY AROUND WITH THE ROM xD
CyanMobile tries to improve all hardware functions and is always adding new features so it may have some bugs and requires user feedback to fix the bugs.
DONATION:
Donate to Keyur Maru
Donate to Squadzone
Check Next Post For What's Working ! and What's Not !
=======================
Cyan MoBiLe eXperiance
=======================
What's Working in it ? [ Hope so ]
-Network
-HW
-Audio
-Video
-Cam
-DAMM SMOOTH
-Sensors
What's Not Working ? [ Hope so ]
-You Need to Tell me xD
For Change Log Check Next Post
Change Log for Build #1 [16/01/13]
Initial Release for Sapphire
*****Please Read the Flashing Instructions !*****
Screenshots From Wildfire Buzz , LGE P500 And Galaxy Fit
This are From Other Devices Please Provide me From Sapphire Thank you !
DownLoadS
Current Version
Click to expand...
Click to collapse
update-CyanMobile-eXperience-DS-20130116-Release.zip
Click to expand...
Click to collapse
Click that image to start download of latest rom
Google Apps
Click me to Advance the Exploit [ Google APPS ]
***Important***​
How To Flash The Rom xD * IMPORTANT *
-Click Thanks , Rate The Thread And Press Newsworthy Thread ( OPTIONAL BUT * HIGHLY RECOMMENDED * )
-Download The Rom
-Wipe ALL
-Flash The Rom
-Reboot From Recovery
-Now Wait for 3-4 Minutes
-Rom Will Not Boot
-Now Remove Battery
-Reinsert Battery
-Now Start The Phone
-It will Boot up Now
-Enjoy The Rom
Hello,
CMX Users Now I had setted up CMX BuildBot !! Now you could always check status of the builds !!
Keep your eyes here : http://builder.pecancm.insomnia247.nl/job/CyanMobile-Builds/
It is Not Building Only for Sapphire It is Building LG P350 , LG P500 , HTC Buzz and More Devices to be added in future !!
DONATION:
Donate to Keyur Maru For Buying this Phone So I can Provide Further Updates
Donate to Sqadzone
I will be ur tester. sound like a good ROM.
could you include some pics or screen capture? thanks for your effort on our magic.
I want to test this rom. But I can't see link of the rom.
It is released
I have a HTC magic 32A device but I could not find rom for it.
hanntbk said:
I have a HTC magic 32A device but I could not find rom for it.
Click to expand...
Click to collapse
there is important information missing...
is this for 32A or 32B?
if it is for 32A, is it for old radio or new radio?
Thanks!
blizard80 said:
there is important information missing...
is this for 32A or 32B?
if it is for 32A, is it for old radio or new radio?
Thanks!
Click to expand...
Click to collapse
Is official cm7 for 32A or 32B !! it is same as cm7!
Cm7 is not officially available to sapphire.
So I can flash that file in either a 32A old radio or new radio? Has auto kernel?
I will test later.
Thank you!
Sent from my BlackBerry 9900 using Tapatalk
blizard80 said:
Cm7 is not officially available to sapphire.
So I can flash that file in either a 32A old radio or new radio? Has auto kernel?
I will test later.
Thank you!
Sent from my BlackBerry 9900 using Tapatalk
Click to expand...
Click to collapse
What the hell!!!! I compiled with mods to this device config it says it is for dream_sapphire https://github.com/CyanogenMod/android_device_htc_dream_sapphire
so this is not for this device ?
first, thanks for releasing this for the sapphire.
what i was saying is that CM7 is not supported by cyanogen as you see here:
http://get.cm/?device=dream_sapphire
there are differences in kernel for 32A and 32B... thats why i'm asking.
i can't test it right now but i will do it later and i will report.
thanks for this release.
blizard80 said:
first, thanks for releasing this for the sapphire.
what i was saying is that CM7 is not supported by cyanogen as you see here:
http://get.cm/?device=dream_sapphire
there are differences in kernel for 32A and 32B... thats why i'm asking.
i can't test it right now but i will do it later and i will report.
thanks for this release.
Click to expand...
Click to collapse
But i can see gingerbread tree here https://github.com/CyanogenMod/android_device_htc_dream_sapphire/tree/gingerbread
I don't know why cm is not releasing gb builds ? please someone test it and tell me results !!
I can not install ...
(status 7)
Instalation aborted
HTC Magic 32A Eng S-OFF
katurras said:
I can not install ...
(status 7)
Instalation aborted
HTC Magic 32A Eng S-OFF
Click to expand...
Click to collapse
If you can flash CM7 you should be able to flash this!
katurras said:
I can not install ...
(status 7)
Instalation aborted
HTC Magic 32A Eng S-OFF
Click to expand...
Click to collapse
What hboot and/or radio?
I get that error, but updated the hboot and radio et voila!
It works
BTW I installed the hboot and radio from here
PD: I flashed the ROM but it does not boot.
I get many errors.....
D/AndroidRuntime( 145): >>>>>> AndroidRuntime START com.android.internal.os.Zyg
oteInit <<<<<<
I/AndroidRuntime( 145): Heap size: -Xmx16m
D/AndroidRuntime( 145): CheckJNI is OFF
W/dalvikvm( 145): Exception Ljava/util/regex/PatternSyntaxException; thrown whi
le initializing Landroid/graphics/Rect;
I/dalvikvm( 145): Rejecting re-init on previously-failed class Landroid/graphic
s/Rect; v=0x0
E/dalvikvm( 145): Class lookup Ljava/lang/NoClassDefFoundError; attempted while
exception Ljava/lang/ExceptionInInitializerError; pending
I/dalvikvm( 145): DALVIK THREADS:
I/dalvikvm( 145): (mutexes: tll=0 tsl=0 tscl=0 ghl=0 hwl=0 hwll=0)
I/dalvikvm( 145): "main" prio=5 tid=1 RUNNABLE
I/dalvikvm( 145): | group="main" sCount=0 dsCount=0 obj=0x40196198 self=0xce4
0
I/dalvikvm( 145): | sysTid=145 nice=0 sched=0/0 cgrp=default handle=-13450024
00
I/dalvikvm( 145): at dalvik.system.NativeStart.main(Native Method)
I/dalvikvm( 145): at dalvik.system.NativeStart.main(Native Method)
I/dalvikvm( 145):
E/dalvikvm( 145): VM aborting
I/DEBUG ( 79): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *
**
I/DEBUG ( 79): Build fingerprint: 'tmobile/opal/sapphire/sapphire:2.2.1/FRG8
3/60505:user/release-keys'
I/DEBUG ( 79): pid: 145, tid: 145 >>> zygote <<<
I/DEBUG ( 79): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadd00
d
I/DEBUG ( 79): r0 fffffec4 r1 deadd00d r2 00000026 r3 00000000
I/DEBUG ( 79): r4 aca9e5c0 r5 0000ce40 r6 aca9e5c0 r7 00000000
I/DEBUG ( 79): r8 00000000 r9 00000000 10 00000000 fp 00000000
I/DEBUG ( 79): ip aca9e720 sp bef529d0 lr afd19919 pc aca3fb66 cpsr 200
00030
I/DEBUG ( 79): #00 pc 0003fb66 /system/lib/libdvm.so (dvmAbort)
I/DEBUG ( 79): #01 pc 00064a52 /system/lib/libdvm.so
I/DEBUG ( 79): #02 pc 00064cee /system/lib/libdvm.so (dvmFindSyst
emClassNoInit)
I/DEBUG ( 79): #03 pc 00064d06 /system/lib/libdvm.so (dvmFindSyst
emClass)
I/DEBUG ( 79): #04 pc 0003f2ba /system/lib/libdvm.so (dvmThrowCha
inedException)
I/DEBUG ( 79): #05 pc 0003f31c /system/lib/libdvm.so (dvmThrowCha
inedExceptionWithClassMessage)
I/DEBUG ( 79): #06 pc 000628d4 /system/lib/libdvm.so
I/DEBUG ( 79): #07 pc 0006476a /system/lib/libdvm.so (dvmInitClas
s)
I/DEBUG ( 79): #08 pc 00046e2c /system/lib/libdvm.so
I/DEBUG ( 79): #09 pc 000585e8 /system/lib/libandroid_runtime.so
I/DEBUG ( 79): #10 pc 0005863a /system/lib/libandroid_runtime.so
(_Z34register_android_graphics_GraphicsP7_JNIEnv)
I/DEBUG ( 79): #11 pc 000357f6 /system/lib/libandroid_runtime.so
I/DEBUG ( 79): #12 pc 0003582c /system/lib/libandroid_runtime.so
(_ZN7android14AndroidRuntime8startRegEP7_JNIEnv)
I/DEBUG ( 79): #13 pc 000358f6 /system/lib/libandroid_runtime.so
(_ZN7android14AndroidRuntime5startEPKcb)
I/DEBUG ( 79): #14 pc 00008ca2 /system/bin/app_process
I/DEBUG ( 79): #15 pc 000153e0 /system/lib/libc.so (__libc_init)
I/DEBUG ( 79):
I/DEBUG ( 79): code around pc:
I/DEBUG ( 79): aca3fb44 2006447a ecc8f7d1 20004c09 edf0f7d1
I/DEBUG ( 79): aca3fb54 447c4808 6bdb5823 d0002b00 49064798
I/DEBUG ( 79): aca3fb64 700a2226 ee5cf7d1 000435c5 00045183
I/DEBUG ( 79): aca3fb74 0005ea66 fffffec4 deadd00d b510b40e
I/DEBUG ( 79): aca3fb84 4c0a4b09 b083447b aa05591b ca026b5b
I/DEBUG ( 79):
I/DEBUG ( 79): code around lr:
I/DEBUG ( 79): afd198f8 447b4a0d 589cb083 90012600 686768a5
I/DEBUG ( 79): afd19908 220ce008 2b005eab 1c28d003 47889901
I/DEBUG ( 79): afd19918 35544306 d5f43f01 2c006824 b003d1ee
I/DEBUG ( 79): afd19928 bdf01c30 00028c26 ffffff88 1c0fb5f0
I/DEBUG ( 79): afd19938 b0871c3d a9044355 1c16ac01 604d9004
I/DEBUG ( 79):
I/DEBUG ( 79): stack:
I/DEBUG ( 79): bef52990 00000000
I/DEBUG ( 79): bef52994 00000000
I/DEBUG ( 79): bef52998 afd4372c
I/DEBUG ( 79): bef5299c afd436d8
I/DEBUG ( 79): bef529a0 00000000
I/DEBUG ( 79): bef529a4 afd19919 /system/lib/libc.so
I/DEBUG ( 79): bef529a8 00000000
I/DEBUG ( 79): bef529ac afd18985 /system/lib/libc.so
I/DEBUG ( 79): bef529b0 00000000
I/DEBUG ( 79): bef529b4 0005ea66
I/DEBUG ( 79): bef529b8 0000ce40
I/DEBUG ( 79): bef529bc aca9e5c0
I/DEBUG ( 79): bef529c0 00000000
I/DEBUG ( 79): bef529c4 afd189e3 /system/lib/libc.so
I/DEBUG ( 79): bef529c8 df002777
I/DEBUG ( 79): bef529cc e3a070ad
I/DEBUG ( 79): #00 bef529d0 aca85ffb /system/lib/libdvm.so
I/DEBUG ( 79): bef529d4 aca64a57 /system/lib/libdvm.so
I/DEBUG ( 79): #01 bef529d8 41d1dd8d
I/DEBUG ( 79): bef529dc 41d5b7db
I/DEBUG ( 79): bef529e0 00080f40
I/DEBUG ( 79): bef529e4 aca85ffb /system/lib/libdvm.so
I/DEBUG ( 79): bef529e8 000001b4
I/DEBUG ( 79): bef529ec 00000000
I/DEBUG ( 79): bef529f0 00000000
I/DEBUG ( 79): bef529f4 00000000
I/DEBUG ( 79): bef529f8 00000000
I/DEBUG ( 79): bef529fc aca85ffb /system/lib/libdvm.so
I/DEBUG ( 79): bef52a00 00080f40
I/DEBUG ( 79): bef52a04 00000000
I/DEBUG ( 79): bef52a08 0000ce40
I/DEBUG ( 79): bef52a0c aca64cf3 /system/lib/libdvm.so
I/ServiceManager( 76): service 'media.camera' died
I/ServiceManager( 76): service 'media.audio_policy' died
I/ServiceManager( 76): service 'media.audio_flinger' died
I/ServiceManager( 76): service 'media.player' died
I/Netd ( 147): Netd 1.0 starting
I/ ( 146): ServiceManager: 0xad50
I/HTC Acoustic( 146): libhtc_acoustic.so version 1.0.1.1.
E/HTC Acoustic( 146): Fail to open /system/etc/AudioPara_VODA-Spain.csv -1.
E/HTC Acoustic( 146): Fail to open /system/etc/AudioPara4.csv -1.
E/HTC Acoustic( 146): read audio para from file failed -1
E/AudioHardwareMSM72XX( 146): Could not set acoustic parameters to share memory
: -1
D/AudioHardwareMSM72XX( 146): mNumSndEndpoints = 13
D/AudioHardwareMSM72XX( 146): BT MATCH HANDSET
D/AudioHardwareMSM72XX( 146): BT MATCH SPEAKER
D/AudioHardwareMSM72XX( 146): BT MATCH HEADSET
D/AudioHardwareMSM72XX( 146): BT MATCH BT
D/AudioHardwareMSM72XX( 146): BT MATCH CARKIT
D/AudioHardwareMSM72XX( 146): BT MATCH TTY_FULL
D/AudioHardwareMSM72XX( 146): BT MATCH TTY_VCO
D/AudioHardwareMSM72XX( 146): BT MATCH TTY_HCO
D/AudioHardwareMSM72XX( 146): BT MATCH NO_MIC_HEADSET
D/AudioHardwareMSM72XX( 146): BT MATCH FM_HEADSET
D/AudioHardwareMSM72XX( 146): BT MATCH HEADSET_AND_SPEAKER
D/AudioHardwareMSM72XX( 146): BT MATCH FM_SPEAKER
D/AudioHardwareMSM72XX( 146): BT MATCH CURRENT
D/AudioHardwareInterface( 146): setMode(NORMAL)

Unfortunately, Camera has stopped CM12s

CameraNext crashes on most ROMs I install. I am currently on a stock rom and still crashing. Normally I would just use another camera app but if it's fixable - awesome. Google Camera works fine.
I have attached 2 crash reports. I cannot generate the second one again, which it a bit odd.
Is there a fix? TIA
Kind regards
Benjamin
Android:
12.0 YNG1TAS17L
5.0.2
Camera
CameraNext
2.0.004
Crash 1
java.lang.RuntimeException: Media server died.
at com.android.camera.Y.onError(SourceFile:33)
at android.hardware.Camera$EventHandler.handleMessage(Camera.java:1195)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.os.HandlerThread.run(HandlerThread.java:61)
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Crash 2
Build fingerprint: 'oneplus/bacon/A0001:5.0.2/LRX22G/YNG1TAS17L:user/release-keys'
Revision: '0'
ABI: 'arm'
pid: 10164, tid: 10181, name: Binder_2 >>> com.cyngn.cameranext <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
r0 00000000 r1 ad32209c r2 00000025 r3 00000000
r4 a3018040 r5 b6ba5de1 r6 ad320080 r7 00002000
r8 adde7b54 r9 00000000 sl 00002000 fp adde7bf0
ip b6bb5ec0 sp adde7b38 lr b6ba5ea5 pc b6e261f8 cpsr a0000030
backtrace:
#00 pc 000981f8 /system/lib/libandroid_runtime.so (JNICameraContext::copyAndPost(_JNIEnv*, android::sp<android::IMemory> const&, int)+35)
#01 pc 00098353 /system/lib/libandroid_runtime.so (JNICameraContext:ostData(int, android::sp<android::IMemory> const&, camera_frame_metadata*)+102)
#02 pc 0001e995 /system/lib/libcamera_client.so (android::Camera::dataCallback(int, android::sp<android::IMemory> const&, camera_frame_metadata*)+54)
#03 pc 00022321 /system/lib/libcamera_client.so (android::BnCameraClient:nTransact(unsigned int, android:arcel const&, android:arcel*, unsigned int)+220)
#04 pc 00017fc5 /system/lib/libbinder.so (android::BBinder::transact(unsigned int, android:arcel const&, android:arcel*, unsigned int)+60)
#05 pc 0001cf7b /system/lib/libbinder.so (android::IPCThreadState::executeCommand(int)+582)
#06 pc 0001d09f /system/lib/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+38)
#07 pc 0001d0e1 /system/lib/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+48)
#08 pc 0002124b /system/lib/libbinder.so
#09 pc 0000ef11 /system/lib/libutils.so (android::Thread::_threadLoop(void*)+112)
#10 pc 0005a62d /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+72)
#11 pc 0000ea81 /system/lib/libutils.so
#12 pc 00013a1b /system/lib/libc.so (__pthread_start(void*)+30)
#13 pc 00011a0f /system/lib/libc.so (__start_thread+6)
* Cleared Data and Cache, no bacon.
I hit this bug constantly. For me, the camera is effectively unusable. I've also tried clearing cache &c.
My cameras have stopped too & I don't know how to remove or try better camera software pkg. If someone could help me to do this it would be great. Thankyou Currently running 1+1,
Resurrection Remix, 5.5.6 with slim0 gapps,+ latest cm12.1 nightly Don't have ear speaker on phone calls working either but I need my cameras back first.
wel for best results flash the K1 Color Os package in recovery.
amazing.
also you could install the A Better Camera app, its equally good if you know how to play with the light.
lastly, the Moto V3 camera port is superb..
u need to try all three to know which works best for u.
regards
---------- Post added at 01:38 PM ---------- Previous post was at 12:43 PM ----------
here are the links for the cams I use which are tested working on OP1 and LG G2 and Nexus 5.
superb apps..
COS Cam Port - http://d-h.st/gskk
here is the original thread of the port - http://forum.xda-developers.com/oneplus-one/themes-apps/coloros-camera-port-t3034148
Moto Cam port - http://d-h.st/SF8S
(remove - http://d-h.st/Prw9)
here is the original thread of the port - http://forum.xda-developers.com/android/apps-games/flashable-port-moto-camera-fullfilled-t3172783
all credits to the original devs, i am just sharing....
regards

Lineage 14.1 Stable - Micromax Canvas 5 E481

Join this groups for roms and support...
Telegram:
https://t.me/teammaxmtk
Facebook:
https://m.facebook.com/groups/673560846179945?ref=bookmarks
Congrats to every canvas 5 user.
Don't forget to join the official whatsapp group of canvas 5.
https://chat.whatsapp.com/2YtWDoFzukZKthAUenMv74
Plz share the SS of the rom.
Big hit and Thanks to Arshjot singh and Harishwarrior bro... U two are the best dev... Give new soul to MMX CANVAS 5
..
sun75 said:
Hi,
after some debugging, I solved the compass problem (at least on the Wiko Fever 4G). If the Canvas has the same sensor, you have to put a /etc/init.d/30compass script as follow:
---CUT HERE
#!/system/bin/sh
# Adding Ecompass Daemon - By Sun75 @ XDA ####
su 0 setenforce 0
/system/bin/logwrapper /system/bin/akmd09911 &
##############################################
---CUT HERE
Make sure you have /xbin/su in your Rom, but in your's... there is!
Repack the Rom zip, and reflash it (you will lack Selinux permissions by adding with a Root explorer) with TWRP.
At next boot, your Msensord will fail starting the gsensor child daemon, but you will have the gsensor/compass daemon started as a separated daemon fixing the problem!
09-16 21:53:28.249 330 330 D MsensorDaemon: Msensor deamon statr!!!!!!!!!!!!
09-16 21:53:28.249 330 330 D MsensorDaemon: msensor demon start process detect demon name = akmd09911
09-16 21:53:28.249 330 330 D MsensorDaemon:
09-16 21:53:28.249 330 330 D MsensorDaemon: msensor demon start process detect demon prop = init.svc.akmd09911
09-16 21:53:28.249 330 330 D MsensorDaemon:
09-16 21:53:28.249 330 330 D MsensorDaemon: start_msensor_demon
09-16 21:53:28.500 330 330 D MsensorDaemon: do not USE_LIBC_SYSTEM_PROPERTIES
09-16 21:53:28.500 330 330 E MsensorDaemon: [99] ''
09-16 21:53:28.600 330 330 D MsensorDaemon: do not USE_LIBC_SYSTEM_PROPERTIES
09-16 21:53:28.601 330 330 E MsensorDaemon: [98] ''
09-16 21:53:28.701 330 330 D MsensorDaemon: do not USE_LIBC_SYSTEM_PROPERTIES
09-16 21:53:28.701 330 330 E MsensorDaemon: [97] ''
.....
09-16 21:53:38.324 330 330 E MsensorDaemon: [01] ''
09-16 21:53:38.424 330 330 D MsensorDaemon: do not USE_LIBC_SYSTEM_PROPERTIES
09-16 21:53:38.424 330 330 E MsensorDaemon: [00] ''
09-16 21:53:38.524 330 330 E MsensorDaemon: start daemon timeout!!
09-16 21:53:38.524 330 330 D MsensorDaemon: msensor demon start akmd09911 fail
09-16 21:53:38.524 330 330 D MsensorDaemon: Msensor deamon2 statr!!!!!!!!!!!!
09-16 21:53:38.525 330 330 D MsensorDaemon: open demon attr err = No such file or directory
-> and after:
09-16 21:53:29.396 448 448 I AKMD2 : AKMD 6D with Pseudo Gyro v20130531(Library for AK9911: v6.1.1.531) started.
09-16 21:53:29.396 448 448 I AKMD2 : Debug: ON
09-16 21:53:29.399 448 448 E AKMD2 : LoadPDC:106 fopen Error (No such file or directory).
Ignore the errors...
If your sensor is not the akm09911, you can find it yourself:
V:\Android\logs>adb shell cat /sys/bus/platform/drivers/msensor/chipinfo
akm09911 Chip
Ok, now open cpu-z or Mtk Engineering (Msensor data) and you will find your compass ready to use (and to calibrate!).
I have ported your all your RR Roms to Wiko Fever 4G fixing many problems, but not all:
- RR-N-v5.8.3-20170527-e481-Official -> VERY stable, compass and gps working, kernel 3.10.65 Stock, FM Radio and front flash NOT working
- RR-N-v5.8.4-20170903-E481-Release.zip -> instable, compass, FM Radio and gps working, kernel 3.10.65 Stock, front flash NOT working
- Resseruction Remix N 5.8.3 By Asfand.zip -> the MOST stable, compass and fm radio working, kernel 3.18.x (MM_V34 Stock), front flash AND gps NOT working. It's a pity that the kernel can not link /dev/stpgps and read /dev/ttyC2 (while it can on 3.10.x kernels!)... I reassembled the boot.img and edited the init.scripts many and many times trying everything... but, it's a no go, at least with the MM Kernel...
Ok, I think I have to open a new thread for the Wiko Fever releases, if you agree!
Click to expand...
Click to collapse
thank you so much , and please help us to fix front flash
Thanks in advance
Bro do you know how to make a volte patch?
--------- beginning of crash
09-17 11:46:21.913 302 302 F libc : CANNOT LINK EXECUTABLE "/system/bin/mtk_agpsd": cannot locate symbol "UCNV_TO_U_CALLBACK_STOP_53" referenced by "/system/bin/mtk_agpsd"...
09-17 11:46:21.913 302 302 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 302 (mtk_agpsd)
09-17 11:46:21.975 336 336 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
09-17 11:46:21.975 336 336 F DEBUG : LineageOS Version: '14.1-20170527-OFFICIAL-E481'
09-17 11:46:21.975 336 336 F DEBUG : Build fingerprint: 'Micromax/lineage_E481/E481:7.1.2/N2G47O/29cf694e04:userdebug/test-keys'
09-17 11:46:21.975 336 336 F DEBUG : Revision: '0'
09-17 11:46:21.975 336 336 F DEBUG : ABI: 'arm'
09-17 11:46:21.975 336 336 F DEBUG : pid: 302, tid: 302, name: mtk_agpsd >>> /system/bin/mtk_agpsd <<<
09-17 11:46:21.975 336 336 F DEBUG : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
09-17 11:46:21.975 336 336 F DEBUG : r0 00000000 r1 0000012e r2 00000006 r3 00000008
09-17 11:46:21.975 336 336 F DEBUG : r4 f72e158c r5 00000006 r6 f72e1534 r7 0000010c
09-17 11:46:21.975 336 336 F DEBUG : r8 ff8502c8 r9 00000003 sl ff850300 fp f726f010
09-17 11:46:21.975 336 336 F DEBUG : ip 00000000 sp ff850260 lr f72c16a7 pc f72c209c cpsr 200f0010
09-17 11:46:22.197 336 336 F DEBUG :
09-17 11:46:22.197 336 336 F DEBUG : backtrace:
09-17 11:46:22.198 336 336 F DEBUG : #00 pc 0004609c /system/bin/linker (__dl_tgkill+12)
09-17 11:46:22.198 336 336 F DEBUG : #01 pc 000456a3 /system/bin/linker (__dl_pthread_kill+34)
09-17 11:46:22.198 336 336 F DEBUG : #02 pc 0003ded9 /system/bin/linker (__dl_raise+10)
09-17 11:46:22.198 336 336 F DEBUG : #03 pc 0003cb11 /system/bin/linker (__dl___libc_android_abort+34)
09-17 11:46:22.198 336 336 F DEBUG : #04 pc 0003bb14 /system/bin/linker (__dl_abort+4)
09-17 11:46:22.198 336 336 F DEBUG : #05 pc 0003da47 /system/bin/linker (__dl___libc_fatal+22)
09-17 11:46:22.198 336 336 F DEBUG : #06 pc 00009c43 /system/bin/linker (__dl__ZL29__linker_init_post_relocationR19KernelArgumentBlockj+3146)
09-17 11:46:22.198 336 336 F DEBUG : #07 pc 00008f63 /system/bin/linker (__dl___linker_init+358)
09-17 11:46:22.198 336 336 F DEBUG : #08 pc 000027c0 /system/bin/linker (_start+4)
Bro i got this
please help me
@sun75
Bravo! Have you opened the new thread for the Wiko Fever yet?
In other news, I have started work on a custom kernel based on the Wiko Fever MM source. I don't have much time to work on it though, so if anyone would like to help you can submit pull requests to the source here.
..
sun75 said:
I fixed LTE in build.prop, but I don't know how to to do a VoLTE patch: I'm not a developer, but a system engineer!
---------- Post added at 11:10 ---------- Previous post was at 10:56 ----------
I have already seen it:
just unpack the boot.img and edit the init.mt6735.rc. Diff format:
--- Line 21:
on init
+ export LD_SHIM_LIBS "/system/lib/libui.so|libshim_ui.so:/system/lib64/libui.so|libshim_ui.so:/system/lib/libgui.so|libshim_gui.so:/system/lib64/libgui.so|libshim_gui.so"
export USBOTG_STORAGE /storage/usbotg
mount tmpfs tmpfs /mnt/media_rw/ mode=0755,uid=1000,gid=1000
mkdir /mnt/media_rw/usbotg 0700 media_rw media_rw
mkdir /storage/usbotg 0700 root root
mount tmpfs tmpfs /storage/usbotg mode=0755,uid=1000,gid=1000
chmod 0666 /dev/kmsg
export USBOTG_STORAGE /storage/usbotg
-----
The export LD_ is ONE LINE!!
And:
---- Line 1286:
# GPS
service agpsd /system/bin/mtk_agpsd
class main
socket agpsd stream 660 gps system
socket agpsd2 stream 660 gps inet
socket agpsd3 stream 660 gps inet
user gps
group gps radio inet sdcard_r sdcard_rw misc
+ setenv LD_SHIM_LIBS "/system/bin/mtk_agpsd|libshim_agps.so"
service wifi2agps /system/bin/wifi2agps
--------
Repack the boot.img and reflash it with sp flash tool!
You have to make sure to have /system/[lib|lib64]/libshim_[agps|gui|ui].so
If you open with an hex editor libshim_agps.so you will find the symbol it'll search for!
---------- Post added at 11:37 ---------- Previous post was at 11:10 ----------
I'll open a Wiko Fever thread today, starting with this release: RR-N-v5.8.3-20170527-e481-Official -> RR-N-v5.8.3-20170527-l5460-Official.
Now I'm working on Stock Kernels only (they work on Stock images, they have to work on custom images... and, by the way, the 3.10.x custom based RR is working with the V39 Stock Kernel...): I miss the point on working with custom Kernels, the hardware is the same, what changes is only the OS layer. Please let me know your point of view, maybe in the Wiko thread, once opened. Thank you!
Click to expand...
Click to collapse
The main reasons for working on a custom kernel are:
To have a more up-to-date kernel (so with extra security and bug fixes)
To remove some unnecessary pre-installed bits making it smaller and therefore faster
Adding more tweaking options, such as custom governors, I/O schedulers, TCP congestion algorithms etc.
Add extra features, such as DT2W and Volte (looking at other android kernel sources helps with this)
Other tweaks and fixed if they come up and are needed
Besides, I'm a developer, and not a systems engineer
..
Thread Updated added TWRP 3.0.0 ported by Rick02
CrDROID and hexagon rom is on development
Hit the thank button
Gratitude
Really thankful to you man! Hats off:victory:
---------- Post added at 04:50 PM ---------- Previous post was at 04:47 PM ----------
Hope my heat issue resolves
Hello,
the Rom works fine and smoothly on my Wiko Fever 4g. The compass, front flash, UKW-Radio and Sim-Contacts are not working but I have restore the Contacts from Google.
When the display is on, it pulls up to 1.7 amps from the battery. I hope that there will be updates with bug fixes and security patches soon.
Otherwise good work.
NobodyDbg said:
Hello,
the Rom works fine and smoothly on my Wiko Fever 4g. The compass, front flash, UKW-Radio and Sim-Contacts are not working but I have restore the Contacts from Google.
When the display is on, it pulls up to 1.7 amps from the battery. I hope that there will be updates with bug fixes and security patches soon.
Otherwise good work.
Click to expand...
Click to collapse
i dont have wiko fever i only support mmx
sun75 will help you
Thanking
I would like to thanks XDA team . I have been waiting for months just for a single update for. MMX canvas 5 . Now this morning I found noighat for my phone . Thank you very much XDA team. Keep it on .
Rahul1436 said:
I would like to thanks XDA team . I have been waiting for months just for a single update for. MMX canvas 5 . Now this morning I found noighat for my phone . Thank you very much XDA team. Keep it on .
Click to expand...
Click to collapse
Thanks goes to Arshjot Singh
Hit the thanks button
Bug in Video playback
Harishwarrior said:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Lineage 14.1​
Arshjot singh made an another rom for Micromax Canvas 5.He puts his time ,Skills ,Effort and Brain on the line to make this awesome Rom.
Without wasting any further time. Lets get started.:fingers-crossed:
Requirements:
You must be in stock lollipop rom , whether it's Rooted or Non rooted
How to install :
1. Download and copy the Rom to your SD card.
2. Backup your Rom using TWRP recovery.
3. Format data and Wipe Factory reset your Phone.
4. Flash the Rom.
5. Change the language.
6. Go to developer option, and set the Animation to 0.5
7. Google apps are not included due to some reason. Go the Google apps link,and select ARM 64 as platform , 7.1 as android,pico as variant.download and flash the zip.
8. Dont install Google system webview otherwise your app will crash
Links:
Lineage 14.1 : https://drive.google.com/uc?id=0B9ToB3iQjd_-eWhuTU1tcnFod00&export=download
TWRP 2.8.7.0: https://forum.xda-developers.com/an...overy-twrp-2-8-7-0-micromax-canvas-5-t3641576
TWRP 3.0.0: https://forum.xda-developers.com/android/development/twrp-3-0-0-micromax-canvas-5-e481-t3677085
Google Apps : http://opengapps.org/
Bugs:
1. Front flash (Not necessary)the default camera app has Selfie flash option try that.
2.Compass (Useless) google maps works without Compass.
Heat Fix:
ONLY TRY THIS , IF YOU FACING HEATING ISSUE .Download and Open kernel Aduitor (Grant root permission)and Go to cpu , select apply on boot , Change the maximum frequency to 1040 Mhz .This will reduces the heat.
CREDITS::angel:
Thanks to
Arshjot singh for Lineage
Infinite4evr for TWRP 2.8.7.0
Rick02::fingers-crossed: for TWRP 3.0.0
Harishwarrior(Me) Moderator.
If you have any ideas or bug fix , Post it down.
This post will be updated Daily or Weekly.Stay tuned
Hit the thanks button......
Click to expand...
Click to collapse
Hello,
I assume that you have already observed bug in video playback issue with this rom.
Solution provided here is for high quality videos but the same can not work for low quality videos.
Is there any known fix for low quality video & formats like .3gpp ??
QUIZILLA said:
Hello,
I assume that you have already observed bug in video playback issue with this rom.
Solution provided here is for high quality videos but the same can not work for low quality videos.
Is there any known fix for low quality video & formats like .3gpp ??
Click to expand...
Click to collapse
Try SW Decoder or use stock video player(Gallery)

I can't boot into my ROM, I keep running into dex problems.

I'm making a CM12.1 ROM port. Every time after compilation, I'm just stuck on the boot screen. My logcat logs always look like this:
Code:
D/gps_ril_BRCM( 1390): ril thread received 0 events
D/gps_ril_BRCM( 1390): ril_state_thread, fd < 0, calling timeout_action_add
I/DEBUG ( 1389): tid 15467 does not exist in pid 15467. ignoring debug request
I/ServiceManager( 1385): service 'media.audio_flinger' died
I/ServiceManager( 1385): service 'media.player' died
I/ServiceManager( 1385): service 'media.camera' died
I/ServiceManager( 1385): service 'media.audio_policy' died
D/gps_ril_BRCM( 1390): ril thread received 0 events
D/gps_ril_BRCM( 1390): ril_state_thread, fd < 0, calling timeout_action_add
I/mediaserver(15513): ServiceManager: 0x2a00b448
I/AudioFlinger(15513): Using default 3000 mSec as standby time.
E/MediaPlayerFactory(15513): calling dlopen on FACTORY_LIB
E/MediaPlayerFactory(15513): calling dlsym on pFactoryLib for FACTORY_CREATE_FN
E/MediaPlayerFactory(15513): registering DASH Player factory...
I/CameraService(15513): CameraService started (pid=15513)
I/CameraService(15513): Loaded "BCM21553 Camera HAL" camera module
D/BcmCamera(15513): HAL_get_number_of_cameras: numCameras:1
I/AudioPolicyManagerBase(15513): loadAudioPolicyConfig() loaded /system/etc/audio_policy.conf
I/AudioFlinger(15513): loadHwModule() Loaded primary audio interface from Samsung BCM21553 audio HW HAL (audio) handle 1
I/AudioFlinger(15513): HAL output buffer size 1024 frames, normal mix buffer size 1024 frames
I/AudioMixer(15513): found effect "Multichannel Downmix To Stereo" from The Android Open Source Project
I/AudioFlinger(15513): Using module 1 has the primary audio interface
D/AudioPolicyManagerBase(15513): setOutputDevice() changing device from (2) to (2) force (1) delayMs (0) on Output (2)
I/AudioFlinger(15513): AudioFlinger's thread 0x40f53008 ready to run
W/AudioFlinger(15513): Thread AudioOut_2 cannot connect to the power manager service
D/audio_hw_primary(15513): call=n, earpiece=n hp=n speaker=y sco=n a2dp=n out_device=2
W/AudioFlinger(15513): Thread AudioOut_2 cannot connect to the power manager service
I/audio_a2dp_hw(15513): adev_open: adev_open in A2dp_hw module
I/AudioFlinger(15513): loadHwModule() Loaded a2dp audio interface from A2DP Audio HW HAL (audio) handle 3
I/AudioFlinger(15513): loadHwModule() Loaded usb audio interface from USB audio HW HAL (audio) handle 4
W/AudioFlinger(15513): Thread AudioOut_2 cannot connect to the power manager service
E/AudioFlinger(15513): no wake lock to update!
I/r_submix(15513): adev_open(name=audio_hw_if)
I/r_submix(15513): adev_init_check()
I/AudioFlinger(15513): loadHwModule() Loaded r_submix audio interface from Wifi Display audio HAL (audio) handle 5
I/AudioPolicyService(15513): Loaded audio policy from LEGACY Audio Policy HAL (audio_policy)
D/gps_ril_BRCM( 1390): ril thread received 0 events
D/gps_ril_BRCM( 1390): ril_state_thread, fd < 0, calling timeout_action_add
D/AndroidRuntime(15512):
D/AndroidRuntime(15512): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime(15512): CheckJNI is OFF
D/dalvikvm(15512): Unable to stat classpath element '/system/framework/core.jar'
D/dalvikvm(15512): DexOpt: incorrect opt magic number (0xff ff ff ff)
D/dalvikvm(15512): ODEX file is stale or bad; removing and retrying (/data/dalvik-cache/[email protected]@[email protected])
D/dalvikvm(15512): DexOpt: --- BEGIN 'conscrypt.jar' (bootstrap=1) ---
E/dalvikvm(15640): Fatal error: java/lang/Object
E/dalvikvm(15640): VM aborting
F/libc (15640): Fatal signal 6 (SIGABRT) at 0x00003d18 (code=-6), thread 15640 (dexopt)
I/DEBUG ( 1389): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 1389): Build fingerprint: 'Samsung/cm_totoro/totoro:5.1.1/KTU84Q/20150211:userdebug/release-keys'
I/DEBUG ( 1389): Revision: '0'
I/DEBUG ( 1389): pid: 15640, tid: 15640, name: dexopt >>> /system/bin/dexopt <<<
[A bunch of seemingly random (at least for such a noob like me) numbers]
W/dalvikvm(15512): DexOpt: --- END 'conscrypt.jar' --- status=0x0006, process failed
E/dalvikvm(15512): Unable to extract+optimize DEX from '/system/framework/conscrypt.jar'
D/dalvikvm(15512): Unable to process classpath element '/system/framework/conscrypt.jar'
D/dalvikvm(15512): DexOpt: incorrect opt magic number (0xff ff ff ff)
D/dalvikvm(15512): ODEX file is stale or bad; removing and retrying (/data/dalvik-cache/[email protected]@[email protected])
D/gps_ril_BRCM( 1390): ril thread received 0 events
D/gps_ril_BRCM( 1390): ril_state_thread, fd < 0, calling timeout_action_add
D/dalvikvm(15512): DexOpt: --- BEGIN 'okhttp.jar' (bootstrap=1) ---
E/dalvikvm(15692): Fatal error: java/lang/Object
E/dalvikvm(15692): VM aborting
F/libc (15692): Fatal signal 6 (SIGABRT) at 0x00003d4c (code=-6), thread 15692 (dexopt)
I/DEBUG ( 1389): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 1389): Build fingerprint: 'Samsung/cm_totoro/totoro:5.1.1/KTU84Q/20150211:userdebug/release-keys'
And so on, and so on, until it fails to load everything and starts all over again.
And yes, if you look at the logs, I am porting a ROM to an obsolete device and no, I don't really care that it's "not gonna work". I just want to fix that dex problem.
What I tried so far:
- cleaning up the rom (did nothing)
- changing up a few libraries that had something to do with "dex" (did nothing, but I might have missed something)
- re-unpacked the frameworks (did nothing)
- re-downloaded the rom then re-unpacked the frameworks (also did nothing)
- downloaded another rom and re-unpacked the frameworks (did nothing, what a waste of bandwidth)
- cleared Dalvik cache (did not do anything, I do that every build alongside with a factory wipe in CWM)
- changed the kernel TWICE (did nothing except for making logcat work (it wasn't working for a few builds))
Anyone got any ideas?
knuxfanwin8 said:
I'm making a CM12.1 ROM port. Every time after compilation, I'm just stuck on the boot screen. My logcat logs always look like this:
And so on, and so on, until it fails to load everything and starts all over again.
And yes, if you look at the logs, I am porting a ROM to an obsolete device and no, I don't really care that it's "not gonna work". I just want to fix that dex problem.
What I tried so far:
- cleaning up the rom (did nothing)
- changing up a few libraries that had something to do with "dex" (did nothing, but I might have missed something)
- re-unpacked the frameworks (did nothing)
- re-downloaded the rom then re-unpacked the frameworks (also did nothing)
- downloaded another rom and re-unpacked the frameworks (did nothing, what a waste of bandwidth)
- cleared Dalvik cache (did not do anything, I do that every build alongside with a factory wipe in CWM)
- changed the kernel TWICE (did nothing except for making logcat work (it wasn't working for a few builds))
Anyone got any ideas?
Click to expand...
Click to collapse
Yeah. You need to Deodex both ROM BASE and PORT BEFORE you build. That is the reason you keep getting dex errors. Use ASSAYYED Kitchen or @superR's Kitchen or similar to accomplish this ?

Categories

Resources