Here I am again, with a guide for compiling your own ROM from source. At the moment, you can compile AOSP using Mac OS Snow Leopard and Ubuntu 64bits.
The following script will allow you to get the proprietary drivers from your phone, download the source itself and compile it. In the end, you'll have recovery.img, system.img, boot.img and userdata.img. I suggest you only flashing the system, boot and userdata, because if you keep the recovery that exists by default, you'll be able to get the official OTA updates.
For Mac OS X Snow Leopard, you'll need to install GIT: http://code.google.com/p/git-osx-installer/
You'll also need to have XCode installed and MacPorts: http://www.macports.org/install.php. XCode you'll find it online at Apple's website or on your Mac's installation DVD. Just make sure you check for updates once you install it, to make sure you are up to date.
After you install MacPorts, you'll need to revert gmake to 3.81, because 3.82 doesn't work for AOSP (for now at least). The problem began when macports updated gmake from 3.81 to 3.82. If you simply did a selfupdate, you can use the simple commands above to reset to gmake 3.81. The more difficult case is seen by anyone who did a fresh install of macports after September 7, 2010 - you'll only have 3.82.
The "InstallingOlderPort" link is fairly generic, but will give you enough clues to resolve this problem. Here are the steps I worked out. Maybe there's a simpler way?
Here's how to downgrade to 3.81:
1. Visit http://trac.macports.org/log/trunk/dports/devel/gmake
2. Click the link that says "@50980" - although it doesn't explicitly say 3.81, this is it
3. Click the link that says "Portfile"
4. Scroll to the bottom and just below "Download in other formats:" click "Original Format"
5. This is subtle but important: If your browser e.g. Chrome renamed it to Portfile.txt, you need to rename it to simply "Portfile"
6. cd to the location of Portfile and $ sudo port install
This should install and configure gmake 3.81, after which:
$ sudo port installed gmake
The following ports are currently installed:
gmake @3.81_0 (active)
gmake @3.82_0
For Ubuntu: sudo apt-get install git
Create a text-only file and place the following content in it. Please edit the SOURCE_FOLDER variable to match to where you want the source code to be stored:
Code:
#!/bin/bash
#Checkout and compile MASTER repositories from source.android.com
SOURCE_FOLDER=/Volumes/AOSP
#Check for Repo
if [ ! -f ~/bin/repo ]
then
cd ~
mkdir bin
curl http://android.git.kernel.org/repo >~/bin/repo
chmod a+x ~/bin/repo
PATH="$HOME/bin:$PATH"
fi
#Create project folder
if [ ! -d $SOURCE_FOLDER ]
then
mkdir $SOURCE_FOLDER
fi
cd $SOURCE_FOLDER
#clean old compiled files, there can be new stuff!
make installclean
make clean
#Get updated source files from AOSP
repo init -u git://android.git.kernel.org/platform/manifest.git -b master
repo sync #update repo's
#extract the proprietary files from Nexus One - connect your phone via USB to the computer
if [ ! -d vendor/htc/passion/proprietary ]
then
cd $SOURCE_FOLDER/device/htc/passion/
./extract-files.sh
fi
#setup compiling environment and build images
cd $SOURCE_FOLDER
. build/envsetup.sh
lunch
make -j4
#get to compiled folder
cd $SOURCE_FOLDER/out/target/product/passion/
echo 'Your files ready for flashing are here:'
ls *.img
In the end, you'll find your files ready to be flashed using fastboot on SOURCE_FOLDER/out/target/product/passion/
If you don't remember where you can get fastboot: http://developer.htc.com/google-io-device.html#s2
To enter fastboot mode on your phone, turn off your phone, press power+trackball until you see a white screen with android skaters on the bottom.
How to use fastboot:
Code:
fastboot flash boot boot.img; fastboot flash system system.img; fastboot flash userdata userdata.img
There are some things that need to be fixed on the source code to have an almost bug free AOSP and I'll add them here later as I don't remember them all from my head.
For those who don't want to go through this trouble, you can flash my own compiled images. There isn't anything else besides the AOSP official code. You can get your contacts, calendar and email using Google's exchange settings:
Where it asks for the domain: google.com\[email protected]
Where it asks for the server: m.google.com
That will bring you push email, contacts and calendar working without any Google Apps required.
[Last update: 6th March 2011]Download it here: http://www.denzilferreira.com/projects/passion-ota-eng.df.zip
----- ADDONS + FIXES FOR LATEST AOSP -----
Facebook Sync + Nexus One build.prop + HD Video Recording: http://forum.xda-developers.com/showpost.php?p=11860795&postcount=93
Fix for Tethering: http://forum.xda-developers.com/showpost.php?p=11808842&postcount=83
Keyboard dictionaries - Thanks to hewitt
I haven't found a better way to add dictionaries to fix predictive typing, but you can pull the dictionaries out of Cyanogenmod and slip them into LatinIME. It's absolutely ridiculous that these files do not already exist in the AOSP.
Code:
git clone https://github.com/CyanogenMod/android_vendor_cyanogen.git
Copy any of the raw language directories from 'android_vendor_cyanogen/overlay/common/packages/inputmethods/LatinIME/java/res/'
(such as raw-en for English or raw-de for German) to your AOSP repo in
'/packages/inputmethods/LatinIME/java/res/'.
Rebuild LatinIME and push it to your phone, then set language with Settings->Language & Keyboard->Android Keyboard->Input Languages. Just select your preferred languages, which should indicate below in small text, "Dictionary available".
vvvvvvvvvvvvv OLD FIXES BELOW, FOR HISTORICAL PURPOSES vvvvvvvvvvvvvvv
{BELOW NOT NEEDED ANYMORE SINCE 2.3.3 OTA DRIVERS}
----- FIXES IN THE SOURCE CODE TO GET IT TO COMPILE AND WORK PROPERLY ------
To fix the RGB_565 problem
Go to frameworks/base/services/surfaceflinger/Android.mk and add:
Code:
ifeq ($(BOARD_NO_RGBX_8888), true)
LOCAL_CFLAGS += -DNO_RGBX_8888
endif
then add BOARD_NO_RGBX_8888 := true to your device vendor board config file
To fix the camera
https://github.com/CyanogenMod/andr...8/services/camera/libcameraservice/Android.mk
and
https://github.com/CyanogenMod/andr...ces/camera/libcameraservice/CameraService.cpp
Then add to the device vendor board config file:
BOARD_USE_FROYO_LIBCAMERA := true
Did you have to make any changes to get the camera working? I pulled the 2.3.1 branch and had to make changes just to get the camera working. How about the camcorder? What ROM/version were you running when you ran the extract_files.sh?
Thanks
clarksonator said:
Did you have to make any changes to get the camera working? I pulled the 2.3.1 branch and had to make changes just to get the camera working. How about the camcorder? What ROM/version were you running when you ran the extract_files.sh?
Thanks
Click to expand...
Click to collapse
I was running the official Froyo 2.2.1, the latest 83D. And yes, I had to make changes to get the camera to work and fix the RGB_565 to RGBA_8888 for the transitions to work properly.
The camcorder doesn't work, it doesn't record a thing, no clue how to fix it yet.
Stupid question, but...will this work on other devices? I'm trying to get into modding and was directed here by overground (from the DInc forums), and see that this is for the N1...which is fine, except that I don't have an N1. If I need to get one, then I'll do that, but I'm just wondering if I just have to make a few modifications here to make this process work for the DInc.
Thanks!
I Get this error
make: *** No rule to make target `installclean'. Stop.
make: *** No rule to make target `clean'. Stop.
./ciao: line 29: repo: command not found
./ciao: line 30: repo: command not found
./ciao: line 35: cd: /Users/luke/Desktop/AOSP/device/htc/passion/: No such file or directory
./ciao: line 36: ./extract-files.sh: No such file or directory
./ciao: line 41: build/envsetup.sh: No such file or directory
./ciao: line 43: lunch: command not found
make: *** No targets specified and no makefile found. Stop.
./ciao: line 47: cd: /Users/luke/Desktop/AOSP/out/target/product/passion/: No such file or directory
Your files ready for flashing are here:
ls: *.img: No such file or directory
Click to expand...
Click to collapse
What dependencies are needed on OSX to compile? (compiler versions and so on), you only mention git here
Thanks for the guide!
Sent from my Nexus One using XDA App
MrNameless said:
I Get this error
Click to expand...
Click to collapse
Hum... apparently it's not finding repo on your system. And also according to the output, it can't find the folder AOSP on your desktop. Change the SOURCE_FOLDER value to ~/Desktop/AOSP if you have that folder there.
Atlas.rouge said:
Stupid question, but...will this work on other devices? I'm trying to get into modding and was directed here by overground (from the DInc forums), and see that this is for the N1...which is fine, except that I don't have an N1. If I need to get one, then I'll do that, but I'm just wondering if I just have to make a few modifications here to make this process work for the DInc.
Thanks!
Click to expand...
Click to collapse
It should work, as long you have the correct vendor files for the Incredible
koudd said:
What dependencies are needed on OSX to compile? (compiler versions and so on), you only mention git here
Click to expand...
Click to collapse
make needs to be 3.81, not 3.82 (the version on MacPorts). I forgot to mention that you'll need macports. I'll update the guide to include it.
dferreira said:
I was running the official Froyo 2.2.1, the latest 83D. And yes, I had to make changes to get the camera to work and fix the RGB_565 to RGBA_8888 for the transitions to work properly.
The camcorder doesn't work, it doesn't record a thing, no clue how to fix it yet.
Click to expand...
Click to collapse
What changes were required to make the camera work and switch to RGBA_8888? I had to enable the CAMERA_STUB to even make it compile.
Also, my OS X 10.6.5 system already has GNU Make 3.81 in /usr/bin/make. Is there something the macports build offers that the built-in doesn't?
dferreira said:
make needs to be 3.81, not 3.82 (the version on MacPorts). I forgot to mention that you'll need macports. I'll update the guide to include it.
Click to expand...
Click to collapse
Yeah, make 3.82 changed enough things that it broke SEVERAL build systems...
But this is an OUTSTANDING Guide! Great Job!
hewitt said:
What changes were required to make the camera work and switch to RGBA_8888? I had to enable the CAMERA_STUB to even make it compile.
Also, my OS X 10.6.5 system already has GNU Make 3.81 in /usr/bin/make. Is there something the macports build offers that the built-in doesn't?
Click to expand...
Click to collapse
To fix the RGB_565 problem
Go to frameworks/base/services/surfaceflinger/Android.mk and add:
Code:
ifeq ($(BOARD_NO_RGBX_8888), true)
LOCAL_CFLAGS += -DNO_RGBX_8888
endif
then add BOARD_NO_RGBX_8888 := true to your device vendor board config file
To fix the camera
https://github.com/CyanogenMod/andr...8/services/camera/libcameraservice/Android.mk
and
https://github.com/CyanogenMod/andr...ces/camera/libcameraservice/CameraService.cpp
Then add to the device vendor board config file:
BOARD_USE_FROYO_LIBCAMERA := true
Excellent. Thank you! Now the compile just gets stuck with qemu.
Code:
host C: emulator <= external/qemu/qemu-char-android.c
external/qemu/qemu-char-android.c: In function ‘qemu_chr_open_pty’:
external/qemu/qemu-char-android.c:1038: warning: implicit declaration of function ‘cfmakeraw’
external/qemu/qemu-char-android.c: In function ‘tty_serial_init’:
external/qemu/qemu-char-android.c:1091: error: ‘B57600’ undeclared (first use in this function)
external/qemu/qemu-char-android.c:1091: error: (Each undeclared identifier is reported only once
external/qemu/qemu-char-android.c:1091: error: for each function it appears in.)
external/qemu/qemu-char-android.c:1092: error: ‘B115200’ undeclared (first use in this function)
external/qemu/qemu-char-android.c:1142: error: ‘CRTSCTS’ undeclared (first use in this function)
external/qemu/qemu-char-android.c: In function ‘unix_process_msgfd’:
external/qemu/qemu-char-android.c:2038: warning: implicit declaration of function ‘CMSG_LEN’
external/qemu/qemu-char-android.c: In function ‘tcp_chr_recv’:
external/qemu/qemu-char-android.c:2060: warning: implicit declaration of function ‘CMSG_SPACE’
make: *** [out/host/darwin-x86/obj/EXECUTABLES/emulator_intermediates/qemu-char-android.o] Error 1
Guess I should just wait a while and sync later? Looks like there are a few qemu commits today.
EDIT: Just renamed qemu's Android.mk file so it would be skipped. AOSP compiles!
After compiling this with your camera fixes, does camera and video recording work or only the camera?
Thanks
clarksonator said:
After compiling this with your camera fixes, does camera and video recording work or only the camera?
Click to expand...
Click to collapse
Only the camera works, not video. The video camera pretends to start working but doesn't actually record anything. If I had to guess, it seems to be a problem with libstagefright, possibly related to the move from opencore.
Code:
V/videocamera( 523): startVideoRecording
V/videocamera( 523): initializeRecorder
V/videocamera( 523): Current camera video filename: /mnt/sdcard/DCIM/Camera/VID_20110106_151902.3gp
I/MediaRecorderJNI( 523): prepare: surface=0x338680 (identity=57)
I/AudioHardwareQSD( 648): Routing audio to Speakerphone
D/AudioHardwareQSD( 648): Switching audio device to
D/AudioHardwareQSD( 648): Speakerphone
D/AudioHardwareQSD( 648): AudioHardware PCM record is going to standby.
E/StagefrightRecorder( 648): Failed to set frame rate to 27 fps. The actual frame rate is 15
F/CameraSource( 648): frameworks/base/media/libstagefright/CameraSource.cpp:152 colorFormatStr != NULL
I/AudioHardwareQSD( 648): Routing audio to Speakerphone
D/AudioHardwareQSD( 648): Switching audio device to
D/AudioHardwareQSD( 648): Speakerphone
D/AudioHardwareQSD( 648): AudioHardware PCM record is going to standby.
I/DEBUG ( 65): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 65): Build fingerprint: 'unknown'
I/DEBUG ( 65): pid: 648, tid: 689 >>> /system/bin/mediaserver <<<
I/DEBUG ( 65): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadbaad
I/DEBUG ( 65): r0 00000027 r1 deadbaad r2 80000000 r3 00000000
I/DEBUG ( 65): r4 00000001 r5 00000000 r6 40a18c5c r7 000476f0
I/DEBUG ( 65): r8 40a18c5c r9 40a18c7c 10 fffff620 fp 00000000
I/DEBUG ( 65): ip afd465f8 sp 40a18810 lr afd19059 pc afd15b2c cpsr 60000030
I/DEBUG ( 65): d0 203d21207274534e d1 6964656d2f657355
I/DEBUG ( 65): d2 61747362696c2f4c d3 746867697266654c
I/DEBUG ( 65): d4 536172656d61432f d5 70632e656372756f
I/DEBUG ( 65): d6 6f63203235313a70 d7 616d726f46726f6c
I/DEBUG ( 65): d8 0000272a0000020b d9 0000000000000000
I/DEBUG ( 65): d10 0000000000000000 d11 0000000000000000
I/DEBUG ( 65): d12 0000000000000000 d13 0000000000000000
I/DEBUG ( 65): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 65): d16 0000000000000000 d17 3ff0000000000000
I/DEBUG ( 65): d18 7e37e43c8800759c d19 3fe000000112a880
I/DEBUG ( 65): d20 0000000000000000 d21 0000000000000000
I/DEBUG ( 65): d22 0000000000000000 d23 0000000000000000
I/DEBUG ( 65): d24 0000000000000000 d25 0000000000000000
I/DEBUG ( 65): d26 0000000000000000 d27 0000000000000000
I/DEBUG ( 65): d28 0000000000000000 d29 0000000000000000
I/DEBUG ( 65): d30 0000000000000000 d31 0000000000000000
I/DEBUG ( 65): scr 20000010
I/DEBUG ( 65):
I/DEBUG ( 65): #00 pc 00015b2c /system/lib/libc.so
I/DEBUG ( 65): #01 pc 0000145e /system/lib/liblog.so (__android_log_assert)
I/DEBUG ( 65): #02 pc 0004b52e /system/lib/libstagefright.so (_ZN7android12CameraSourceC1ERKNS_2spINS_6CameraEEE)
I/DEBUG ( 65):
I/DEBUG ( 65): code around pc:
I/DEBUG ( 65): afd15b0c 2c006824 e028d1fb b13368db c064f8df
I/DEBUG ( 65): afd15b1c 44fc2401 4000f8cc 49124798 25002027
I/DEBUG ( 65): afd15b2c f7f57008 2106eb40 ec9cf7f6 460aa901
I/DEBUG ( 65): afd15b3c f04f2006 95015380 95029303 e802f7f6
I/DEBUG ( 65): afd15b4c 462aa905 f7f62002 f7f5e80e 2106eb2c
I/DEBUG ( 65):
I/DEBUG ( 65): code around lr:
I/DEBUG ( 65): afd19038 4a0e4b0d e92d447b 589c41f0 26004680
I/DEBUG ( 65): afd19048 686768a5 f9b5e006 b113300c 47c04628
I/DEBUG ( 65): afd19058 35544306 37fff117 6824d5f5 d1ef2c00
I/DEBUG ( 65): afd19068 e8bd4630 bf0081f0 000284b8 ffffffac
I/DEBUG ( 65): afd19078 b086b570 f602fb01 9004460c a804a901
I/DEBUG ( 65):
I/DEBUG ( 65): stack:
I/DEBUG ( 65): 40a187d0 afd4262c
I/DEBUG ( 65): 40a187d4 00047718
I/DEBUG ( 65): 40a187d8 00000470
I/DEBUG ( 65): 40a187dc afd18129 /system/lib/libc.so
I/DEBUG ( 65): 40a187e0 afd425cc
I/DEBUG ( 65): 40a187e4 afd467bc
I/DEBUG ( 65): 40a187e8 00000000
I/DEBUG ( 65): 40a187ec afd19059 /system/lib/libc.so
I/DEBUG ( 65): 40a187f0 00000001
I/DEBUG ( 65): 40a187f4 40a18824
I/DEBUG ( 65): 40a187f8 40a18c5c
I/DEBUG ( 65): 40a187fc 000476f0
I/DEBUG ( 65): 40a18800 40a18c5c
I/DEBUG ( 65): 40a18804 afd1837b /system/lib/libc.so
I/DEBUG ( 65): 40a18808 df002777
I/DEBUG ( 65): 40a1880c e3a070ad
I/DEBUG ( 65): #00 40a18810 40a1880c
I/DEBUG ( 65): 40a18814 00000001
I/DEBUG ( 65): 40a18818 a3035b03 /system/lib/libstagefright.so
I/DEBUG ( 65): 40a1881c 0000000d
I/DEBUG ( 65): 40a18820 40a1883c
I/DEBUG ( 65): 40a18824 fffffbdf
I/DEBUG ( 65): 40a18828 a3035b03 /system/lib/libstagefright.so
I/DEBUG ( 65): 40a1882c a3035b03 /system/lib/libstagefright.so
I/DEBUG ( 65): 40a18830 40a18840
I/DEBUG ( 65): 40a18834 afa01461 /system/lib/liblog.so
I/DEBUG ( 65): #01 40a18838 40a18c54
I/DEBUG ( 65): 40a1883c 6d617266
I/DEBUG ( 65): 40a18840 726f7765
I/DEBUG ( 65): 40a18844 622f736b
I/DEBUG ( 65): 40a18848 2f657361
I/DEBUG ( 65): 40a1884c 6964656d
I/DEBUG ( 65): 40a18850 696c2f61
I/DEBUG ( 65): 40a18854 61747362
I/DEBUG ( 65): 40a18858 72666567
I/DEBUG ( 65): 40a1885c 74686769
I/DEBUG ( 65): 40a18860 6d61432f
I/DEBUG ( 65): 40a18864 53617265
I/DEBUG ( 65): 40a18868 6372756f
I/DEBUG ( 65): 40a1886c 70632e65
I/DEBUG ( 65): 40a18870 35313a70
I/DEBUG ( 65): 40a18874 6f632032
I/DEBUG ( 65): 40a18878 46726f6c
I/DEBUG ( 65): 40a1887c 616d726f
I/DEBUG ( 65): 40a18880 72745374
I/DEBUG ( 65): 40a18884 203d2120
I/DEBUG ( 65): 40a18888 4c4c554e
I/DEBUG ( 65): 40a1888c afd1a600 /system/lib/libc.so
I/DEBUG ( 65): 40a18890 40a18b9c
I/DEBUG ( 65): 40a18894 afd1b9ed /system/lib/libc.so
I/DEBUG ( 65): 40a18898 00000000
I/DEBUG ( 65): 40a1889c 00000004
I/DEBUG ( 65): 40a188a0 00000000
I/DEBUG ( 65): 40a188a4 00000003
I/DEBUG ( 65): 40a188a8 fffffffd
I/DEBUG ( 65): 40a188ac aba8f47d /system/lib/libcamera_client.so
I/DEBUG ( 65): 40a188b0 00000000
I/DEBUG ( 65): 40a188b4 00000001
I/DEBUG ( 65): 40a188b8 ffffffff
I/DEBUG ( 65): 40a188bc aba8f47d /system/lib/libcamera_client.so
I/DEBUG ( 65): 40a188c0 00000000
I/DEBUG ( 65): 40a188c4 00000000
I/DEBUG ( 65): 40a188c8 00000001
I/DEBUG ( 65): 40a188cc 40a1898f
I/DEBUG ( 65): 40a188d0 aba8f47b /system/lib/libcamera_client.so
I/DEBUG ( 65): 40a188d4 afd414f8
I/DEBUG ( 65): 40a188d8 00000000
I/DEBUG ( 65): 40a188dc 00000000
I/DEBUG ( 65): 40a188e0 afd4156c
I/DEBUG ( 65): 40a188e4 000201d6
I/DEBUG ( 65): 40a188e8 afd4156c
I/DEBUG ( 65): 40a188ec afd4156c
I/DEBUG ( 65): 40a188f0 00000002
I/DEBUG ( 65): 40a188f4 40a18aeb
I/DEBUG ( 65): 40a188f8 00000001
I/DEBUG ( 65): 40a188fc afd1a6eb /system/lib/libc.so
I/DEBUG ( 65): 40a18900 afd414f8
I/DEBUG ( 65): 40a18904 40a18988
I/DEBUG ( 65): 40a18908 0000000b
I/DEBUG ( 65): 40a1890c 00000000
I/DEBUG ( 65): 40a18910 00000000
I/DEBUG ( 65): 40a18914 0000019f
I/DEBUG ( 65): 40a18918 000021b6
I/DEBUG ( 65): 40a1891c 00000001
I/DEBUG ( 65): 40a18920 00000000
I/DEBUG ( 65): 40a18924 00000000
I/DEBUG ( 65): 40a18928 00000103
I/DEBUG ( 65): 40a1892c 00000000
I/DEBUG ( 65): 40a18930 afd4d598
I/DEBUG ( 65): 40a18934 afd248e3 /system/lib/libc.so
I/DEBUG ( 65): 40a18938 afd4d598
I/DEBUG ( 65): 40a1893c afd25fe1 /system/lib/libc.so
I/DEBUG ( 65): 40a18940 00000001
I/DEBUG ( 65): 40a18944 40a18954
I/DEBUG ( 65): 40a18948 afd16dc3 /system/lib/libc.so
I/DEBUG ( 65): 40a1894c 00005401
I/DEBUG ( 65): 40a18950 40a18958
I/DEBUG ( 65): 40a18954 afd414f8
I/DEBUG ( 65): 40a18958 afd414f8
I/DEBUG ( 65): 40a1895c afd1c897 /system/lib/libc.so
I/DEBUG ( 65): 40a18960 afd1836d /system/lib/libc.so
I/DEBUG ( 65): 40a18964 afd46598
I/DEBUG ( 65): 40a18968 00000000
I/DEBUG ( 65): 40a1896c afd4262c
I/DEBUG ( 65): 40a18970 00047b86
I/DEBUG ( 65): 40a18974 afd18f35 /system/lib/libc.so
I/DEBUG ( 65): 40a18978 afd4262c
I/DEBUG ( 65): 40a1897c 40a18a6c
I/DEBUG ( 65): 40a18980 00000470
I/DEBUG ( 65): 40a18984 40a18a6c
I/DEBUG ( 65): 40a18988 00000002
I/DEBUG ( 65): 40a1898c a3035c93 /system/lib/libstagefright.so
I/DEBUG ( 65): 40a18990 40a18a14
I/DEBUG ( 65): 40a18994 afd4262c
I/DEBUG ( 65): 40a18998 00000002
I/DEBUG ( 65): 40a1899c ffffffff
I/DEBUG ( 65): 40a189a0 00000000
I/DEBUG ( 65): 40a189a4 afd1a6eb /system/lib/libc.so
I/DEBUG ( 65): 40a189a8 00000002
I/DEBUG ( 65): 40a189ac afd1ba19 /system/lib/libc.so
I/DEBUG ( 65): 40a189b0 00100000
I/DEBUG ( 65): 40a189b4 40a189b4
I/DEBUG ( 65): 40a189b8 a8213bed /system/lib/libbinder.so
I/DEBUG ( 65): 40a189bc 40a1895c
I/DEBUG ( 65): 40a189c0 00000000
I/DEBUG ( 65): 40a189c4 00000073
I/DEBUG ( 65): 40a189c8 00000000
I/DEBUG ( 65): 40a189cc 00000465
I/DEBUG ( 65): 40a189d0 fffffb9b
I/DEBUG ( 65): 40a189d4 a3035c91 /system/lib/libstagefright.so
I/DEBUG ( 65): 40a189d8 00000000
I/DEBUG ( 65): 40a189dc 00000000
I/DEBUG ( 65): 40a189e0 00000470
I/DEBUG ( 65): 40a189e4 40a18aa7
I/DEBUG ( 65): 40a189e8 a3035c86 /system/lib/libstagefright.so
I/DEBUG ( 65): 40a189ec afd414f8
I/DEBUG ( 65): 40a189f0 00000000
I/DEBUG ( 65): 40a189f4 00000000
I/DEBUG ( 65): 40a189f8 00000000
I/DEBUG ( 65): 40a189fc 000201d6
I/DEBUG ( 65): 40a18a00 afd4156c
I/DEBUG ( 65): 40a18a04 afd4156c
I/DEBUG ( 65): 40a18a08 0000001b
I/DEBUG ( 65): 40a18a0c a3035c91 /system/lib/libstagefright.so
I/DEBUG ( 65): 40a18a10 00000002
I/DEBUG ( 65): 40a18a14 00046f70
I/DEBUG ( 65): 40a18a18 00000465
I/DEBUG ( 65): 40a18a1c 000460a0
I/DEBUG ( 65): 40a18a20 00046094
I/DEBUG ( 65): 40a18a24 000460a0
I/DEBUG ( 65): 40a18a28 00046040
I/DEBUG ( 65): 40a18a2c a8114b77 /system/lib/libutils.so
I/DEBUG ( 65): 40a18a30 00046038
I/DEBUG ( 65): 40a18a34 00046050
I/DEBUG ( 65): 40a18a38 00046038
I/DEBUG ( 65): 40a18a3c 00046050
I/DEBUG ( 65): 40a18a40 00046138
I/DEBUG ( 65): 40a18a44 00046148
I/DEBUG ( 65): 40a18a48 0000ba80
I/DEBUG ( 65): 40a18a4c 40a18a84
I/DEBUG ( 65): 40a18a50 40a18a84
I/DEBUG ( 65): 40a18a54 a8114b9d /system/lib/libutils.so
I/DEBUG ( 65): 40a18a58 0000ba70
I/DEBUG ( 65): 40a18a5c 0000ba80
I/DEBUG ( 65): 40a18a60 40a18a84
I/DEBUG ( 65): 40a18a64 a8114cbb /system/lib/libutils.so
I/DEBUG ( 65): 40a18a68 40a18a84
I/DEBUG ( 65): 40a18a6c 40a18a0c
I/DEBUG ( 65): 40a18a70 00000000
I/DEBUG ( 65): 40a18a74 00000000
I/DEBUG ( 65): 40a18a78 40a18bc8
I/DEBUG ( 65): 40a18a7c a821a831 /system/lib/libbinder.so
I/DEBUG ( 65): 40a18a80 40a18bc8
I/DEBUG ( 65): 40a18a84 0000ba20
I/DEBUG ( 65): 40a18a88 00000000
I/DEBUG ( 65): 40a18a8c 40a18bc8
I/DEBUG ( 65): 40a18a90 40a18c4c
I/DEBUG ( 65): 40a18a94 00000001
I/DEBUG ( 65): 40a18a98 00000000
I/DEBUG ( 65): 40a18a9c a821a855 /system/lib/libbinder.so
I/DEBUG ( 65): 40a18aa0 0000000c
I/DEBUG ( 65): 40a18aa4 00000001
I/DEBUG ( 65): 40a18aa8 0000021c
I/DEBUG ( 65): 40a18aac 00000001
I/DEBUG ( 65): 40a18ab0 0000122c
I/DEBUG ( 65): 40a18ab4 00000001
I/DEBUG ( 65): 40a18ab8 00045038
I/DEBUG ( 65): 40a18abc 0000a000
I/DEBUG ( 65): 40a18ac0 0000122c
I/DEBUG ( 65): 40a18ac4 00000001
I/DEBUG ( 65): 40a18ac8 00045070
I/DEBUG ( 65): 40a18acc 0000a000
I/DEBUG ( 65): 40a18ad0 00014a68
I/DEBUG ( 65): 40a18ad4 00000000
I/DEBUG ( 65): 40a18ad8 0001ba50
I/DEBUG ( 65): 40a18adc a8119edd /system/lib/libutils.so
I/DEBUG ( 65): 40a18ae0 0001ba50
I/DEBUG ( 65): 40a18ae4 00000000
I/DEBUG ( 65): 40a18ae8 0001ba50
I/DEBUG ( 65): 40a18aec a811aeeb /system/lib/libutils.so
I/DEBUG ( 65): 40a18af0 0001ba50
I/DEBUG ( 65): 40a18af4 aba8c63d /system/lib/libcamera_client.so
I/DEBUG ( 65): 40a18af8 0001ba54
I/DEBUG ( 65): 40a18afc 40a18b68
I/DEBUG ( 65): 40a18b00 00000001
I/DEBUG ( 65): 40a18b04 a8119f0f /system/lib/libutils.so
I/DEBUG ( 65): 40a18b08 0001ba54
I/DEBUG ( 65): 40a18b0c a811b397 /system/lib/libutils.so
I/DEBUG ( 65): 40a18b10 0001ba50
I/DEBUG ( 65): 40a18b14 aba8c8cb /system/lib/libcamera_client.so
I/DEBUG ( 65): 40a18b18 40a18b68
I/DEBUG ( 65): 40a18b1c 0001ba50
I/DEBUG ( 65): 40a18b20 afd4650c
I/DEBUG ( 65): 40a18b24 00000648
I/DEBUG ( 65): 40a18b28 00000022
I/DEBUG ( 65): 40a18b2c 00000020
I/DEBUG ( 65): 40a18b30 00047af8
I/DEBUG ( 65): 40a18b34 000017e8
I/DEBUG ( 65): 40a18b38 000492c0
I/DEBUG ( 65): 40a18b3c 0000a000
I/DEBUG ( 65): 40a18b40 00047b88
I/DEBUG ( 65): 40a18b44 000017e8
I/DEBUG ( 65): 40a18b48 000492c0
I/DEBUG ( 65): 40a18b4c 0000a000
I/DEBUG ( 65): 40a18b50 000474a4
I/DEBUG ( 65): 40a18b54 00048c20
I/DEBUG ( 65): 40a18b58 00022a00
I/DEBUG ( 65): 40a18b5c 00000001
I/DEBUG ( 65): 40a18b60 00048b60
I/DEBUG ( 65): 40a18b64 0000a000
I/DEBUG ( 65): 40a18b68 00000001
I/DEBUG ( 65): 40a18b6c 40a18c7c
I/DEBUG ( 65): 40a18b70 fffff620
I/DEBUG ( 65): 40a18b74 afd1333d /system/lib/libc.so
I/DEBUG ( 65): 40a18b78 00000000
I/DEBUG ( 65): 40a18b7c 40a18c5c
I/DEBUG ( 65): 40a18b80 00000001
I/DEBUG ( 65): 40a18b84 000473f0
I/DEBUG ( 65): 40a18b88 0004750c
I/DEBUG ( 65): 40a18b8c 40a18bf8
I/DEBUG ( 65): 40a18b90 00000001
I/DEBUG ( 65): 40a18b94 a8119f0f /system/lib/libutils.so
I/DEBUG ( 65): 40a18b98 0004750c
I/DEBUG ( 65): 40a18b9c a811b397 /system/lib/libutils.so
I/DEBUG ( 65): 40a18ba0 00047508
I/DEBUG ( 65): 40a18ba4 a2f47f63 /system/lib/libstagefright.so
I/DEBUG ( 65): 40a18ba8 40a18bf8
I/DEBUG ( 65): 40a18bac 00047508
I/DEBUG ( 65): 40a18bb0 00000001
I/DEBUG ( 65): 40a18bb4 a2f47ff7 /system/lib/libstagefright.so
I/DEBUG ( 65): 40a18bb8 40a18c5c
I/DEBUG ( 65): 40a18bbc 00000023
I/DEBUG ( 65): 40a18bc0 00049410
I/DEBUG ( 65): 40a18bc4 a2f47f3d /system/lib/libstagefright.so
I/DEBUG ( 65): 40a18bc8 00049410
I/DEBUG ( 65): 40a18bcc a2f47f3d /system/lib/libstagefright.so
I/DEBUG ( 65): 40a18bd0 00000012
I/DEBUG ( 65): 40a18bd4 40a18c5c
I/DEBUG ( 65): 40a18bd8 00049410
I/DEBUG ( 65): 40a18bdc a2f47f3d /system/lib/libstagefright.so
I/DEBUG ( 65): 40a18be0 0000001e
I/DEBUG ( 65): 40a18be4 40a18c5c
I/DEBUG ( 65): 40a18be8 00000000
I/DEBUG ( 65): 40a18bec 00000be0
I/DEBUG ( 65): 40a18bf0 00049420
I/DEBUG ( 65): 40a18bf4 0000a000
I/DEBUG ( 65): 40a18bf8 40a18c5c
I/DEBUG ( 65): 40a18bfc 40a18c7c
I/DEBUG ( 65): 40a18c00 fffff620
I/DEBUG ( 65): 40a18c04 afd1333d /system/lib/libc.so
I/DEBUG ( 65): 40a18c08 00049400
I/DEBUG ( 65): 40a18c0c 00000000
I/DEBUG ( 65): 40a18c10 40a18c5c
I/DEBUG ( 65): 40a18c14 000476f0
I/DEBUG ( 65): 40a18c18 0000a008
I/DEBUG ( 65): 40a18c1c 00000000
I/DEBUG ( 65): 40a18c20 40a18c5c
I/DEBUG ( 65): 40a18c24 a8119edd /system/lib/libutils.so
I/DEBUG ( 65): 40a18c28 40a18c44
I/DEBUG ( 65): 40a18c2c 40a18c44
I/DEBUG ( 65): 40a18c30 40a18c5c
I/DEBUG ( 65): 40a18c34 a811aeeb /system/lib/libutils.so
I/DEBUG ( 65): 40a18c38 00000000
I/DEBUG ( 65): 40a18c3c 5e57e6e4
I/DEBUG ( 65): 40a18c40 00049410
I/DEBUG ( 65): 40a18c44 00047668
I/DEBUG ( 65): 40a18c48 a305c964
I/DEBUG ( 65): 40a18c4c a2f4b531 /system/lib/libstagefright.so
I/DEBUG ( 65): 40a18c50 a3035cb0 /system/lib/libstagefright.so
I/DEBUG ( 65): 40a18c54 0000000a
I/DEBUG ( 65): debuggerd committing suicide to free the zombie!
I/DEBUG ( 750): debuggerd: Jan 6 2011 14:13:13
W/AudioSystem( 523): AudioFlinger server died!
W/MediaMetadataRetriever( 523): MediaMetadataRetriever server died!
W/IMediaDeathNotifier( 523): media server died
W/Camera ( 523): Camera server died!
W/AudioSystem( 523): AudioPolicyService server died!
W/Camera ( 523): ICamera died
W/AudioSystem( 104): AudioFlinger server died!
W/AudioSystem( 104): AudioPolicyService server died!
I/ServiceManager( 62): service 'media.audio_flinger' died
I/ServiceManager( 62): service 'media.player' died
I/ServiceManager( 62): service 'media.camera' died
I/ServiceManager( 62): service 'media.audio_policy' died
E/Camera ( 523): Error 100
V/camera ( 523): media server died
W/MediaMetadataRetriever( 393): MediaMetadataRetriever server died!
I/ ( 752): ServiceManager: 0xaf28
D/AudioHardwareQSD( 752): open /system/etc/vpimg success
D/AudioHardwareQSD( 752): Firmware /system/etc/vpimg size 27612
D/AudioHardwareQSD( 752): Total 27612 bytes put to user space buffer.
E/AudioService( 104): Media server died.
I/ServiceManager( 104): Waiting for service media.audio_flinger...
V/videocamera( 523): stopVideoRecording
V/videocamera( 523): Setting current video filename: /mnt/sdcard/DCIM/Camera/VID_20110106_151902.3gp
V/videocamera( 523): Current video URI: content://media/external/video/media/4
V/videocamera( 523): Releasing media recorder.
Wireless tethering also seems broken. Pretty sure I had compiled a build where it was working before...
Code:
I/ActivityManager( 97): Starting: Intent { act=android.intent.action.MAIN cmp=com.android.settings/.WirelessSettings } from pid 247
V/NFC ( 247): this device does not have NFC support
I/ActivityManager( 97): Displayed com.android.settings/.WirelessSettings: +415ms
I/ActivityManager( 97): Starting: Intent { act=android.intent.action.MAIN cmp=com.android.settings/.TetherSettings } from pid 247
D/AndroidRuntime( 247): Shutting down VM
W/dalvikvm( 247): threadid=1: thread exiting with uncaught exception (group=0x40015560)
D/dalvikvm( 247): GC_CONCURRENT freed 321K, 51% free 2904K/5831K, external 2137K/2137K, paused 3ms+3ms
E/AndroidRuntime( 247): FATAL EXCEPTION: main
E/AndroidRuntime( 247): java.lang.RuntimeException: Unable to resume activity {com.android.settings/com.android.settings.TetherSettings}: java.lang.ClassCastException: [Ljava.lang.Object;
E/AndroidRuntime( 247): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2095)
E/AndroidRuntime( 247): at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2110)
E/AndroidRuntime( 247): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1643)
E/AndroidRuntime( 247): at android.app.ActivityThread.access$1500(ActivityThread.java:117)
E/AndroidRuntime( 247): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:928)
E/AndroidRuntime( 247): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 247): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 247): at android.app.ActivityThread.main(ActivityThread.java:3647)
E/AndroidRuntime( 247): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 247): at java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime( 247): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
E/AndroidRuntime( 247): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
E/AndroidRuntime( 247): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 247): Caused by: java.lang.ClassCastException: [Ljava.lang.Object;
E/AndroidRuntime( 247): at com.android.settings.TetherSettings$TetherChangeReceiver.onReceive(TetherSettings.java:160)
E/AndroidRuntime( 247): at com.android.settings.TetherSettings.onResume(TetherSettings.java:183)
E/AndroidRuntime( 247): at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1149)
E/AndroidRuntime( 247): at android.app.Activity.performResume(Activity.java:3833)
E/AndroidRuntime( 247): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2085)
E/AndroidRuntime( 247): ... 12 more
W/ActivityManager( 97): Force finishing activity com.android.settings/.TetherSettings
W/ActivityManager( 97): Force finishing activity com.android.settings/.WirelessSettings
W/ActivityManager( 97): Activity pause timeout for HistoryRecord{4075a010 com.android.settings/.TetherSettings}
I/Process ( 247): Sending signal. PID: 247 SIG: 9
I/ActivityManager( 97): Process com.android.settings (pid 247) has died.
I/WindowManager( 97): WIN DEATH: Window{406a2c00 com.android.settings/com.android.settings.WirelessSettings paused=true}
I/WindowManager( 97): WIN DEATH: Window{40843ec8 com.android.settings/com.android.settings.Settings paused=false}
dferreira said:
It should work, as long you have the correct vendor files for the Incredible
Click to expand...
Click to collapse
When you say "vendor files", you mean market files, right? Sorry, new to this, I'm going to have a lot of questions initially I'm sure... lol.
Sent from my HTC Incredible running Carbonite Red 1.5.
Atlas.rouge said:
When you say "vendor files", you mean market files, right? Sorry, new to this, I'm going to have a lot of questions initially I'm sure... lol.
Sent from my HTC Incredible running Carbonite Red 1.5.
Click to expand...
Click to collapse
No, what I mean is the proprietary files on your phone. I'm pretty sure you get a list of the files from Cyanogen's github try to download his incredible folder inside vendor.
hewitt said:
Only the camera works, not video. The video camera pretends to start working but doesn't actually record anything. If I had to guess, it seems to be a problem with libstagefright, possibly related to the move from opencore.
Code:
V/videocamera( 523): startVideoRecording
V/videocamera( 523): initializeRecorder
V/videocamera( 523): Current camera video filename: /mnt/sdcard/DCIM/Camera/VID_20110106_151902.3gp
I/MediaRecorderJNI( 523): prepare: surface=0x338680 (identity=57)
I/AudioHardwareQSD( 648): Routing audio to Speakerphone
D/AudioHardwareQSD( 648): Switching audio device to
D/AudioHardwareQSD( 648): Speakerphone
D/AudioHardwareQSD( 648): AudioHardware PCM record is going to standby.
E/StagefrightRecorder( 648): Failed to set frame rate to 27 fps. The actual frame rate is 15
F/CameraSource( 648): frameworks/base/media/libstagefright/CameraSource.cpp:152 colorFormatStr != NULL
I/AudioHardwareQSD( 648): Routing audio to Speakerphone
D/AudioHardwareQSD( 648): Switching audio device to
D/AudioHardwareQSD( 648): Speakerphone
D/AudioHardwareQSD( 648): AudioHardware PCM record is going to standby.
I/DEBUG ( 65): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 65): Build fingerprint: 'unknown'
I/DEBUG ( 65): pid: 648, tid: 689 >>> /system/bin/mediaserver <<<
I/DEBUG ( 65): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadbaad
I/DEBUG ( 65): r0 00000027 r1 deadbaad r2 80000000 r3 00000000
I/DEBUG ( 65): r4 00000001 r5 00000000 r6 40a18c5c r7 000476f0
I/DEBUG ( 65): r8 40a18c5c r9 40a18c7c 10 fffff620 fp 00000000
I/DEBUG ( 65): ip afd465f8 sp 40a18810 lr afd19059 pc afd15b2c cpsr 60000030
I/DEBUG ( 65): d0 203d21207274534e d1 6964656d2f657355
I/DEBUG ( 65): d2 61747362696c2f4c d3 746867697266654c
I/DEBUG ( 65): d4 536172656d61432f d5 70632e656372756f
I/DEBUG ( 65): d6 6f63203235313a70 d7 616d726f46726f6c
I/DEBUG ( 65): d8 0000272a0000020b d9 0000000000000000
I/DEBUG ( 65): d10 0000000000000000 d11 0000000000000000
I/DEBUG ( 65): d12 0000000000000000 d13 0000000000000000
I/DEBUG ( 65): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 65): d16 0000000000000000 d17 3ff0000000000000
I/DEBUG ( 65): d18 7e37e43c8800759c d19 3fe000000112a880
I/DEBUG ( 65): d20 0000000000000000 d21 0000000000000000
I/DEBUG ( 65): d22 0000000000000000 d23 0000000000000000
I/DEBUG ( 65): d24 0000000000000000 d25 0000000000000000
I/DEBUG ( 65): d26 0000000000000000 d27 0000000000000000
I/DEBUG ( 65): d28 0000000000000000 d29 0000000000000000
I/DEBUG ( 65): d30 0000000000000000 d31 0000000000000000
I/DEBUG ( 65): scr 20000010
I/DEBUG ( 65):
I/DEBUG ( 65): #00 pc 00015b2c /system/lib/libc.so
I/DEBUG ( 65): #01 pc 0000145e /system/lib/liblog.so (__android_log_assert)
I/DEBUG ( 65): #02 pc 0004b52e /system/lib/libstagefright.so (_ZN7android12CameraSourceC1ERKNS_2spINS_6CameraEEE)
I/DEBUG ( 65):
I/DEBUG ( 65): code around pc:
I/DEBUG ( 65): afd15b0c 2c006824 e028d1fb b13368db c064f8df
I/DEBUG ( 65): afd15b1c 44fc2401 4000f8cc 49124798 25002027
I/DEBUG ( 65): afd15b2c f7f57008 2106eb40 ec9cf7f6 460aa901
I/DEBUG ( 65): afd15b3c f04f2006 95015380 95029303 e802f7f6
I/DEBUG ( 65): afd15b4c 462aa905 f7f62002 f7f5e80e 2106eb2c
I/DEBUG ( 65):
I/DEBUG ( 65): code around lr:
I/DEBUG ( 65): afd19038 4a0e4b0d e92d447b 589c41f0 26004680
I/DEBUG ( 65): afd19048 686768a5 f9b5e006 b113300c 47c04628
I/DEBUG ( 65): afd19058 35544306 37fff117 6824d5f5 d1ef2c00
I/DEBUG ( 65): afd19068 e8bd4630 bf0081f0 000284b8 ffffffac
I/DEBUG ( 65): afd19078 b086b570 f602fb01 9004460c a804a901
I/DEBUG ( 65):
I/DEBUG ( 65): stack:
I/DEBUG ( 65): 40a187d0 afd4262c
I/DEBUG ( 65): 40a187d4 00047718
I/DEBUG ( 65): 40a187d8 00000470
I/DEBUG ( 65): 40a187dc afd18129 /system/lib/libc.so
I/DEBUG ( 65): 40a187e0 afd425cc
I/DEBUG ( 65): 40a187e4 afd467bc
I/DEBUG ( 65): 40a187e8 00000000
I/DEBUG ( 65): 40a187ec afd19059 /system/lib/libc.so
I/DEBUG ( 65): 40a187f0 00000001
I/DEBUG ( 65): 40a187f4 40a18824
I/DEBUG ( 65): 40a187f8 40a18c5c
I/DEBUG ( 65): 40a187fc 000476f0
I/DEBUG ( 65): 40a18800 40a18c5c
I/DEBUG ( 65): 40a18804 afd1837b /system/lib/libc.so
I/DEBUG ( 65): 40a18808 df002777
I/DEBUG ( 65): 40a1880c e3a070ad
I/DEBUG ( 65): #00 40a18810 40a1880c
I/DEBUG ( 65): 40a18814 00000001
I/DEBUG ( 65): 40a18818 a3035b03 /system/lib/libstagefright.so
I/DEBUG ( 65): 40a1881c 0000000d
I/DEBUG ( 65): 40a18820 40a1883c
I/DEBUG ( 65): 40a18824 fffffbdf
I/DEBUG ( 65): 40a18828 a3035b03 /system/lib/libstagefright.so
I/DEBUG ( 65): 40a1882c a3035b03 /system/lib/libstagefright.so
I/DEBUG ( 65): 40a18830 40a18840
I/DEBUG ( 65): 40a18834 afa01461 /system/lib/liblog.so
I/DEBUG ( 65): #01 40a18838 40a18c54
I/DEBUG ( 65): 40a1883c 6d617266
I/DEBUG ( 65): 40a18840 726f7765
I/DEBUG ( 65): 40a18844 622f736b
I/DEBUG ( 65): 40a18848 2f657361
I/DEBUG ( 65): 40a1884c 6964656d
I/DEBUG ( 65): 40a18850 696c2f61
I/DEBUG ( 65): 40a18854 61747362
I/DEBUG ( 65): 40a18858 72666567
I/DEBUG ( 65): 40a1885c 74686769
I/DEBUG ( 65): 40a18860 6d61432f
I/DEBUG ( 65): 40a18864 53617265
I/DEBUG ( 65): 40a18868 6372756f
I/DEBUG ( 65): 40a1886c 70632e65
I/DEBUG ( 65): 40a18870 35313a70
I/DEBUG ( 65): 40a18874 6f632032
I/DEBUG ( 65): 40a18878 46726f6c
I/DEBUG ( 65): 40a1887c 616d726f
I/DEBUG ( 65): 40a18880 72745374
I/DEBUG ( 65): 40a18884 203d2120
I/DEBUG ( 65): 40a18888 4c4c554e
I/DEBUG ( 65): 40a1888c afd1a600 /system/lib/libc.so
I/DEBUG ( 65): 40a18890 40a18b9c
I/DEBUG ( 65): 40a18894 afd1b9ed /system/lib/libc.so
I/DEBUG ( 65): 40a18898 00000000
I/DEBUG ( 65): 40a1889c 00000004
I/DEBUG ( 65): 40a188a0 00000000
I/DEBUG ( 65): 40a188a4 00000003
I/DEBUG ( 65): 40a188a8 fffffffd
I/DEBUG ( 65): 40a188ac aba8f47d /system/lib/libcamera_client.so
I/DEBUG ( 65): 40a188b0 00000000
I/DEBUG ( 65): 40a188b4 00000001
I/DEBUG ( 65): 40a188b8 ffffffff
I/DEBUG ( 65): 40a188bc aba8f47d /system/lib/libcamera_client.so
I/DEBUG ( 65): 40a188c0 00000000
I/DEBUG ( 65): 40a188c4 00000000
I/DEBUG ( 65): 40a188c8 00000001
I/DEBUG ( 65): 40a188cc 40a1898f
I/DEBUG ( 65): 40a188d0 aba8f47b /system/lib/libcamera_client.so
I/DEBUG ( 65): 40a188d4 afd414f8
I/DEBUG ( 65): 40a188d8 00000000
I/DEBUG ( 65): 40a188dc 00000000
I/DEBUG ( 65): 40a188e0 afd4156c
I/DEBUG ( 65): 40a188e4 000201d6
I/DEBUG ( 65): 40a188e8 afd4156c
I/DEBUG ( 65): 40a188ec afd4156c
I/DEBUG ( 65): 40a188f0 00000002
I/DEBUG ( 65): 40a188f4 40a18aeb
I/DEBUG ( 65): 40a188f8 00000001
I/DEBUG ( 65): 40a188fc afd1a6eb /system/lib/libc.so
I/DEBUG ( 65): 40a18900 afd414f8
I/DEBUG ( 65): 40a18904 40a18988
I/DEBUG ( 65): 40a18908 0000000b
I/DEBUG ( 65): 40a1890c 00000000
I/DEBUG ( 65): 40a18910 00000000
I/DEBUG ( 65): 40a18914 0000019f
I/DEBUG ( 65): 40a18918 000021b6
I/DEBUG ( 65): 40a1891c 00000001
I/DEBUG ( 65): 40a18920 00000000
I/DEBUG ( 65): 40a18924 00000000
I/DEBUG ( 65): 40a18928 00000103
I/DEBUG ( 65): 40a1892c 00000000
I/DEBUG ( 65): 40a18930 afd4d598
I/DEBUG ( 65): 40a18934 afd248e3 /system/lib/libc.so
I/DEBUG ( 65): 40a18938 afd4d598
I/DEBUG ( 65): 40a1893c afd25fe1 /system/lib/libc.so
I/DEBUG ( 65): 40a18940 00000001
I/DEBUG ( 65): 40a18944 40a18954
I/DEBUG ( 65): 40a18948 afd16dc3 /system/lib/libc.so
I/DEBUG ( 65): 40a1894c 00005401
I/DEBUG ( 65): 40a18950 40a18958
I/DEBUG ( 65): 40a18954 afd414f8
I/DEBUG ( 65): 40a18958 afd414f8
I/DEBUG ( 65): 40a1895c afd1c897 /system/lib/libc.so
I/DEBUG ( 65): 40a18960 afd1836d /system/lib/libc.so
I/DEBUG ( 65): 40a18964 afd46598
I/DEBUG ( 65): 40a18968 00000000
I/DEBUG ( 65): 40a1896c afd4262c
I/DEBUG ( 65): 40a18970 00047b86
I/DEBUG ( 65): 40a18974 afd18f35 /system/lib/libc.so
I/DEBUG ( 65): 40a18978 afd4262c
I/DEBUG ( 65): 40a1897c 40a18a6c
I/DEBUG ( 65): 40a18980 00000470
I/DEBUG ( 65): 40a18984 40a18a6c
I/DEBUG ( 65): 40a18988 00000002
I/DEBUG ( 65): 40a1898c a3035c93 /system/lib/libstagefright.so
I/DEBUG ( 65): 40a18990 40a18a14
I/DEBUG ( 65): 40a18994 afd4262c
I/DEBUG ( 65): 40a18998 00000002
I/DEBUG ( 65): 40a1899c ffffffff
I/DEBUG ( 65): 40a189a0 00000000
I/DEBUG ( 65): 40a189a4 afd1a6eb /system/lib/libc.so
I/DEBUG ( 65): 40a189a8 00000002
I/DEBUG ( 65): 40a189ac afd1ba19 /system/lib/libc.so
I/DEBUG ( 65): 40a189b0 00100000
I/DEBUG ( 65): 40a189b4 40a189b4
I/DEBUG ( 65): 40a189b8 a8213bed /system/lib/libbinder.so
I/DEBUG ( 65): 40a189bc 40a1895c
I/DEBUG ( 65): 40a189c0 00000000
I/DEBUG ( 65): 40a189c4 00000073
I/DEBUG ( 65): 40a189c8 00000000
I/DEBUG ( 65): 40a189cc 00000465
I/DEBUG ( 65): 40a189d0 fffffb9b
I/DEBUG ( 65): 40a189d4 a3035c91 /system/lib/libstagefright.so
I/DEBUG ( 65): 40a189d8 00000000
I/DEBUG ( 65): 40a189dc 00000000
I/DEBUG ( 65): 40a189e0 00000470
I/DEBUG ( 65): 40a189e4 40a18aa7
I/DEBUG ( 65): 40a189e8 a3035c86 /system/lib/libstagefright.so
I/DEBUG ( 65): 40a189ec afd414f8
I/DEBUG ( 65): 40a189f0 00000000
I/DEBUG ( 65): 40a189f4 00000000
I/DEBUG ( 65): 40a189f8 00000000
I/DEBUG ( 65): 40a189fc 000201d6
I/DEBUG ( 65): 40a18a00 afd4156c
I/DEBUG ( 65): 40a18a04 afd4156c
I/DEBUG ( 65): 40a18a08 0000001b
I/DEBUG ( 65): 40a18a0c a3035c91 /system/lib/libstagefright.so
I/DEBUG ( 65): 40a18a10 00000002
I/DEBUG ( 65): 40a18a14 00046f70
I/DEBUG ( 65): 40a18a18 00000465
I/DEBUG ( 65): 40a18a1c 000460a0
I/DEBUG ( 65): 40a18a20 00046094
I/DEBUG ( 65): 40a18a24 000460a0
I/DEBUG ( 65): 40a18a28 00046040
I/DEBUG ( 65): 40a18a2c a8114b77 /system/lib/libutils.so
I/DEBUG ( 65): 40a18a30 00046038
I/DEBUG ( 65): 40a18a34 00046050
I/DEBUG ( 65): 40a18a38 00046038
I/DEBUG ( 65): 40a18a3c 00046050
I/DEBUG ( 65): 40a18a40 00046138
I/DEBUG ( 65): 40a18a44 00046148
I/DEBUG ( 65): 40a18a48 0000ba80
I/DEBUG ( 65): 40a18a4c 40a18a84
I/DEBUG ( 65): 40a18a50 40a18a84
I/DEBUG ( 65): 40a18a54 a8114b9d /system/lib/libutils.so
I/DEBUG ( 65): 40a18a58 0000ba70
I/DEBUG ( 65): 40a18a5c 0000ba80
I/DEBUG ( 65): 40a18a60 40a18a84
I/DEBUG ( 65): 40a18a64 a8114cbb /system/lib/libutils.so
I/DEBUG ( 65): 40a18a68 40a18a84
I/DEBUG ( 65): 40a18a6c 40a18a0c
I/DEBUG ( 65): 40a18a70 00000000
I/DEBUG ( 65): 40a18a74 00000000
I/DEBUG ( 65): 40a18a78 40a18bc8
I/DEBUG ( 65): 40a18a7c a821a831 /system/lib/libbinder.so
I/DEBUG ( 65): 40a18a80 40a18bc8
I/DEBUG ( 65): 40a18a84 0000ba20
I/DEBUG ( 65): 40a18a88 00000000
I/DEBUG ( 65): 40a18a8c 40a18bc8
I/DEBUG ( 65): 40a18a90 40a18c4c
I/DEBUG ( 65): 40a18a94 00000001
I/DEBUG ( 65): 40a18a98 00000000
I/DEBUG ( 65): 40a18a9c a821a855 /system/lib/libbinder.so
I/DEBUG ( 65): 40a18aa0 0000000c
I/DEBUG ( 65): 40a18aa4 00000001
I/DEBUG ( 65): 40a18aa8 0000021c
I/DEBUG ( 65): 40a18aac 00000001
I/DEBUG ( 65): 40a18ab0 0000122c
I/DEBUG ( 65): 40a18ab4 00000001
I/DEBUG ( 65): 40a18ab8 00045038
I/DEBUG ( 65): 40a18abc 0000a000
I/DEBUG ( 65): 40a18ac0 0000122c
I/DEBUG ( 65): 40a18ac4 00000001
I/DEBUG ( 65): 40a18ac8 00045070
I/DEBUG ( 65): 40a18acc 0000a000
I/DEBUG ( 65): 40a18ad0 00014a68
I/DEBUG ( 65): 40a18ad4 00000000
I/DEBUG ( 65): 40a18ad8 0001ba50
I/DEBUG ( 65): 40a18adc a8119edd /system/lib/libutils.so
I/DEBUG ( 65): 40a18ae0 0001ba50
I/DEBUG ( 65): 40a18ae4 00000000
I/DEBUG ( 65): 40a18ae8 0001ba50
I/DEBUG ( 65): 40a18aec a811aeeb /system/lib/libutils.so
I/DEBUG ( 65): 40a18af0 0001ba50
I/DEBUG ( 65): 40a18af4 aba8c63d /system/lib/libcamera_client.so
I/DEBUG ( 65): 40a18af8 0001ba54
I/DEBUG ( 65): 40a18afc 40a18b68
I/DEBUG ( 65): 40a18b00 00000001
I/DEBUG ( 65): 40a18b04 a8119f0f /system/lib/libutils.so
I/DEBUG ( 65): 40a18b08 0001ba54
I/DEBUG ( 65): 40a18b0c a811b397 /system/lib/libutils.so
I/DEBUG ( 65): 40a18b10 0001ba50
I/DEBUG ( 65): 40a18b14 aba8c8cb /system/lib/libcamera_client.so
I/DEBUG ( 65): 40a18b18 40a18b68
I/DEBUG ( 65): 40a18b1c 0001ba50
I/DEBUG ( 65): 40a18b20 afd4650c
I/DEBUG ( 65): 40a18b24 00000648
I/DEBUG ( 65): 40a18b28 00000022
I/DEBUG ( 65): 40a18b2c 00000020
I/DEBUG ( 65): 40a18b30 00047af8
I/DEBUG ( 65): 40a18b34 000017e8
I/DEBUG ( 65): 40a18b38 000492c0
I/DEBUG ( 65): 40a18b3c 0000a000
I/DEBUG ( 65): 40a18b40 00047b88
I/DEBUG ( 65): 40a18b44 000017e8
I/DEBUG ( 65): 40a18b48 000492c0
I/DEBUG ( 65): 40a18b4c 0000a000
I/DEBUG ( 65): 40a18b50 000474a4
I/DEBUG ( 65): 40a18b54 00048c20
I/DEBUG ( 65): 40a18b58 00022a00
I/DEBUG ( 65): 40a18b5c 00000001
I/DEBUG ( 65): 40a18b60 00048b60
I/DEBUG ( 65): 40a18b64 0000a000
I/DEBUG ( 65): 40a18b68 00000001
I/DEBUG ( 65): 40a18b6c 40a18c7c
I/DEBUG ( 65): 40a18b70 fffff620
I/DEBUG ( 65): 40a18b74 afd1333d /system/lib/libc.so
I/DEBUG ( 65): 40a18b78 00000000
I/DEBUG ( 65): 40a18b7c 40a18c5c
I/DEBUG ( 65): 40a18b80 00000001
I/DEBUG ( 65): 40a18b84 000473f0
I/DEBUG ( 65): 40a18b88 0004750c
I/DEBUG ( 65): 40a18b8c 40a18bf8
I/DEBUG ( 65): 40a18b90 00000001
I/DEBUG ( 65): 40a18b94 a8119f0f /system/lib/libutils.so
I/DEBUG ( 65): 40a18b98 0004750c
I/DEBUG ( 65): 40a18b9c a811b397 /system/lib/libutils.so
I/DEBUG ( 65): 40a18ba0 00047508
I/DEBUG ( 65): 40a18ba4 a2f47f63 /system/lib/libstagefright.so
I/DEBUG ( 65): 40a18ba8 40a18bf8
I/DEBUG ( 65): 40a18bac 00047508
I/DEBUG ( 65): 40a18bb0 00000001
I/DEBUG ( 65): 40a18bb4 a2f47ff7 /system/lib/libstagefright.so
I/DEBUG ( 65): 40a18bb8 40a18c5c
I/DEBUG ( 65): 40a18bbc 00000023
I/DEBUG ( 65): 40a18bc0 00049410
I/DEBUG ( 65): 40a18bc4 a2f47f3d /system/lib/libstagefright.so
I/DEBUG ( 65): 40a18bc8 00049410
I/DEBUG ( 65): 40a18bcc a2f47f3d /system/lib/libstagefright.so
I/DEBUG ( 65): 40a18bd0 00000012
I/DEBUG ( 65): 40a18bd4 40a18c5c
I/DEBUG ( 65): 40a18bd8 00049410
I/DEBUG ( 65): 40a18bdc a2f47f3d /system/lib/libstagefright.so
I/DEBUG ( 65): 40a18be0 0000001e
I/DEBUG ( 65): 40a18be4 40a18c5c
I/DEBUG ( 65): 40a18be8 00000000
I/DEBUG ( 65): 40a18bec 00000be0
I/DEBUG ( 65): 40a18bf0 00049420
I/DEBUG ( 65): 40a18bf4 0000a000
I/DEBUG ( 65): 40a18bf8 40a18c5c
I/DEBUG ( 65): 40a18bfc 40a18c7c
I/DEBUG ( 65): 40a18c00 fffff620
I/DEBUG ( 65): 40a18c04 afd1333d /system/lib/libc.so
I/DEBUG ( 65): 40a18c08 00049400
I/DEBUG ( 65): 40a18c0c 00000000
I/DEBUG ( 65): 40a18c10 40a18c5c
I/DEBUG ( 65): 40a18c14 000476f0
I/DEBUG ( 65): 40a18c18 0000a008
I/DEBUG ( 65): 40a18c1c 00000000
I/DEBUG ( 65): 40a18c20 40a18c5c
I/DEBUG ( 65): 40a18c24 a8119edd /system/lib/libutils.so
I/DEBUG ( 65): 40a18c28 40a18c44
I/DEBUG ( 65): 40a18c2c 40a18c44
I/DEBUG ( 65): 40a18c30 40a18c5c
I/DEBUG ( 65): 40a18c34 a811aeeb /system/lib/libutils.so
I/DEBUG ( 65): 40a18c38 00000000
I/DEBUG ( 65): 40a18c3c 5e57e6e4
I/DEBUG ( 65): 40a18c40 00049410
I/DEBUG ( 65): 40a18c44 00047668
I/DEBUG ( 65): 40a18c48 a305c964
I/DEBUG ( 65): 40a18c4c a2f4b531 /system/lib/libstagefright.so
I/DEBUG ( 65): 40a18c50 a3035cb0 /system/lib/libstagefright.so
I/DEBUG ( 65): 40a18c54 0000000a
I/DEBUG ( 65): debuggerd committing suicide to free the zombie!
I/DEBUG ( 750): debuggerd: Jan 6 2011 14:13:13
W/AudioSystem( 523): AudioFlinger server died!
W/MediaMetadataRetriever( 523): MediaMetadataRetriever server died!
W/IMediaDeathNotifier( 523): media server died
W/Camera ( 523): Camera server died!
W/AudioSystem( 523): AudioPolicyService server died!
W/Camera ( 523): ICamera died
W/AudioSystem( 104): AudioFlinger server died!
W/AudioSystem( 104): AudioPolicyService server died!
I/ServiceManager( 62): service 'media.audio_flinger' died
I/ServiceManager( 62): service 'media.player' died
I/ServiceManager( 62): service 'media.camera' died
I/ServiceManager( 62): service 'media.audio_policy' died
E/Camera ( 523): Error 100
V/camera ( 523): media server died
W/MediaMetadataRetriever( 393): MediaMetadataRetriever server died!
I/ ( 752): ServiceManager: 0xaf28
D/AudioHardwareQSD( 752): open /system/etc/vpimg success
D/AudioHardwareQSD( 752): Firmware /system/etc/vpimg size 27612
D/AudioHardwareQSD( 752): Total 27612 bytes put to user space buffer.
E/AudioService( 104): Media server died.
I/ServiceManager( 104): Waiting for service media.audio_flinger...
V/videocamera( 523): stopVideoRecording
V/videocamera( 523): Setting current video filename: /mnt/sdcard/DCIM/Camera/VID_20110106_151902.3gp
V/videocamera( 523): Current video URI: content://media/external/video/media/4
V/videocamera( 523): Releasing media recorder.
Wireless tethering also seems broken. Pretty sure I had compiled a build where it was working before...
Code:
I/ActivityManager( 97): Starting: Intent { act=android.intent.action.MAIN cmp=com.android.settings/.WirelessSettings } from pid 247
V/NFC ( 247): this device does not have NFC support
I/ActivityManager( 97): Displayed com.android.settings/.WirelessSettings: +415ms
I/ActivityManager( 97): Starting: Intent { act=android.intent.action.MAIN cmp=com.android.settings/.TetherSettings } from pid 247
D/AndroidRuntime( 247): Shutting down VM
W/dalvikvm( 247): threadid=1: thread exiting with uncaught exception (group=0x40015560)
D/dalvikvm( 247): GC_CONCURRENT freed 321K, 51% free 2904K/5831K, external 2137K/2137K, paused 3ms+3ms
E/AndroidRuntime( 247): FATAL EXCEPTION: main
E/AndroidRuntime( 247): java.lang.RuntimeException: Unable to resume activity {com.android.settings/com.android.settings.TetherSettings}: java.lang.ClassCastException: [Ljava.lang.Object;
E/AndroidRuntime( 247): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2095)
E/AndroidRuntime( 247): at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2110)
E/AndroidRuntime( 247): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1643)
E/AndroidRuntime( 247): at android.app.ActivityThread.access$1500(ActivityThread.java:117)
E/AndroidRuntime( 247): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:928)
E/AndroidRuntime( 247): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 247): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 247): at android.app.ActivityThread.main(ActivityThread.java:3647)
E/AndroidRuntime( 247): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 247): at java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime( 247): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
E/AndroidRuntime( 247): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
E/AndroidRuntime( 247): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 247): Caused by: java.lang.ClassCastException: [Ljava.lang.Object;
E/AndroidRuntime( 247): at com.android.settings.TetherSettings$TetherChangeReceiver.onReceive(TetherSettings.java:160)
E/AndroidRuntime( 247): at com.android.settings.TetherSettings.onResume(TetherSettings.java:183)
E/AndroidRuntime( 247): at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1149)
E/AndroidRuntime( 247): at android.app.Activity.performResume(Activity.java:3833)
E/AndroidRuntime( 247): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2085)
E/AndroidRuntime( 247): ... 12 more
W/ActivityManager( 97): Force finishing activity com.android.settings/.TetherSettings
W/ActivityManager( 97): Force finishing activity com.android.settings/.WirelessSettings
W/ActivityManager( 97): Activity pause timeout for HistoryRecord{4075a010 com.android.settings/.TetherSettings}
I/Process ( 247): Sending signal. PID: 247 SIG: 9
I/ActivityManager( 97): Process com.android.settings (pid 247) has died.
I/WindowManager( 97): WIN DEATH: Window{406a2c00 com.android.settings/com.android.settings.WirelessSettings paused=true}
I/WindowManager( 97): WIN DEATH: Window{40843ec8 com.android.settings/com.android.settings.Settings paused=false}
Click to expand...
Click to collapse
Hum... something appears to be broken on tethering on the master branch. The branch 2.3.1 works just fine. Changing the manifest on git to get that branch for settings project should do it. I'll take a look at libstagefright on that line and see what makes it break. It would be great if those developers who have it working on their ROM's would share how to fix it
I haven't found a better way to add dictionaries to fix predictive typing, but you can pull the dictionaries out of Cyanogenmod and slip them into LatinIME. It's absolutely ridiculous that these files do not already exist in the AOSP.
Code:
git clone https://github.com/CyanogenMod/android_vendor_cyanogen.git
Copy any of the raw language directories from 'android_vendor_cyanogen/overlay/common/packages/inputmethods/LatinIME/java/res/'
(such as raw-en for English or raw-de for German) to your AOSP repo in
'/packages/inputmethods/LatinIME/java/res/'.
Rebuild LatinIME and push it to your phone, then set language with Settings->Language & Keyboard->Android Keyboard->Input Languages. Just select your preferred languages, which should indicate below in small text, "Dictionary available".
I'm helping a friend to port a rom and now we stuck on this error
can someone share some lights on this please??
Code:
--------- beginning of /dev/log/system
I/Vold ( 193): Vold 2.1 (the revenge) firing up
D/Vold ( 193): Volume usbdisk state changing -1 (Initializing) -> 0 (No-Media)
--------- beginning of /dev/log/main
D/QCamera3HWI( 1755): static int8_t qcamera::QCamera3HardwareInterface::lookupFwkName(const qcamera::QCamera3HardwareInterface::QCameraMap*, int, int): Cannot find matching framework type
D/QCamera3HWI( 1755): static int8_t qcamera::QCamera3HardwareInterface::lookupFwkName(const qcamera::QCamera3HardwareInterface::QCameraMap*, int, int): Cannot find matching framework type
D/QCamera3HWI( 1755): static int8_t qcamera::QCamera3HardwareInterface::lookupFwkName(const qcamera::QCamera3HardwareInterface::QCameraMap*, int, int): Cannot find matching framework type
D/QCamera3HWI( 1755): static int8_t qcamera::QCamera3HardwareInterface::lookupFwkName(const qcamera::QCamera3HardwareInterface::QCameraMap*, int, int): Cannot find matching framework type
D/QCamera3HWI( 1755): static int8_t qcamera::QCamera3HardwareInterface::lookupFwkName(const qcamera::QCamera3HardwareInterface::QCameraMap*, int, int): Cannot find matching framework type
D/QCamera3HWI( 1755): static int8_t qcamera::QCamera3HardwareInterface::lookupFwkName(const qcamera::QCamera3HardwareInterface::QCameraMap*, int, int): Cannot find matching framework type
D/mm-camera-intf( 1755): mm_camera_open: dev name = /dev/video2, cam_idx = 2
I/mm-camera-sensor( 214): module_sensor_start_session:577 session 2
I/mm-camera( 214): gyro_module_start_session: Enter
I/mm-camera( 214): gyro_module_start_session: Init DSPS
I/mm-camera( 214): gyro_module_start_session: Exit successful
I/mm-camera( 214): gyro_module_get_port: Exit successful
I/mm-camera( 214): cpp_module_start_session:352, info: starting session 2
I/mm-camera( 214): cpp_module_start_session:425, info: session 2 started.
I/mm-camera( 214): c2d_module_start_session:246, info: starting session 2
I/mm-camera( 214): c2d_module_start_session:306, info: session 2 started.
I/mm-camera-sensor( 214): module_module_set_session_data:2435 max delay 2 report dSelay 1
D/mm-camera( 214): module_faceproc_set_session_data:1826] Per frame control 2 1
D/mm-camera-intf( 1755): mm_camera_open: opened, break out while loop
I/mm-camera( 214): mct_pipeline_process_set:command=800000b
E/mm-camera( 214): mct_pipeline_get_stream: no children
E/mm-camera( 214): mct_pipeline_process_set:1370: Couldn't find stream
I/mm-camera-sensor( 214): module_sensor_stop_session:630 session 2
I/mm-camera( 214): stats_module_stop_session: list =0xb8da77f0, remove port =0xb8d9f8c8 name=stats_sink from module=0xb8d8d778, name=stats
I/mm-camera( 214): stats_module_stop_session: 1 port =0xb8d9f8c8 name=stats_sink
I/mm-camera( 214): stats_module_stop_session: 2 port =0xb8d9f8c8 name=stats_sink
I/mm-camera( 214): gyro_module_stop_session: Enter
I/mm-camera( 214): gyro_module_stop_session: Deinit DSPS
I/mm-camera( 214): gyro_module_stop_session: Exit successful
I/mm-camera( 214): stats_module_stop_session: 3 port =0xb8d9f8c8 name=stats_sink
I/mm-camera( 214): cpp_module_stop_session:453, info: stopping session 2 ...
I/mm-camera( 214): cpp_module_stop_session:495, info: session 2 stopped.
I/mm-camera( 214): c2d_module_stop_session:322, info: stopping session 2 ...
I/mm-camera( 214): c2d_module_stop_session:361, info: session 2 stopped.
D/QCamera3HWI( 1755): static int8_t qcamera::QCamera3HardwareInterface::lookupFwkName(const qcamera::QCamera3HardwareInterface::QCameraMap*, int, int): Cannot find matching framework type
D/QCamera3HWI( 1755): static int8_t qcamera::QCamera3HardwareInterface::lookupFwkName(const qcamera::QCamera3HardwareInterface::QCameraMap*, int, int): Cannot find matching framework type
D/QCamera3HWI( 1755): static int8_t qcamera::QCamera3HardwareInterface::lookupFwkName(const qcamera::QCamera3HardwareInterface::QCameraMap*, int, int): Cannot find matching framework type
D/QCamera3HWI( 1755): static int8_t qcamera::QCamera3HardwareInterface::lookupFwkName(const qcamera::QCamera3HardwareInterface::QCameraMap*, int, int): Cannot find matching framework type
D/QCamera3HWI( 1755): static int8_t qcamera::QCamera3HardwareInterface::lookupFwkName(const qcamera::QCamera3HardwareInterface::QCameraMap*, int, int): Cannot find matching framework type
D/QCamera3HWI( 1755): static int8_t qcamera::QCamera3HardwareInterface::lookupFwkName(const qcamera::QCamera3HardwareInterface::QCameraMap*, int, int): Cannot find matching framework type
D/QCamera3HWI( 1755): static int8_t qcamera::QCamera3HardwareInterface::lookupFwkName(const qcamera::QCamera3HardwareInterface::QCameraMap*, int, int): Cannot find matching framework type
D/QCamera3HWI( 1755): static int8_t qcamera::QCamera3HardwareInterface::lookupFwkName(const qcamera::QCamera3HardwareInterface::QCameraMap*, int, int): Cannot find matching framework type
I/AudioPolicyManagerBase( 1755): loadAudioPolicyConfig() loaded /system/etc/audio_policy.conf
D/audio_hw_primary( 1755): adev_open: enter
I/ServiceManager( 192): service 'media.audio_flinger' died
I/ServiceManager( 192): service 'media.player' died
I/ServiceManager( 192): service 'media.camera' died
I/Netd ( 1844): Netd 1.0 starting
W/InterfaceController( 1844): Warning (dlopen failed: library "/system/lib/libnetcmdiface.so" not found) while opening the net interface command library
I/mediaserver( 1846): ServiceManager: 0xb77e0460
I/AudioFlinger( 1846): Using default 3000 mSec as standby time.
I/CameraService( 1846): CameraService started (pid=1846)
I/CameraService( 1846): Loaded "QCamera Module" camera module
D/mm-camera-intf( 1846): mm_camera_open: dev name = /dev/video1, cam_idx = 1
I/mm-camera-sensor( 214): module_sensor_start_session:577 session 1
I/mm-camera( 214): gyro_module_start_session: Enter
I/mm-camera( 214): gyro_module_start_session: Init DSPS
I/mm-camera( 214): gyro_module_start_session: Exit successful
I/mm-camera( 214): gyro_module_get_port: Exit successful
I/mm-camera( 214): cpp_module_start_session:352, info: starting session 1
I/mm-camera( 214): cpp_module_start_session:425, info: session 1 started.
I/mm-camera( 214): c2d_module_start_session:246, info: starting session 1
I/mm-camera( 214): c2d_module_start_session:306, info: session 1 started.
I/mm-camera-sensor( 214): module_module_set_session_data:2435 max delay 2 report dSelay 1
D/mm-camera( 214): module_faceproc_set_session_data:1826] Per frame control 2 1
D/mm-camera-intf( 1846): mm_camera_open: opened, break out while loop
I/mm-camera( 214): mct_pipeline_process_set:command=800000b
E/mm-camera( 214): mct_pipeline_get_stream: no children
E/mm-camera( 214): mct_pipeline_process_set:1370: Couldn't find stream
I/mm-camera-sensor( 214): module_sensor_stop_session:630 session 1
D/AndroidRuntime( 1845):
D/AndroidRuntime( 1845): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime( 1845): CheckJNI is OFF
D/dalvikvm( 1845): Trying to load lib libjavacore.so 0x0
D/dalvikvm( 1845): Added shared lib libjavacore.so 0x0
D/dalvikvm( 1845): Trying to load lib libnativehelper.so 0x0
D/dalvikvm( 1845): Added shared lib libnativehelper.so 0x0
D/dalvikvm( 1845): No JNI_OnLoad found in libnativehelper.so 0x0, skipping init
E/dalvikvm( 1845): ERROR: couldn't find native method
E/dalvikvm( 1845): Requested: Landroid/content/res/AssetManager;.addOverlayPath:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)I
E/dalvikvm( 1845): JNI posting fatal error: RegisterNatives failed for 'android/content/res/AssetManager'; aborting...
I/dalvikvm( 1845): "main" prio=5 tid=1 NATIVE
I/dalvikvm( 1845): | group="main" sCount=0 dsCount=0 obj=0x41597cc0 self=0x414d1410
I/dalvikvm( 1845): | sysTid=1845 nice=0 sched=0/0 cgrp=default handle=1074164052
I/dalvikvm( 1845): | state=R schedstat=( 240528748 6300576 47 ) utm=16 stm=8 core=1
I/dalvikvm( 1845): #00 pc 0000132e /system/lib/libcorkscrew.so (unwind_backtrace_thread+29)
I/dalvikvm( 1845): #01 pc 0006064e /system/lib/libdvm.so (dvmDumpNativeStack(DebugOutputTarget const*, int)+33)
I/dalvikvm( 1845): #02 pc 0005463c /system/lib/libdvm.so (dvmDumpThreadEx(DebugOutputTarget const*, Thread*, bool)+395)
I/dalvikvm( 1845): #03 pc 000546aa /system/lib/libdvm.so (dvmDumpThread(Thread*, bool)+25)
I/dalvikvm( 1845): #04 pc 000490c0 /system/lib/libdvm.so
I/dalvikvm( 1845): #05 pc 00001fd2 /system/lib/libnativehelper.so (jniRegisterNativeMethods+81)
I/dalvikvm( 1845): #06 pc 0004d8b6 /system/lib/libandroid_runtime.so
I/dalvikvm( 1845): #07 pc 0004dba4 /system/lib/libandroid_runtime.so (android::AndroidRuntime::startReg(_JNIEnv*)+23)
I/dalvikvm( 1845): #08 pc 0004e5f4 /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, char const*)+183)
I/dalvikvm( 1845): #09 pc 0000105a /system/bin/app_process
I/dalvikvm( 1845): #10 pc 0000e398 /system/lib/libc.so (__libc_init+47)
I/dalvikvm( 1845): at dalvik.system.NativeStart.main(Native Method)
I/dalvikvm( 1845): at dalvik.system.NativeStart.main(Native Method)
I/dalvikvm( 1845):
E/dalvikvm( 1845): VM aborting
F/libc ( 1845): Fatal signal 6 (SIGABRT) at 0x00000735 (code=-6), thread 1845 (zygote)
I/DEBUG ( 196): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 196): Build fingerprint: 'google/hammerhead/hammerhead:4.4.4/KTU84P/1227136:user/release-keys'
I/DEBUG ( 196): Revision: '11'
I/DEBUG ( 196): pid: 1845, tid: 1845, name: zygote >>> zygote <<<
I/DEBUG ( 196): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
I/DEBUG ( 196): r0 00000000 r1 00000735 r2 00000006 r3 00000000
I/DEBUG ( 196): r4 00000006 r5 00000016 r6 00000735 r7 0000010c
I/DEBUG ( 196): r8 00000004 r9 bec36ba4 sl 00000000 fp bec36b83
I/DEBUG ( 196): ip 401f44b4 sp bec36628 lr 4008f035 pc 4009dfe0 cpsr 000f0010
I/DEBUG ( 196): d0 0000000000000000 d1 0000000000000000
I/DEBUG ( 196): d2 0000000000000000 d3 0000000000000000
I/DEBUG ( 196): d4 0000000000000000 d5 000000006e736c40
I/DEBUG ( 196): d6 3f0000004158f720 d7 000000000000007f
I/DEBUG ( 196): d8 0000000000000000 d9 0000000000000000
I/DEBUG ( 196): d10 0000000000000000 d11 0000000000000000
I/DEBUG ( 196): d12 0000000000000000 d13 0000000000000000
I/DEBUG ( 196): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 196): d16 2065766974614e28 d17 0a29646f6874654d
I/DEBUG ( 196): d18 65747379732f2020 d19 696c2f62696c2f6d
I/DEBUG ( 196): d20 64696f72646e6162 d21 656d69746e75725f
I/DEBUG ( 196): d22 646e6128206f732e d23 6e413a3a64696f72
I/DEBUG ( 196): d24 0000000000000000 d25 0000000000000000
I/DEBUG ( 196): d26 0000000000000000 d27 0000000000000000
I/DEBUG ( 196): d28 0000000000000000 d29 0000000000000000
I/DEBUG ( 196): d30 0000000000000000 d31 0000000000000000
I/DEBUG ( 196): scr 60000010
I/DEBUG ( 196):
I/DEBUG ( 196): backtrace:
I/DEBUG ( 196): #00 pc 00021fe0 /system/lib/libc.so (tgkill+12)
I/DEBUG ( 196): #01 pc 00013031 /system/lib/libc.so (pthread_kill+48)
I/DEBUG ( 196): #02 pc 00013245 /system/lib/libc.so (raise+10)
I/DEBUG ( 196): #03 pc 00011f7b /system/lib/libc.so
I/DEBUG ( 196): #04 pc 00021894 /system/lib/libc.so (abort+4)
I/DEBUG ( 196): #05 pc 00045cc7 /system/lib/libdvm.so (dvmAbort+78)
I/DEBUG ( 196): #06 pc 00001fd5 /system/lib/libnativehelper.so (jniRegisterNativeMethods+84)
I/DEBUG ( 196): #07 pc 0004d8b9 /system/lib/libandroid_runtime.so
I/DEBUG ( 196): #08 pc 0004dba5 /system/lib/libandroid_runtime.so (android::AndroidRuntime::startReg(_JNIEnv*)+24)
I/DEBUG ( 196): #09 pc 0004e5f5 /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, char const*)+184)
I/DEBUG ( 196): #10 pc 0000105b /system/bin/app_process
I/DEBUG ( 196): #11 pc 0000e39b /system/lib/libc.so (__libc_init+50)
I/DEBUG ( 196): #12 pc 00000d7c /system/bin/app_process
I/DEBUG ( 196):
I/DEBUG ( 196): stack:
I/DEBUG ( 196): bec365e8 401e17cd /system/lib/libandroid_runtime.so
I/DEBUG ( 196): bec365ec 00000035
I/DEBUG ( 196): bec365f0 401f44b4 /system/lib/libandroid_runtime.so
I/DEBUG ( 196): bec365f4 00000004
I/DEBUG ( 196): bec365f8 bec36ba4 [stack]
I/DEBUG ( 196): bec365fc 00000000
I/DEBUG ( 196): bec36600 bec36b83 [stack]
I/DEBUG ( 196): bec36604 400a2501 /system/lib/libc.so (snprintf+80)
I/DEBUG ( 196): bec36608 36333138
I/DEBUG ( 196): bec3660c 30203020
I/DEBUG ( 196): bec36610 bec36684 [stack]
I/DEBUG ( 196): bec36614 00000000
I/DEBUG ( 196): bec36618 00000000
I/DEBUG ( 196): bec3661c 20302030
I/DEBUG ( 196): bec36620 00004000
I/DEBUG ( 196): bec36624 bec36692 [stack]
I/DEBUG ( 196): #00 bec36628 00000006
I/DEBUG ( 196): bec3662c 00000016
I/DEBUG ( 196): bec36630 00000735
I/DEBUG ( 196): bec36634 401f44b4 /system/lib/libandroid_runtime.so
I/DEBUG ( 196): bec36638 401f44b4 /system/lib/libandroid_runtime.so
I/DEBUG ( 196): bec3663c 4008f035 /system/lib/libc.so (pthread_kill+52)
I/DEBUG ( 196): #01 bec36640 00000006
I/DEBUG ( 196): bec36644 00000000
I/DEBUG ( 196): bec36648 00000035
I/DEBUG ( 196): bec3664c 4008f249 /system/lib/libc.so (raise+14)
I/DEBUG ( 196): #02 bec36650 bec3665c [stack]
I/DEBUG ( 196): bec36654 4008df7f /system/lib/libc.so
I/DEBUG ( 196):
I/DEBUG ( 196): memory near r9:
I/DEBUG ( 196): bec36b84 746f6779 622f0065 612f6e69 705f7070
I/DEBUG ( 196): bec36b94 65636f72 2d007373 67797a58 0065746f
I/DEBUG ( 196): bec36ba4 7379732f 2f6d6574 006e6962 797a2d2d
I/DEBUG ( 196): bec36bb4 65746f67 732d2d00 74726174 7379732d
I/DEBUG ( 196): bec36bc4 2d6d6574 76726573 50007265 3d485441
I/DEBUG ( 196): bec36bd4 6962732f 762f3a6e 6f646e65 69622f72
I/DEBUG ( 196): bec36be4 732f3a6e 65747379 62732f6d 2f3a6e69
I/DEBUG ( 196): bec36bf4 74737973 622f6d65 2f3a6e69 74737973
I/DEBUG ( 196): bec36c04 782f6d65 006e6962 4c5f444c 41524249
I/DEBUG ( 196): bec36c14 505f5952 3d485441 6e65762f 2f726f64
I/DEBUG ( 196): bec36c24 3a62696c 7379732f 2f6d6574 0062696c
I/DEBUG ( 196): bec36c34 52444e41 5f44494f 544f4f42 4f474f4c
I/DEBUG ( 196): bec36c44 4100313d 4f52444e 525f4449 3d544f4f
I/DEBUG ( 196): bec36c54 7379732f 006d6574 52444e41 5f44494f
I/DEBUG ( 196): bec36c64 45535341 2f3d5354 74737973 612f6d65
I/DEBUG ( 196): bec36c74 41007070 4f52444e 445f4449 3d415441
I/DEBUG ( 196):
I/DEBUG ( 196): memory near fp:
I/DEBUG ( 196): bec36b60 bec36b7f 00000000 00000000 ce000000
I/DEBUG ( 196): bec36b70 4935fbfb a3627a42 6cb16c8e 76cab2c1
I/DEBUG ( 196): bec36b80 7a006c37 746f6779 622f0065 612f6e69
I/DEBUG ( 196): bec36b90 705f7070 65636f72 2d007373 67797a58
I/DEBUG ( 196): bec36ba0 0065746f 7379732f 2f6d6574 006e6962
I/DEBUG ( 196): bec36bb0 797a2d2d 65746f67 732d2d00 74726174
I/DEBUG ( 196): bec36bc0 7379732d 2d6d6574 76726573 50007265
I/DEBUG ( 196): bec36bd0 3d485441 6962732f 762f3a6e 6f646e65
I/DEBUG ( 196): bec36be0 69622f72 732f3a6e 65747379 62732f6d
I/DEBUG ( 196): bec36bf0 2f3a6e69 74737973 622f6d65 2f3a6e69
I/DEBUG ( 196): bec36c00 74737973 782f6d65 006e6962 4c5f444c
I/DEBUG ( 196): bec36c10 41524249 505f5952 3d485441 6e65762f
I/DEBUG ( 196): bec36c20 2f726f64 3a62696c 7379732f 2f6d6574
I/DEBUG ( 196): bec36c30 0062696c 52444e41 5f44494f 544f4f42
I/DEBUG ( 196): bec36c40 4f474f4c 4100313d 4f52444e 525f4449
I/DEBUG ( 196): bec36c50 3d544f4f 7379732f 006d6574 52444e41
I/DEBUG ( 196):
I/DEBUG ( 196): memory near ip:
I/DEBUG ( 196): 401f4494 401d6831 401b20e9 401e1520 401e1485
I/DEBUG ( 196): 401f44a4 401b2145 401dcec4 401dad34 401b2081
I/DEBUG ( 196): 401f44b4 401e17f6 401db373 401b4f19 401e1800
I/DEBUG ( 196): 401f44c4 401e180c 401b4ec1 401e1844 401e1857
I/DEBUG ( 196): 401f44d4 401b4e49 401e186f 401e1884 401b4de1
I/DEBUG ( 196): 401f44e4 401e18bd 401e18c2 401b5019 401e18ea
I/DEBUG ( 196): 401f44f4 401d6b39 401b3a05 401e18f7 401d71ad
I/DEBUG ( 196): 401f4504 401b39d5 401e1905 401e190f 401b3925
I/DEBUG ( 196): 401f4514 401e1918 401e1922 401b38e1 401e1929
I/DEBUG ( 196): 401f4524 401ded38 401b38b5 401e1938 401ded38
I/DEBUG ( 196): 401f4534 401b3889 401e1950 401df0e7 401b4d8f
I/DEBUG ( 196): 401f4544 401e1963 401e1972 401b4c9f 401e19d0
I/DEBUG ( 196): 401f4554 401d70d3 401b4c87 401e19e4 401d88cf
I/DEBUG ( 196): 401f4564 401b4c41 401e19f7 401d88cf 401b4c01
I/DEBUG ( 196): 401f4574 401e1a12 401d71ad 401b4be5 401e1a23
I/DEBUG ( 196): 401f4584 401e1a2f 401b4b17 401e1a7c 401d6a6a
I/DEBUG ( 196):
I/DEBUG ( 196): memory near sp:
I/DEBUG ( 196): bec36608 36333138 30203020 bec36684 00000000
I/DEBUG ( 196): bec36618 00000000 20302030 00004000 bec36692
I/DEBUG ( 196): bec36628 00000006 00000016 00000735 401f44b4
I/DEBUG ( 196): bec36638 401f44b4 4008f035 00000006 00000000
I/DEBUG ( 196): bec36648 00000035 4008f249 bec3665c 4008df7f
I/DEBUG ( 196): bec36658 00000000 ffffffdf 400c62c4 400c622c
I/DEBUG ( 196): bec36668 00000000 40090b3f 415811f0 415811f0
I/DEBUG ( 196): bec36678 401e17cd 4009d898 00000000 41517ccb
I/DEBUG ( 196): bec36688 400d4324 6c756e28 0000296c 00000000
I/DEBUG ( 196): bec36698 00000000 00000000 00000000 00000000
I/DEBUG ( 196): bec366a8 00000000 00000000 00000000 00000000
I/DEBUG ( 196): bec366b8 00000000 00000000 00000000 00000000
I/DEBUG ( 196): bec366c8 00000000 00000000 00000000 00000000
I/DEBUG ( 196): bec366d8 00000000 00000000 00000000 00000000
I/DEBUG ( 196): bec366e8 00000000 00000000 00000000 00000000
I/DEBUG ( 196): bec366f8 00000000 00000000 00000000 00000000
I/DEBUG ( 196):
I/DEBUG ( 196): code around pc:
I/DEBUG ( 196): 4009dfc0 e8bd00f0 e3700a01 912fff1e e2600000
I/DEBUG ( 196): 4009dfd0 ea006e20 e92d50f0 e3a07f43 ef000000
I/DEBUG ( 196): 4009dfe0 e8bd50f0 e3700a01 912fff1e e2600000
I/DEBUG ( 196): 4009dff0 ea006e18 e92d50f0 e3a070ee ef000000
I/DEBUG ( 196): 4009e000 e8bd50f0 e3700a01 912fff1e e2600000
I/DEBUG ( 196): 4009e010 ea006e10 f200429a bf0080b9 f040f891
I/DEBUG ( 196): 4009e020 4001e92d f2c02a04 2a1080a5 8093f2c0
I/DEBUG ( 196): 4009e030 f2c02a20 2a408088 ea4fdb7f f1bc1c92
I/DEBUG ( 196): 4009e040 dd6c0f0a 0600e92d 0f40f1bc f500dd4a
I/DEBUG ( 196): 4009e050 f5016e80 ebae7920 ea4f0e09 ea4f5e4e
I/DEBUG ( 196): 4009e060 f50e5e5e ebbc7e20 dd3b1f9e f04fbfc4
I/DEBUG ( 196): 4009e070 ebd9090a dd35199e 0a0eeb01 0a3ff02a
I/DEBUG ( 196): 4009e080 1c9eebac bfd245e1 0c09ebac f04f46e1
I/DEBUG ( 196): 4009e090 f8910c00 f891f240 f921f280 f921028d
I/DEBUG ( 196): 4009e0a0 f8da428d f1b93000 f9000901 f900028d
I/DEBUG ( 196): 4009e0b0 f10a428d d1ee0a40 0f00f1bc f5bcd02b
I/DEBUG ( 196):
I/DEBUG ( 196): code around lr:
I/DEBUG ( 196): 4008f014 447b4b13 42b3e010 6a1ed10e 44784811
I/DEBUG ( 196): 4008f024 ec84f7fb ea0ef00d 46224631 efd0f00e
I/DEBUG ( 196): 4008f034 d00a3001 e00b2400 2b00681b 480ad1eb
I/DEBUG ( 196): 4008f044 44782403 ec72f7fb f001e002 6804fa23
I/DEBUG ( 196): 4008f054 fa20f001 46206005 bf00bd70 0003b38e
I/DEBUG ( 196): 4008f064 0003b382 0003b37a 0003b356 bf7ef7ff
I/DEBUG ( 196): 4008f074 4a3e4b3d e92d447b b08b43f0 4606589c
I/DEBUG ( 196): 4008f084 6823460d 930946a1 fa04f001 8000f8d0
I/DEBUG ( 196): 4008f094 d0482d00 f0104628 280ff96d d8444604
I/DEBUG ( 196): 4008f0a4 ffe4f7ff d1064286 4629200f e8d8f00d
I/DEBUG ( 196): 4008f0b4 d03c2800 482ee02e f7fb4478 482debb6
I/DEBUG ( 196): 4008f0c4 e0154478 d11342b0 482b6a06 f7fb4478
I/DEBUG ( 196): 4008f0d4 4a2aec2e 46332120 a801447a f9e6f013
I/DEBUG ( 196): 4008f0e4 a8012101 fd00f01a 46061c42 e011d104
I/DEBUG ( 196): 4008f0f4 28006800 e02cd1e6 46294630 f00d4622
I/DEBUG ( 196): 4008f104 1c43e914 d11e4607 f9c4f001 29046801
I am trying to port Cyanogenmod 12 to Trend 2 SM-G313HN, but there is a problem loading the video driver and it is stuck in a infinite bootloop. Looks like the library has some unknown calls or something. With CM11 the video worked.
Here is what logcat shows:
Code:
I/SurfaceFlinger( 2277): SurfaceFlinger is starting
I/SurfaceFlinger( 2277): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
E/libEGL ( 2277): load_driver(/system/lib/egl/libGLES_hawaii.so): dlopen failed: cannot locate symbol "ucnv_convertEx_51" referenced by "libGLES_hawaii.so"...
F/libEGL ( 2277): couldn't find an OpenGL ES implementation
F/libc ( 2277): Fatal signal 6 (SIGABRT), code -6 in tid 2277 (surfaceflinger)
I/DEBUG ( 1596): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 1596): Build fingerprint: 'samsung/cm_vivaltonfc3g/vivaltonfc3g:5.0.2/LRX22G/7bc057ecca:userdebug/test-keys'
I/DEBUG ( 1596): Revision: '1'
I/DEBUG ( 1596): ABI: 'arm'
I/DEBUG ( 1596): pid: 2277, tid: 2277, name: surfaceflinger >>> /system/bin/surfaceflinger <<<
I/DEBUG ( 1596): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
I/DEBUG ( 1596): Abort message: 'couldn't find an OpenGL ES implementation'
I/DEBUG ( 1596): r0 00000000 r1 000008e5 r2 00000006 r3 00000000
I/DEBUG ( 1596): r4 40012114 r5 00000006 r6 00000002 r7 0000010c
I/DEBUG ( 1596): r8 41a11550 r9 00000000 sl 00000000 fp be93da6c
I/DEBUG ( 1596): ip 000008e5 sp be93d4d8 lr 4002f539 pc 40054c6c cpsr 600f0010
I/DEBUG ( 1596):
I/DEBUG ( 1596): backtrace:
I/DEBUG ( 1596): #00 pc 00038c6c /system/lib/libc.so (tgkill+12)
I/DEBUG ( 1596): #01 pc 00013535 /system/lib/libc.so (pthread_kill+52)
I/DEBUG ( 1596): #02 pc 00014293 /system/lib/libc.so (raise+10)
I/DEBUG ( 1596): #03 pc 00010a75 /system/lib/libc.so (__libc_android_abort+36)
I/DEBUG ( 1596): #04 pc 0000f244 /system/lib/libc.so (abort+4)
I/DEBUG ( 1596): #05 pc 00007611 /system/lib/libcutils.so (__android_log_assert+88)
I/DEBUG ( 1596): #06 pc 00043565 /system/lib/libEGL.so
I/DEBUG ( 1596): #07 pc 00010a75 /system/lib/libEGL.so
I/DEBUG ( 1596): #08 pc 00011259 /system/lib/libEGL.so (eglGetDisplay+24)
I/DEBUG ( 1596): #09 pc 000189b3 /system/lib/libsurfaceflinger.so (android::SurfaceFlinger::init()+70)
I/DEBUG ( 1596): #10 pc 000007e1 /system/bin/surfaceflinger
I/DEBUG ( 1596): #11 pc 0000f101 /system/lib/libc.so (__libc_init+44)
I/DEBUG ( 1596): #12 pc 000008d8 /system/bin/surfaceflinger
D/AT_Distributor( 1615): try to connect RIL
E/AT_Distributor( 1615): connection fail & retry connect(62)
I/DEBUG ( 1596):
I/DEBUG ( 1596): Tombstone written to: /data/tombstones/tombstone_01
SOLVED: I had to patch external/icu/icu4c/source/common/ucnv.c
Code:
diff --git a/external/icu/icu4c/source/common/ucnv.c b/external/icu/icu4c/source/common/ucnv.c
index bb4c068..3078368 100755
--- a/external/icu/icu4c/source/common/ucnv.c
+++ b/external/icu/icu4c/source/common/ucnv.c
@@ -2984,6 +2984,74 @@ U_STABLE void U_EXPORT2 UCNV_TO_U_CALLBACK_STOP_48 (
reason, err);
}
+U_CAPI void U_EXPORT2 ucnv_setToUCallBack_51 (UConverter * converter,
+ UConverterToUCallback newAction,
+ const void* newContext,
+ UConverterToUCallback *oldAction,
+ const void** oldContext,
+ UErrorCode * err) {
+ ucnv_setToUCallBack(converter, newAction, newContext,
+ oldAction, oldContext, err);
+}
+
+U_CAPI void U_EXPORT2 ucnv_close_51 (UConverter * converter) {
+ ucnv_close (converter);
+}
+
+U_CAPI void U_EXPORT2
+ucnv_setFromUCallBack_51 (UConverter * converter,
+ UConverterFromUCallback newAction,
+ const void* newContext,
+ UConverterFromUCallback *oldAction,
+ const void** oldContext,
+ UErrorCode * err) {
+
+ ucnv_setFromUCallBack(converter, newAction, newContext, oldAction,
+ oldContext, err);
+}
+
+U_CAPI void U_EXPORT2
+ucnv_convertEx_51 (UConverter *targetCnv, UConverter *sourceCnv,
+ char **target, const char *targetLimit,
+ const char **source, const char *sourceLimit,
+ UChar *pivotStart, UChar **pivotSource,
+ UChar **pivotTarget, const UChar *pivotLimit,
+ UBool reset, UBool flush,
+ UErrorCode *pErrorCode) {
+ ucnv_convertEx(targetCnv, sourceCnv, target, targetLimit, source,
+ sourceLimit, pivotStart, pivotSource,
+ pivotTarget, pivotLimit, reset, flush,
+ pErrorCode);
+}
+
+U_CAPI UConverter* U_EXPORT2
+ucnv_open_51 (const char *name,
+ UErrorCode * err) {
+ return ucnv_open(name, err);
+}
+
+U_STABLE void U_EXPORT2 UCNV_FROM_U_CALLBACK_STOP_51 (
+ const void *context,
+ UConverterFromUnicodeArgs *fromUArgs,
+ const UChar* codeUnits,
+ int32_t length,
+ UChar32 codePoint,
+ UConverterCallbackReason reason,
+ UErrorCode * err) {
+ return UCNV_FROM_U_CALLBACK_STOP(context, fromUArgs, codeUnits,
+ length, codePoint, reason, err);
+}
+
+U_STABLE void U_EXPORT2 UCNV_TO_U_CALLBACK_STOP_51 (
+ const void *context,
+ UConverterToUnicodeArgs *toUArgs,
+ const char* codeUnits,
+ int32_t length,
+ UConverterCallbackReason reason,
+ UErrorCode * err) {
+ return UCNV_TO_U_CALLBACK_STOP(context, toUArgs, codeUnits, length,
+ reason, err);
+}
#endif
/*
good job
hello friend, you managed to finish the CM12?:good:
Nikiz, keep going!
Where can we found your CM11 build for Trend 2 or just a local_manifest?! I would like to compile AOSP 5.1. after I had found 8Gb archive with sources.
Any progress?
TokRa said:
Any progress?
Click to expand...
Click to collapse
I am working on CM11 for this phone. (I have CM12 sources and I am downloading Omnirom 4.4 & 5.1 sources right now) We might have a beta build soon. There are some issues I need to work on. Wifi is not working right now and the RIL has some issues. (Everything else seems to work, but there is no phone number on incoming calls and calling someone kills the audio on the device for some reason)
Thank you! Looking forward to test it.
Nikiz said:
I am working on CM11 for this phone. (I have CM12 sources and I am downloading Omnirom 4.4.4 & 5.2 sources right now) We might have a beta build soon. There are some issues I need to work on. Wifi is not working right now and the RIL has some issues. (Everything else seems to work, but there is no phone number on incoming calls and calling someone kills the audio on the device for some reason)
Click to expand...
Click to collapse
Hey, could you please share a device folder (this one that's boardconfig.mk etcetc)?
Btw i've tried to build aosp 4.4.4_r1 and it compiled fine but sadly it gets stuck on loading (bootloop). Did you use the stock kernel or compiled it from source?
itigr said:
Hey, could you please share a device folder (this one that's boardconfig.mk etcetc)?
Btw i've tried to build aosp 4.4.4_r1 and it compiled fine but sadly it gets stuck on loading (bootloop). Did you use the stock kernel or compiled it from source?
Click to expand...
Click to collapse
At first I used the stock kernel and now I compile it from source. (Kernel configuration is the same as stock, but "Samsung MTP" is disabled, with it MTP does not work correctly) The device configuration is here, I'll update it today.
The device will not boot if your boot.img does not have the device tree-file as a "secondary bootloader" or you aren't using the /init executable from the stock boot.img. vivaltonfc3g is weird.. I am working on reverse engineering some binaries so we can use our own files compiled from source.
Nikiz said:
At first I used the stock kernel and now I compile it from source. (Kernel configuration is the same as stock, but "Samsung MTP" is disabled, with it MTP does not work correctly) The device configuration is here, I'll update it today.
The device will not boot if your boot.img does not have the device tree-file as a "secondary bootloader" or you aren't using the /init executable from the stock boot.img. vivaltonfc3g is weird.. I am working on reverse engineering some binaries so we can use our own files compiled from source.
Click to expand...
Click to collapse
Thanks
I am currently having fun with vivaltods5m (gm313hu. same as yours, an nfc support is the only difference, even stock kernel images are same).
Successfuly downloaded and built omnirom today and it boots fine tho wifi doesn't work and dialer has the same issues that you've had.
But also sound doesn't work, here's a logcat dump
Code:
E/HAL ( 2307): load: module=/system/lib/hw/audio.primary.hawaii.so
E/HAL ( 2307): dlopen failed: cannot locate symbol "pcm_drain" referenced by "audio.primary.hawaii.so"...
E/AudioFlinger( 2307): int android::load_audio_interface(const char*, audio_hw_device_t**) couldn't load audio hw module audio.primary (Invalid argument)
E/AudioPolicyManagerBase( 2307): Not output found for attached devices 00000003
E/AudioPolicyManagerBase( 2307): Failed to open primary output
E/AudioPolicyManagerBase( 2307): getDeviceForStrategy() speaker device not found
maybe i'm missing some proprietary lib or should modify some code. no idea
itigr said:
Thanks
I am currently having fun with vivaltods5m (gm313hu. same as yours, an nfc support is the only difference, even stock kernel images are same).
Successfuly downloaded and built omnirom today and it boots fine tho wifi doesn't work and dialer has the same issues that you've had.
But also sound doesn't work, here's a logcat dump
Code:
E/HAL ( 2307): load: module=/system/lib/hw/audio.primary.hawaii.so
E/HAL ( 2307): dlopen failed: cannot locate symbol "pcm_drain" referenced by "audio.primary.hawaii.so"...
E/AudioFlinger( 2307): int android::load_audio_interface(const char*, audio_hw_device_t**) couldn't load audio hw module audio.primary (Invalid argument)
E/AudioPolicyManagerBase( 2307): Not output found for attached devices 00000003
E/AudioPolicyManagerBase( 2307): Failed to open primary output
E/AudioPolicyManagerBase( 2307): getDeviceForStrategy() speaker device not found
maybe i'm missing some proprietary lib or should modify some code. no idea
Click to expand...
Click to collapse
Oh, I forgot add the patches. You need to modify tinyalsa. Add these anywhere. I put them between pcm_start and pcm_stop.
external/tinyalsa/pcm.c
Code:
int pcm_drain(struct pcm *pcm)
{
if (ioctl(pcm->fd, SNDRV_PCM_IOCTL_DRAIN) < 0)
return oops(pcm, errno, "drain failed");
return 0;
}
external/tinyalsa/include/tinyalsa/asoundlib.h
Code:
int pcm_drain(struct pcm *pcm);
Nikiz said:
Oh, I forgot add the patches. You need to modify tinyalsa. Add these anywhere. I put them between pcm_start and pcm_stop.
external/tinyalsa/pcm.c
Code:
int pcm_drain(struct pcm *pcm)
{
if (ioctl(pcm->fd, SNDRV_PCM_IOCTL_DRAIN) < 0)
return oops(pcm, errno, "drain failed");
return 0;
}
external/tinyalsa/include/tinyalsa/asoundlib.h
Code:
int pcm_drain(struct pcm *pcm);
Click to expand...
Click to collapse
Still no luck. now i'm getting this
Code:
I/AudioFlinger( 2038): loadHwModule() Loaded primary audio interface from BRCM audio HW HAL (audio) handle 1
V/audio_hw( 2038): ENTERING adev_open_output_stream() devices = 0x2 Fs = 44100
V/audio_hw( 2038): dump.audio.pcm = OFF
V/audio_hw( 2038): Data Dump is disabled
D/audio_out( 2038): soundsolution_init sample_rate = 48000
I/wrap_soundbooster( 2038): [wrap_soundbooster] CreateSoundBooster entered
I/wrap_soundbooster( 2038): [wrap_soundbooster] SoundBoosterInit entered
V/alsa_pcm( 2038): PCM INIT
V/alsa_pcm( 2038): PCM OPEN
V/alsa_pcm( 2038): alsa_pcm_open: handle = 0x40f292e8,pcm_handle->handle =0x0
V/alsa_pcm( 2038): alsa_pcm_open:(After)pcm_handle->handle =0x40f292e8
V/alsa_pcm( 2038): buffersize_samples = 4096
D/alsa_pcm( 2038): channels = 2, Fs = 48000, period_size = 0x800, periods = 2
D/alsa_pcm( 2038): pcm_handle->bufSize_bytes = 0x2000 samples = 0x1000
V/alsa_pcm( 2038): (After Norm)pcm_handle->bufSize_bytes =8192
V/alsa_pcm( 2038): PCM CLOSE
V/alsa_pcm( 2038): alsa_pcm_close: handle = 0x40f292e8
V/alsa_hal_controller( 2038): ENTERING select_output_device out_devices = 0x2
V/alsa_hal_controller( 2038): select_output_device out cur dev = 0 device = 2 cur_device_count = 0 new_device_count = 1
V/alsa_hal_controller( 2038): new device to be selected device = 2
V/alsa_hal_controller( 2038): get_playback_device returning driver_device[0] = 4, driver_device[1] = 4
V/alsa_hal_controller( 2038): select_output_device calling set_output_device with SELECT_DEV
V/alsa_hal_controller( 2038): ENTERING set_output_device() driver_device[0] = 4 driver_device[1] = 4
V/alsa_hal_controller( 2038): set_output_device called for cfg_device = 0
V/alsa_hal_controller( 2038): set_stereo_speaker() set to 1
V/alsa_hal_controller( 2038): set_output_device() for P1-SEL & P2-SEL - 4
V/alsa_hal_controller( 2038): LEAVING set_output_device()
V/alsa_hal_controller( 2038): update currentDevice = 2
V/alsa_hal_controller( 2038): LEAVING select_output_device ret
V/audio_out( 2038): ENTERING out_get_format()
V/audio_out( 2038): ENTERING out_get_channels()
V/audio_out( 2038): ENTERING out_get_sample_rate()
V/audio_out( 2038): LEAVING out_get_sample_rate() : sample rate = 48000
V/audio_hw( 2038): LEAVING adev_open_output_stream() out = 0x40f29008 out_stream = 0x40f29008
V/audio_out( 2038): ENTERING out_get_sample_rate()
V/audio_out( 2038): LEAVING out_get_sample_rate() : sample rate = 48000
V/audio_out( 2038): ENTERING out_get_channels()
V/audio_out( 2038): ENTERING out_get_format()
V/audio_out( 2038): ENTERING out_get_format()
V/audio_out( 2038): ENTERING out_get_channels()
V/audio_out( 2038): ENTERING out_get_buffer_size()
V/audio_out( 2038): LEAVING out_get_buffer_size() Buffer size = 8192
I/AudioFlinger( 2038): HAL output buffer size 2048 frames, normal mix buffer size 2048 frames
I/AudioMixer( 2038): found effect "Multichannel Downmix To Stereo" from The Android Open Source Project
V/audio_out( 2038): ENTERING out_get_buffer_size()
V/audio_out( 2038): LEAVING out_get_buffer_size() Buffer size = 8192
V/audio_out( 2038): ENTERING out_get_format()
V/audio_out( 2038): ENTERING out_get_sample_rate()
V/audio_out( 2038): LEAVING out_get_sample_rate() : sample rate = 48000
V/audio_out( 2038): ENTERING out_get_channels()
V/audio_out( 2038): entering out_get_latency()
V/audio_out( 2038): leaving out_get_latency() : 148
V/audio_out( 2038): entering out_get_latency()
V/audio_out( 2038): leaving out_get_latency() : 148
I/AudioFlinger( 2038): Using module 1 has the primary audio interface
V/audio_hw( 2038): ENTERING adev_set_mode() 0 <- 0
V/audio_hw( 2038): LEAVING adev_set_mode() 0
V/AudioPolicyManagerBase( 2038): setOutputDevice() output 2 device 0002 force 1 delayMs 0
I/AudioFlinger( 2038): AudioFlinger's thread 0x4102f008 ready to run
F/libc ( 2038): Fatal signal 11 (SIGSEGV) at 0xbe9d3000 (code=1), thread 2038 (mediaserver)
V/audio_out( 2038): ENTERING out_standby()
V/audio_out( 2038): ENTERING do_output_standby()
V/audio_out( 2038): dump.audio.pcm = OFF
V/audio_out( 2038): Data Dump is disabled
V/audio_out( 2038): LEAVING do_output_standby()
V/audio_out( 2038): LEAVING out_standby()
I/DEBUG ( 1571): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 1571): Build fingerprint: 'unknown'
I/DEBUG ( 1571): Revision: '1'
I/DEBUG ( 1571): pid: 2038, tid: 2038, name: mediaserver >>> /system/bin/mediaserver <<<
I/DEBUG ( 1571): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr be9d3000
I/DEBUG ( 1571): r0 40f29fa8 r1 be9d2fe8 r2 079e2f18 r3 44494f52
I/DEBUG ( 1571): r4 4f52505f r5 54524550 r6 4f575f59 r7 50534b52
I/DEBUG ( 1571): r8 3d454341 r9 40f29708 sl 00000008 fp be9d2748
I/DEBUG ( 1571): ip 00302c39 sp be9d2704 lr 7379732f pc 4008e212 cpsr 200f0070
I/DEBUG ( 1571): d0 734d79616c656420 d1 0000000000000002
I/DEBUG ( 1571): d2 69206f6964756120 d3 656361667265746e
I/DEBUG ( 1571): d4 0000000000000000 d5 0000000000000000
I/DEBUG ( 1571): d6 0000080000000000 d7 40a0000000000000
I/DEBUG ( 1571): d8 0000000000000000 d9 0000000000000000
I/DEBUG ( 1571): d10 0000000000000000 d11 0000000000000000
I/DEBUG ( 1571): d12 0000000000000000 d13 0000000000000000
I/DEBUG ( 1571): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 1571): d16 417349cc01020c4a d17 0000000000000002
I/DEBUG ( 1571): d18 41aad90c7e000000 d19 0000000000000000
I/DEBUG ( 1571): d20 0000000000000000 d21 0000000000000000
I/DEBUG ( 1571): d22 0000000000000000 d23 0000000000000000
I/DEBUG ( 1571): d24 0000000000000000 d25 0000000000000000
I/DEBUG ( 1571): d26 0000000000000000 d27 0000000000000000
I/DEBUG ( 1571): d28 0000000000000000 d29 0000000000000000
I/DEBUG ( 1571): d30 0000000000000000 d31 0000000000000000
I/DEBUG ( 1571): scr 80000010
I/DEBUG ( 1571):
I/DEBUG ( 1571): backtrace:
I/DEBUG ( 1571): #00 pc 00022212 /system/lib/libc.so (__memcpy_base_aligned+69)
I/DEBUG ( 1571): #01 pc 00010645 /system/lib/libutils.so (android::SortedVectorImpl::_indexOrderOf(void const*, unsigned int*) const+48)
I/DEBUG ( 1571): #02 pc 00008e2b /system/lib/libaudiopolicy_sec.so
I/DEBUG ( 1571): #03 pc 0000b6b3 /system/lib/libaudiopolicy_sec.so
I/DEBUG ( 1571): #04 pc 0000f367 /system/lib/libaudiopolicy_sec.so (android::AudioPolicyManagerBase::setOutputDevice(int, unsigned int, bool, int)+50)
I/DEBUG ( 1571): #05 pc 0000f775 /system/lib/libaudiopolicy_sec.so (android::AudioPolicyManagerBase::AudioPolicyManagerBase(android::AudioPolicyClientInterface*)+712)
I/DEBUG ( 1571): #06 pc 00004a0d /system/lib/hw/audio_policy.hawaii.so (android::AudioPolicyManagerALSA::AudioPolicyManagerALSA(android::AudioPolicyClientInterface*)+4)
I/DEBUG ( 1571): #07 pc 00004a81 /system/lib/hw/audio_policy.hawaii.so (createAudioPolicyManager+16)
I/DEBUG ( 1571): #08 pc 00003c55 /system/lib/hw/audio_policy.hawaii.so
I/DEBUG ( 1571): #09 pc 000296e1 /system/lib/libaudioflinger.so (android::AudioPolicyService::AudioPolicyService()+428)
I/DEBUG ( 1571): #10 pc 00001cdd /system/bin/mediaserver
I/DEBUG ( 1571): #11 pc 00001eab /system/bin/mediaserver
I/DEBUG ( 1571): #12 pc 0000e413 /system/lib/libc.so (__libc_init+50)
I/DEBUG ( 1571): #13 pc 00001920 /system/bin/mediaserver
I/DEBUG ( 1571):
I/DEBUG ( 1571): stack:
I/DEBUG ( 1571): be9d26c4 00000002
I/DEBUG ( 1571): be9d26c8 40b6ac30
I/DEBUG ( 1571): be9d26cc 4003264f /system/lib/libaudioflinger.so
I/DEBUG ( 1571): be9d26d0 40a6b508
I/DEBUG ( 1571): be9d26d4 400343f9 /system/lib/libaudioflinger.so
I/DEBUG ( 1571): be9d26d8 00000002
I/DEBUG ( 1571): be9d26dc 00000000
I/DEBUG ( 1571): be9d26e0 00000000
I/DEBUG ( 1571): be9d26e4 00000001
I/DEBUG ( 1571): be9d26e8 40f29008
I/DEBUG ( 1571): be9d26ec 40a6b51c
I/DEBUG ( 1571): be9d26f0 00000002
I/DEBUG ( 1571): be9d26f4 40a6b53c
I/DEBUG ( 1571): be9d26f8 0000bb80
I/DEBUG ( 1571): be9d26fc 00000003
I/DEBUG ( 1571): be9d2700 00000001
I/DEBUG ( 1571): #00 be9d2704 00000000
I/DEBUG ( 1571): be9d2708 40b6a360
I/DEBUG ( 1571): be9d270c 00000000
I/DEBUG ( 1571): be9d2710 00000000
I/DEBUG ( 1571): be9d2714 00000000
I/DEBUG ( 1571): be9d2718 40f29708
I/DEBUG ( 1571): be9d271c 40139647 /system/lib/libutils.so (android::SortedVectorImpl::_indexOrderOf(void const*, unsigned int*) const+50)
I/DEBUG ( 1571): #01 be9d2720 be9d2748 [stack]
I/DEBUG ( 1571): be9d2724 40b6a360
I/DEBUG ( 1571): be9d2728 00000002
I/DEBUG ( 1571): be9d272c 00000000
I/DEBUG ( 1571): be9d2730 00000000
I/DEBUG ( 1571): be9d2734 00000002
I/DEBUG ( 1571): be9d2738 00000001
I/DEBUG ( 1571): be9d273c 40f4bed4 /system/lib/libaudiopolicy_sec.so
I/DEBUG ( 1571): be9d2740 40f48568 /system/lib/libaudiopolicy_sec.so
I/DEBUG ( 1571): be9d2744 40f3ce2f /system/lib/libaudiopolicy_sec.so
I/DEBUG ( 1571): #02 be9d2748 00000002
I/DEBUG ( 1571): be9d274c 00000002
I/DEBUG ( 1571): be9d2750 f750e65e
I/DEBUG ( 1571): be9d2754 40f3f6b7 /system/lib/libaudiopolicy_sec.so
...
I/DEBUG ( 1571): memory map around fault addr be9d3000:
I/DEBUG ( 1571): be9b2000-be9d3000 rw- [stack]
I/DEBUG ( 1571): (no map for address)
I/DEBUG ( 1571): ffff0000-ffff1000 r-x [vectors]
I/ServiceManager( 1567): service 'media.audio_flinger' died
I/ServiceManager( 1567): service 'media.player' died
I/ServiceManager( 1567): service 'media.camera' died
D/hawaii.hwcomposer( 1572): FBDevice::vsync called 61 times
W/AudioSystem( 1972): AudioPolicyService not published, waiting...
Code:
-----------------------------------------------------
signal 11 (SIGSEGV) at 0xbeee0000 (code=1), thread 2194 (mediaserver)
pid: 2194, tid: 2194, name: mediaserver >>> /system/bin/mediaserver <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr beee0000
r0 40f29fa8 r1 beedffe8 r2 079f2f18 r3 44494f52
r4 4f52505f r5 54524550 r6 4f575f59 r7 50534b52
r8 3d454341 r9 40f29708 sl 00000008 fp beedf748
ip 00302c39 sp beedf704 lr 7379732f pc 4008e212
Stack Trace:
RELADDR FUNCTION FILE:LINE
00022212 __memcpy_base_aligned+70 /home/kotek/wdir/android/bionic/libc/arch-arm/cortex-a9/bionic/memcpy_base.S:191
00010645 android::SortedVectorImpl::_indexOrderOf(void const*, unsigned int*) const+48 /home/kotek/wdir/android/system/core/libutils/VectorImpl.cpp:577
00008e2b <unknown> /system/lib/libaudiopolicy_sec.so
0000b6b3 <unknown> /system/lib/libaudiopolicy_sec.so
0000f367 android::AudioPolicyManagerBase::setOutputDevice(int, unsigned int, bool, int)+50 /system/lib/libaudiopolicy_sec.so
0000f775 android::AudioPolicyManagerBase::AudioPolicyManagerBase(android::AudioPolicyClientInterface*)+712 /system/lib/libaudiopolicy_sec.so
00004a0d android::AudioPolicyManagerALSA::AudioPolicyManagerALSA(android::AudioPolicyClientInterface*)+4 /system/lib/hw/audio_policy.hawaii.so
00004a81 createAudioPolicyManager+16 /system/lib/hw/audio_policy.hawaii.so
00003c55 <unknown> /system/lib/hw/audio_policy.hawaii.so
000296e1 android::AudioPolicyService::AudioPolicyService()+428 /home/kotek/wdir/android/frameworks/av/services/audioflinger/AudioPolicyService.cpp:89
00001cdd android::BinderService<android::AudioPolicyService>::publish(bool)+36 /home/kotek/wdir/android/frameworks/native/include/binder/BinderService.h:41
v------> android::BinderService<android::AudioPolicyService>::instantiate() /home/kotek/wdir/android/frameworks/native/include/binder/BinderService.h:49
00001eab main+382 /home/kotek/wdir/android/frameworks/av/media/mediaserver/main_mediaserver.cpp:130
0000e413 __libc_init+50 /home/kotek/wdir/android/bionic/libc/bionic/libc_init_dynamic.cpp:112
00001920 _start+96 register.cpp:?
Stack Data:
ADDR VALUE FUNCTION FILE:LINE
beedf6c4 00000002
beedf6c8 40b6ac30
beedf6cc 4003264f <unknown> /system/lib/libaudioflinger.so
beedf6d0 40a6b508
beedf6d4 400343f9 <unknown> /system/lib/libaudioflinger.so
beedf6d8 00000002
beedf6dc 00000000
beedf6e0 00000000
beedf6e4 00000001
beedf6e8 40f29008
beedf6ec 40a6b51c
beedf6f0 00000002
beedf6f4 40a6b53c
beedf6f8 0000bb80
beedf6fc 00000003
beedf700 00000001
beedf704 00000000
beedf708 40b6a360
beedf70c 00000000
beedf710 00000000
beedf714 00000000
beedf718 40f29708
beedf71c 40139647 android::SortedVectorImpl::_indexOrderOf(void const*, unsigned int*) const+50 /system/lib/libutils.so
beedf720 beedf748 [stack]
beedf724 40b6a360
beedf728 00000002
beedf72c 00000000
beedf730 00000000
beedf734 00000002
beedf738 00000001
beedf73c 40f4ded4 <unknown> /system/lib/libaudiopolicy_sec.so
beedf740 40f4a568 <unknown> /system/lib/libaudiopolicy_sec.so
beedf744 40f3ee2f <unknown> /system/lib/libaudiopolicy_sec.so
beedf748 00000002
beedf74c 00000002
beedf750 0fe7c7b2
beedf754 40f416b7 <unknown> /system/lib/libaudiopolicy_sec.so
Nevermind, got it, i shouldn't use audio_policy.hawaii from stock.
Seems like wifi is barely working for me (slider doesn't grey out). it gets stuck on finding networks
it does not detect rfkill iface
logcat
Code:
I/wpa_supplicant( 2037): wpa_supplicant v2.1-devel-4.4.22014-08-06/01:01:21
I/wpa_supplicant( 2037): [wpa_supplicant_init]: use SECRIL
I/wpa_supplicant( 2037): Successfully initialized wpa_supplicant
I/wpa_supplicant( 2037): >>>>> Not GET KEY, IV <<<<<
I/wpa_supplicant( 2037): >>>>> Not GET KEY, IV <<<<<
I/wpa_supplicant( 2037): rfkill: Cannot open RFKILL control device
I/wpa_supplicant( 2037): CTRL-EVENT-STATE-CHANGE id=-1 state=2 BSSID=00.00.00 SSID=
I/wpa_supplicant( 2037): CTRL-EVENT-STATE-CHANGE id=-1 state=0 BSSID=00.00.00 SSID=
I/wpa_supplicant( 2037): >>>>> Not GET KEY, IV <<<<<
I/wpa_supplicant( 2037): >>>>> Not GET KEY, IV <<<<<
I/wpa_supplicant( 2037): rfkill: Cannot open RFKILL control device
[B]E/wpa_supplicant( 2037): nl80211: Could not configure driver to use managed mode
E/wpa_supplicant( 2037): p2p0: Failed to initialize driver interface[/B]
I/wpa_supplicant( 2037): >>>>> Not GET KEY, IV <<<<<
I/wpa_supplicant( 2037): >>>>> Not GET KEY, IV <<<<<
[B]I/wpa_supplicant( 2037): rfkill: Cannot open RFKILL control device
[/B]I/wpa_supplicant( 2037): CTRL-EVENT-STATE-CHANGE id=-1 state=2 BSSID=00.00.00 SSID=
I/wpa_supplicant( 2037): P2P: initialized channels: 81:1,2,3,4,5,6,7,8,9,10,11,12,13
I/wpa_supplicant( 2037): CTRL-EVENT-STATE-CHANGE id=-1 state=0 BSSID=00.00.00 SSID=
I/wpa_supplicant( 2037): P2P: updated channels: 81:1,2,3,4,5,6,7,8,9,10,11,12,13
I/wpa_supplicant( 2037): wlan0: Setting scan request: 0 sec 0 usec
I/wpa_supplicant( 2037): Skip scan - bUseNetwork false
I/wpa_supplicant( 2037): P2P: updated channels: 81:1,2,3,4,5,6,7,8,9,10,11,12,13
I/wpa_supplicant( 2037): P2P: updated channels: 81:1,2,3,4,5,6,7,8,9,10,11,12,13
itigr said:
Nevermind, got it, i shouldn't use audio_policy.hawaii from stock.
Seems like wifi is barely working for me (slider doesn't grey out). it gets stuck on finding networks
it does not detect rfkill iface
logcat
Code:
I/wpa_supplicant( 2037): wpa_supplicant v2.1-devel-4.4.22014-08-06/01:01:21
I/wpa_supplicant( 2037): [wpa_supplicant_init]: use SECRIL
I/wpa_supplicant( 2037): Successfully initialized wpa_supplicant
I/wpa_supplicant( 2037): >>>>> Not GET KEY, IV <<<<<
I/wpa_supplicant( 2037): >>>>> Not GET KEY, IV <<<<<
I/wpa_supplicant( 2037): rfkill: Cannot open RFKILL control device
I/wpa_supplicant( 2037): CTRL-EVENT-STATE-CHANGE id=-1 state=2 BSSID=00.00.00 SSID=
I/wpa_supplicant( 2037): CTRL-EVENT-STATE-CHANGE id=-1 state=0 BSSID=00.00.00 SSID=
I/wpa_supplicant( 2037): >>>>> Not GET KEY, IV <<<<<
I/wpa_supplicant( 2037): >>>>> Not GET KEY, IV <<<<<
I/wpa_supplicant( 2037): rfkill: Cannot open RFKILL control device
[B]E/wpa_supplicant( 2037): nl80211: Could not configure driver to use managed mode
E/wpa_supplicant( 2037): p2p0: Failed to initialize driver interface[/B]
I/wpa_supplicant( 2037): >>>>> Not GET KEY, IV <<<<<
I/wpa_supplicant( 2037): >>>>> Not GET KEY, IV <<<<<
[B]I/wpa_supplicant( 2037): rfkill: Cannot open RFKILL control device
[/B]I/wpa_supplicant( 2037): CTRL-EVENT-STATE-CHANGE id=-1 state=2 BSSID=00.00.00 SSID=
I/wpa_supplicant( 2037): P2P: initialized channels: 81:1,2,3,4,5,6,7,8,9,10,11,12,13
I/wpa_supplicant( 2037): CTRL-EVENT-STATE-CHANGE id=-1 state=0 BSSID=00.00.00 SSID=
I/wpa_supplicant( 2037): P2P: updated channels: 81:1,2,3,4,5,6,7,8,9,10,11,12,13
I/wpa_supplicant( 2037): wlan0: Setting scan request: 0 sec 0 usec
I/wpa_supplicant( 2037): Skip scan - bUseNetwork false
I/wpa_supplicant( 2037): P2P: updated channels: 81:1,2,3,4,5,6,7,8,9,10,11,12,13
I/wpa_supplicant( 2037): P2P: updated channels: 81:1,2,3,4,5,6,7,8,9,10,11,12,13
Click to expand...
Click to collapse
My wifi is not working either. I get the same error too. There is the same error on the stock rom too, but wifi is working on that, so that might not be the problem.. This has bugged me a long time. And the calling someone "kills the audio" does not actually kill the audio, it is unable to stop the call for some reason and there is no system sounds during a call. It might be because the RIL does not send the UNSOL_CALL_RING-command. I'll try if this patch makes a difference.
Nikiz said:
My wifi is not working either. I get the same error too. There is the same error on the stock rom too, but wifi is working on that, so that might not be the problem.. This has bugged me a long time. And the calling someone "kills the audio" does not actually kill the audio, it is unable to stop the call for some reason and there is no system sounds during a call. It might be because the RIL does not send the UNSOL_CALL_RING-command. I'll try if this patch makes a difference.
Click to expand...
Click to collapse
Yeah, i noticed that too. Just tried out this patch but calls still don't stop.
UPD: incoming calls work fine. i can hang up and speaker/mic works. outgoing call problem still remains, maybe this happens due to dualsim/ril idk.
itigr said:
Yeah, i noticed that too. Just tried out this patch but calls still don't stop.
UPD: incoming calls work fine. i can hang up and speaker/mic works. outgoing call problem still remains, maybe this happens due to dualsim/ril idk.
Click to expand...
Click to collapse
Vivaltonfc3g is actually a single SIM phone. Well, technically it is a dual sim phone with a single SIM slot.. But the patch did not work for me either. Btw, do you get a phone number when receiving an incoming call? I don't.
Nikiz said:
Vivaltonfc3g is actually a single SIM phone. Well, technically it is a dual sim phone with a single SIM slot.. But the patch did not work for me either. Btw, do you get a phone number when receiving an incoming call? I don't.
Click to expand...
Click to collapse
Oh, thought that phone has 2 sim slots . Well, i'm downloading cm11 sources right now since omni got no multisim support and its kinda hard to implement.
No i don't. I just see "+" instead of number, nothing more. But i can see incoming sms numbers.
Also, does "recent apps" button work for you? I can't get it to work, tried changing keymaps but it didn't help.
Code:
E/KeyLayoutMap( 1987): /system/usr/keylayout/bcm_keypad_v2.kl:15: Expected key code label, got 'RECENTAPPS'.
I modified initscript to start wpa_supplicant with detailed debug and found this kinda interesting
Code:
D/wpa_supplicant( 2066): random: Got 1/1 bytes from /dev/random
D/wpa_supplicant( 2066): Get randomness: len=20 entropy=0
D/wpa_supplicant( 2066): random from os_get_random - hexdump(len=20): [REMOVED]
D/wpa_supplicant( 2066): random_mix_pool - hexdump(len=20): [REMOVED]
D/wpa_supplicant( 2066): random from internal pool - hexdump(len=16): [REMOVED]
D/wpa_supplicant( 2066): random_mix_pool - hexdump(len=20): [REMOVED]
D/wpa_supplicant( 2066): random from internal pool - hexdump(len=16): [REMOVED]
D/wpa_supplicant( 2066): mixed random - hexdump(len=20): [REMOVED]
D/wpa_supplicant( 2066): random: Updated entropy file /data/misc/wifi/entropy.bin (own_pool_ready=2)
D/wpa_supplicant( 2066): EAPOL: disable timer tick
D/wpa_supplicant( 2066): EAPOL: Supplicant port status: Unauthorized
[B]D/wpa_supplicant( 2066): nl80211: Set supplicant port unauthorized for 00:00:00:00:00:00[/B]
D/wpa_supplicant( 2066): EAPOL: disable timer tick
[B]D/wpa_supplicant( 2066): EAPOL: Supplicant port status: Unauthorized
[B]D/wpa_supplicant( 2066): nl80211: Set supplicant port unauthorized for 00:00:00:00:00:00[/B][/B]
I wonder why its using 00:00: plaplapla insteada actual macaddr
itigr said:
I modified initscript to start wpa_supplicant with detailed debug and found this kinda interesting
Code:
D/wpa_supplicant( 2066): random: Got 1/1 bytes from /dev/random
D/wpa_supplicant( 2066): Get randomness: len=20 entropy=0
D/wpa_supplicant( 2066): random from os_get_random - hexdump(len=20): [REMOVED]
D/wpa_supplicant( 2066): random_mix_pool - hexdump(len=20): [REMOVED]
D/wpa_supplicant( 2066): random from internal pool - hexdump(len=16): [REMOVED]
D/wpa_supplicant( 2066): random_mix_pool - hexdump(len=20): [REMOVED]
D/wpa_supplicant( 2066): random from internal pool - hexdump(len=16): [REMOVED]
D/wpa_supplicant( 2066): mixed random - hexdump(len=20): [REMOVED]
D/wpa_supplicant( 2066): random: Updated entropy file /data/misc/wifi/entropy.bin (own_pool_ready=2)
D/wpa_supplicant( 2066): EAPOL: disable timer tick
D/wpa_supplicant( 2066): EAPOL: Supplicant port status: Unauthorized
[B]D/wpa_supplicant( 2066): nl80211: Set supplicant port unauthorized for 00:00:00:00:00:00[/B]
D/wpa_supplicant( 2066): EAPOL: disable timer tick
[B]D/wpa_supplicant( 2066): EAPOL: Supplicant port status: Unauthorized
[B]D/wpa_supplicant( 2066): nl80211: Set supplicant port unauthorized for 00:00:00:00:00:00[/B][/B]
I wonder why its using 00:00: plaplapla insteada actual macaddr
Click to expand...
Click to collapse
Interesting.. I have to look into that. I made some changes to telephone related stuff, hopefully it makes some difference. Too bad my computer is really slow so recompiling the whole thing takes hours. And my recent apps-button does not work either. :/
Nikiz said:
Interesting.. I have to look into that. I made some changes to telephone related stuff, hopefully it makes some difference. Too bad my computer is really slow so recompiling the whole thing takes hours. And my recent apps-button does not work either. :/
Click to expand...
Click to collapse
Fixed recent apps-button. https://github.com/TheNikiz/android...mmit/904756156584da6a9cecb37afa2d5a6b56dafb19
Great.
Did these changes that you've made to phone stuff work?