So, everyone wants JB Fully Functional and now that KitKat is on its way, we can discuss on that also. Main things stopping were Wifi, GPS, smooth HD recording, TV-out & Dock Audio. Bounty goes to the Person/Team who get's everything working kernel wise for JellyBean/KitKat. Looks like we are well on our way for this being complete. We already had a thread for this, but the OP decided to mark it for deletion. This thread will not get deleted no matter what as there will be discussions on needs to be done in order to get this project to work also. Now, with all that being said, I just want to clarify a few things with everyone. One, GPS was never broken kernel wise and I have proof of that also from a reputable source. If that person wishes for me to mention his/her name, then just let me know and I will put his/her name here for all to know. I will quote what this person has told me though. Quote is as follows:
GPS was never broken kernel-wise -- It was functional when @bhundven and @m4xm4n and the other contributors at the time ported the kernel to match up with the SGH-T959V's unique circuitry.
What was broken about GPS, and to a great extent, what continues to be broken, is the build tree. As it became "grab this from here and this from there and see if it works" in development style, critical files were omitted or placed on the wrong location on the file system. System properties and configuration have been adopted or left over from previous Android versions or ROM versions that either do nothing, or worse, do the wrong thing. This continues to be a problem, and in ways that may not be immediately visible to the end user.
Click to expand...
Click to collapse
So there you have it, proof that GPS was never broken kernel wise. Now for a little something that this person also mentioned to me. Gonna have some fun with this one, I can see it now. Quote is as follows:
Core functionality is broken, but the Android OS "hides" it from the user so they can function without it. For example, virtually all the KitKat builds posted did not have hardware accelerated video. Another example are optimizations for the aries-series phones that are entirely inappropriate as their internal memory is completely different in both type and size than that in the SGH-T959V.
The kernel is equally a piece of work. Anyone who thinks that video "works" should take a look at logcat. Oh wait, the kernel is compiled without a working logger at boot.
Code:
Unable to open log device '/dev/log/main': No such file or directory
Here, this is what it likely would look like if you could get to logcat
Code:
03-18 02:21:58.535 I/ActivityManager( 463): START u0 {act=android.intent.action.VIEW dat=file:///storage/sdcard0/DCIM/Camera/VID_20140308_052811.mp4 typ=video/mp4 flg=0x3000000 cmp=com.alensw.PicFolder/.PlayerActivity} from pid 1064
03-18 02:21:58.578 D/dalvikvm( 463): GC_CONCURRENT freed 945K, 14% free 6754K/7772K, paused 6ms+6ms, total 178ms
03-18 02:21:58.578 D/dalvikvm( 463): WAIT_FOR_CONCURRENT_GC blocked 23ms
03-18 02:21:58.976 I/OMXCodec( 129): [OMX.SEC.AVC.Decoder] AVC profile = 66 (Baseline), level = 31
03-18 02:21:58.980 I/OMXCodec( 129): [OMX.SEC.AVC.Decoder] video dimensions are 1280 x 720
03-18 02:21:59.164 I/ActivityManager( 463): Displayed com.alensw.PicFolder/.PlayerActivity: +561ms
03-18 02:21:59.223 D/MediaPlayer( 1037): getMetadata
03-18 02:21:59.258 D/dalvikvm( 1037): GC_CONCURRENT freed 829K, 15% free 5393K/6288K, paused 2ms+13ms, total 54ms
03-18 02:21:59.812 I/SoftAAC2( 129): Reconfiguring decoder: 0->16000 Hz, 0->1 channels
03-18 02:21:59.828 W/MediaPlayer( 1037): info/warning (3, 0)
03-18 02:21:59.965 F/libc ( 129): Fatal signal 11 (SIGSEGV) at 0x448a3000 (code=1), thread 1178 (TimedEventQueue)
03-18 02:22:00.074 I/DEBUG ( 124): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
03-18 02:22:00.074 I/DEBUG ( 124): Build fingerprint: 'Samsung/omni_galaxys4gmtd/galaxys4gmtd:4.4.2/KVT49L/eng.jeff.20140317.130802:eng/test-keys'
03-18 02:22:00.074 I/DEBUG ( 124): Revision: '48'
03-18 02:22:00.074 I/DEBUG ( 124): pid: 129, tid: 1178, name: TimedEventQueue >>> /system/bin/mediaserver <<<
03-18 02:22:00.074 I/DEBUG ( 124): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 448a3000
03-18 02:22:00.098 W/NativeCrashListener( 463): Couldn't find ProcessRecord for pid 129
03-18 02:22:00.176 I/DEBUG ( 124): r0 4246b000 r1 448a3000 r2 00000500 r3 000002d0
03-18 02:22:00.176 I/DEBUG ( 124): AM write failure (32 / Broken pipe)
03-18 02:22:00.176 I/DEBUG ( 124): r4 00003fe0 r5 00000000 r6 448a3000 r7 00b5a420
03-18 02:22:00.176 I/DEBUG ( 124): r8 00000000 r9 00b5a030 sl 448a3000 fp 448a3800
03-18 02:22:00.176 I/DEBUG ( 124): ip 00003000 sp 44b3fc70 lr 00003800 pc 40ea4f8c cpsr 80070010
03-18 02:22:00.176 I/DEBUG ( 124): d0 c11c28031f1a947f d1 72262cbfec25d326
03-18 02:22:00.176 I/DEBUG ( 124): d2 5c72990ebb824687 d3 2516fbf1207f68b2
03-18 02:22:00.176 I/DEBUG ( 124): d4 6301b7bb1d9c8284 d5 82314d856ed76a54
03-18 02:22:00.176 I/DEBUG ( 124): d6 14b0b0d8820abeac d7 b4a053c46509c480
03-18 02:22:00.176 I/DEBUG ( 124): d8 817c817d817e8280 d9 8279827a827c817d
03-18 02:22:00.176 I/DEBUG ( 124): d10 827d837d827c817a d11 827d827c827c827d
03-18 02:22:00.180 I/DEBUG ( 124): d12 827d827d827d827d d13 827d827d827d827d
03-18 02:22:00.180 I/DEBUG ( 124): d14 827f827f827f837d d15 827f827f827f827f
03-18 02:22:00.180 I/DEBUG ( 124): d16 817f817f817e817e d17 817f817f817f817f
03-18 02:22:00.180 I/DEBUG ( 124): d18 827e827e81808180 d19 827e827e827e817e
03-18 02:22:00.180 I/DEBUG ( 124): d20 827d827d827d827d d21 827c827e827d827d
03-18 02:22:00.180 I/DEBUG ( 124): d22 817e817e817e827d d23 817f817f817e817e
03-18 02:22:00.180 I/DEBUG ( 124): d24 817f8080817f817f d25 8080808080808080
03-18 02:22:00.180 I/DEBUG ( 124): d26 7e817f80807f807f d27 7e807e817e817e81
03-18 02:22:00.180 I/DEBUG ( 124): d28 8081808180818081 d29 8081808180817f81
03-18 02:22:00.180 I/DEBUG ( 124): d30 8180818081808180 d31 8180818081808180
03-18 02:22:00.180 I/DEBUG ( 124): scr 20000010
03-18 02:22:00.180 I/DEBUG ( 124):
03-18 02:22:00.180 I/DEBUG ( 124): backtrace:
03-18 02:22:00.180 I/DEBUG ( 124): #00 pc 00008f8c /system/lib/libOMX.SEC.AVC.Decoder.so
03-18 02:22:00.180 I/DEBUG ( 124): #01 pc 000037fc <unknown>
03-18 02:22:00.180 I/DEBUG ( 124):
03-18 02:22:00.180 I/DEBUG ( 124): stack:
03-18 02:22:00.183 I/DEBUG ( 124): 44b3fc30 00000000
03-18 02:22:00.183 I/DEBUG ( 124): 44b3fc34 00000500
03-18 02:22:00.183 I/DEBUG ( 124): 44b3fc38 000002d0
03-18 02:22:00.183 I/DEBUG ( 124): 44b3fc3c 44b3fcc0
03-18 02:22:00.183 I/DEBUG ( 124): 44b3fc40 00000002
03-18 02:22:00.183 I/DEBUG ( 124): 44b3fc44 00000000
03-18 02:22:00.183 I/DEBUG ( 124): 44b3fc48 00b5ecc0 [heap]
03-18 02:22:00.183 I/DEBUG ( 124): 44b3fc4c 00000000
03-18 02:22:00.183 I/DEBUG ( 124): 44b3fc50 00b5f4f0 [heap]
03-18 02:22:00.183 I/DEBUG ( 124): 44b3fc54 00000500
03-18 02:22:00.183 I/DEBUG ( 124): 44b3fc58 000002d0
03-18 02:22:00.183 I/DEBUG ( 124): 44b3fc5c 44b3fcc0
03-18 02:22:00.183 I/DEBUG ( 124): 44b3fc60 00b5a030 [heap]
03-18 02:22:00.183 I/DEBUG ( 124): 44b3fc64 40ea1efb /system/lib/libOMX.SEC.AVC.Decoder.so (getVADDRfromANB+42)
03-18 02:22:00.187 I/DEBUG ( 124): 44b3fc68 44b3fcc0
03-18 02:22:00.187 I/DEBUG ( 124): 44b3fc6c 00000000
03-18 02:22:00.187 I/DEBUG ( 124): #00 44b3fc70 00b60a70 [heap]
03-18 02:22:00.187 I/DEBUG ( 124): ........ ........
03-18 02:22:00.187 I/DEBUG ( 124): #01 44b3fc70 00b60a70 [heap]
03-18 02:22:00.187 I/DEBUG ( 124): 44b3fc74 00000000
03-18 02:22:00.187 I/DEBUG ( 124): 44b3fc78 00000500
03-18 02:22:00.187 I/DEBUG ( 124): 44b3fc7c 00b5a420 [heap]
03-18 02:22:00.187 I/DEBUG ( 124): 44b3fc80 000002d0
03-18 02:22:00.187 I/DEBUG ( 124): 44b3fc84 00b5a030 [heap]
03-18 02:22:00.187 I/DEBUG ( 124): 44b3fc88 000e1000
03-18 02:22:00.187 I/DEBUG ( 124): 44b3fc8c 00b5f4f0 [heap]
03-18 02:22:00.187 I/DEBUG ( 124): 44b3fc90 000e1000
03-18 02:22:00.187 I/DEBUG ( 124): 44b3fc94 40e9fbd0 /system/lib/libOMX.SEC.AVC.Decoder.so (SEC_MFC_H264_Decode+1180)
03-18 02:22:00.187 I/DEBUG ( 124): 44b3fc98 00b5a7a8 [heap]
03-18 02:22:00.191 I/DEBUG ( 124): 44b3fc9c 00b60be8 [heap]
03-18 02:22:00.191 I/DEBUG ( 124): 44b3fca0 000e1000
03-18 02:22:00.191 I/DEBUG ( 124): 44b3fca4 000e1000
03-18 02:22:00.191 I/DEBUG ( 124): 44b3fca8 4246b000 /dev/pvrsrvkm
03-18 02:22:00.191 I/DEBUG ( 124): 44b3fcac 4254c000 /dev/pvrsrvkm
(I'll spare you the rest of the dump)
And is BIGMEM and HUGEMEM compiled in or not? There are comments in the Kconfig files "Breaks 720p recording" there.
If you think that it is solid enough for you, that's a personal decision.
From what I can see in the logs and what I know of the code, I think there is a good bit of work left, even past "Does TVOUT work?"
Click to expand...
Click to collapse
So, that's it folks. All for you all to see. Like I said, if this person wishes to have his/her name mentioned for all that, then I will put it here. Now as far as the Bounty is concerned. Nobody is getting a certain portion for fixing just one thing. If you wish to give someone a donation for fixing a certain something that you want/need, then by all means send them one. This Bounty is to have EVERYTHING fixed in the list and to have it work on ALL ROMS without certain patches/scripts that need to be downloaded in order for the fix to work. If you don't like what I'm doing here, then just let me know and I'll remove you from the Bounty list. My portion of the Bounty stands. If someone wishes to be removed, it still stands at double the subtotal up to $250. So, with that being said...
Things Working:
Wifi
GPS
Things Not Working
Smooth HD Recording
TV-Out
Dock Audio
The list for those who are putting funds toward the bounty are below. If I missed anyone, let me know.
myself - Double The Subtotal Up To $250
@itzik2sh - $15
@Beastmode - $5
@johnadelic - $20
@sunsurfer42 - $10
@hutson23 - $20
@ariesgodofwar - $10
@LaTejanaFria - $20
@3rdman - $20
@FBis251 - $5
@turtlepa - $10
@leonardtj - $100
Subtotal - $235
Total - $470
If any of these are incorrect, please let me know and I'll fix it ASAP. If you wish to add to the pot, then please post in this thread and I'll keep it updated. Again, this thread will NOT be deleted.
OK Discussion continue...
I logged with KJ6 and apparently our libclient seems to have a problem
---------- Post added at 07:05 PM ---------- Previous post was at 07:02 PM ----------
D/clientutils( 388): Error: connecting
I/GPS ( 386): gps_init() : SAMSUNG GPS DRIVER INITIALIZED [Ver 2.0] 2011.03.31)
E/GPS ( 386): [assist_gps_set_server][line = 1087] : Failed with SUPL driver is not initialized
E/GPS ( 386): [gps_lcsapi_init][line = 442] : Failed to call BrcmLbs_init(errno = 2)
I/GPS ( 386): [gps_state_done][line = 293] : successfully called
D/Sensors ( 386): Smb380Sensor::~setDelay(0, 66667000)
D/Sensors ( 386): Smb380Sensor::~setDelay(0, 20000000)
E/GPS ( 386): [gps_lcsapi_init][line = 442] : Failed to call BrcmLbs_init(errno = 2)
I/GPS ( 386): [gps_state_done][line = 293] : successfully called
E/GPS ( 386): [gps_lcsapi_init][line = 442] : Failed to call BrcmLbs_init(errno = 2)
I/GPS ( 386): [gps_state_done][line = 293] : successfully called
E/GPS ( 386): [gps_lcsapi_init][line = 442] : Failed to call BrcmLbs_init(errno = 2)
I/GPS ( 386): [gps_state_done][line = 293] : successfully called
Click to expand...
Click to collapse
That was as close as I got. I got the driver initialized as seen above, I fixed the SUPL error with moving a conf file over, but that failed call to the BrcmLbs just kept looping over and over again. I could never get anything close like that again afterwards. lol.
the closest I've gotten is here
Code:
D/gpsclient( 388): gpsClient_ProductionTestStart NOT called!!!!
D/gpsclient( 388): gpsClient_SetPositionMode : <0>
D/gpsclient( 388): gpsClient_SetPositionMode: Sending SOCKET_AGPS_SET_USER_CONFIG to Socket server
D/clientutils( 388): Entering clientUtils_SendCommandToServer
D/agpscodec( 388): Entering agpscodec_EncodeCommand
D/agpscodec( 388): agpscodec_EncodeCommand : 11 , payload : 280 bytes
D/agpscodec( 388): type is copied to the buffer
D/agpscodec( 388): Copying data length
D/agpscodec( 388): Copying data
D/agpscodec( 388): Command encoded.
D/agpscodec( 388): Data :
D/clientutils( 388): ClientThread: Sending the data
D/clientutils( 388): Data sent
D/clientutils( 388): Exiting clientUtils_SendCommandToServer
D/gpsclient( 388): Calling property_get : ril.IMSI
D/gpsclient( 388): Return from property_get : ril.IMSI - <qwqwaqwerwqaerfasdf>
D/gpsclient( 388): IMSI : 310260463304253, MSISDN :
D/gpsclient( 388): gpsClient_Mobile_Info(): Sending SOCKET_AGPS_SUPL_MOBILE_INFO_IND to Socket server
D/clientutils( 388): Entering clientUtils_SendCommandToServer
D/agpscodec( 388): Entering agpscodec_EncodeCommand
D/agpscodec( 388): agpscodec_EncodeCommand : 28 , payload : 72 bytes
D/agpscodec( 388): type is copied to the buffer
D/agpscodec( 388): Copying data length
D/agpscodec( 388): Copying data
D/agpscodec( 388): Command encoded.
D/agpscodec( 388): Data :
D/clientutils( 388): ClientThread: Sending the data
D/clientutils( 388): Data sent
D/clientutils( 388): Exiting clientUtils_SendCommandToServer
D/gpsclient( 388): gpsClient_ServiceStart.SUPL Hardcodeing Enter.
D/gpsclient( 388): FileLineParser name SERVER_MODE_QCOM value 0
D/gpsclient( 388): FileLineParser name SSL_TYPE value 0
D/gpsclient( 388): FileLineParser name SSL value 0
D/gpsclient( 388): FileLineParser name OPERATION_TEST_MODE value 0
D/gpsclient( 388): FileLineParser name ACCURACY value 50
D/gpsclient( 388): FileLineParser name SESSION_TYPE value 1
D/gpsclient( 388): FileLineParser name SERVER_TYPE value 1
D/gpsclient( 388): FileLineParser name START_MODE value 1
D/gpsclient( 388): Hot Start START_MODE value 1
D/gpsclient( 388): FileLineParser name GPS_LOGGING value 1
D/gpsclient( 388): FileLineParser name DYNAMIC_ACCURACY value 1
D/gpsclient( 388): FileLineParser name AGPS_MODE value 0
D/gpsclient( 388): FileLineParser name OPERATION_MODE value STANDALONE
D/gpsclient( 388): STANDALONE OPERATION_MODE value STANDALONE
D/gpsclient( 388): gpsClient_ProductionTestStart NOT called!!!!
D/gpsclient( 388): gpsClient_SetPositionMode : <0>
D/gpsclient( 388): gpsClient_SetPositionMode: Sending SOCKET_AGPS_SET_USER_CONFIG to Socket server
D/clientutils( 388): Entering clientUtils_SendCommandToServer
D/agpscodec( 388): Entering agpscodec_EncodeCommand
D/agpscodec( 388): agpscodec_EncodeCommand : 11 , payload : 280 bytes
D/agpscodec( 388): type is copied to the buffer
D/agpscodec( 388): Copying data length
D/agpscodec( 388): Copying data
D/agpscodec( 388): Command encoded.
I/NotificationStore( 1224): file does not exist: /data/data/com.google.android.gms/files/notification_data.dat
D/agpscodec( 388): Data :
D/clientutils( 388): ClientThread: Sending the data
D/clientutils( 388): Data sent
D/clientutils( 388): Exiting clientUtils_SendCommandToServer
D/gpsclient( 388): FileLineParser name SUPL_PORT value 7276
D/gpsclient( 388): Load_Default entered
D/gpsclient( 388): gpsClient_ProductionTestStart NOT called!!!!
D/gpsclient( 388): gpsClient_SetPositionMode : <1>
D/Sensors ( 388): Smb380Sensor::~setDelay(0, 20000000)
D/Sensors ( 388): Smb380Sensor::~setDelay(0, 20000000)
D/gpsclient( 388): gpsClient_SetPositionMode: Sending SOCKET_AGPS_SET_USER_CONFIG to Socket server
D/clientutils( 388): Entering clientUtils_SendCommandToServer
D/agpscodec( 388): Entering agpscodec_EncodeCommand
D/agpscodec( 388): agpscodec_EncodeCommand : 11 , payload : 280 bytes
D/agpscodec( 388): type is copied to the buffer
D/agpscodec( 388): Copying data length
D/agpscodec( 388): Copying data
D/agpscodec( 388): Command encoded.
D/agpscodec( 388): Data :
D/clientutils( 388): ClientThread: Sending the data
D/clientutils( 388): Data sent
D/clientutils( 388): Exiting clientUtils_SendCommandToServer
D/gpsclient( 388): SUPL_HOST lbs.geo.t-mobile.com PORT n
D/gpsclient( 388): SetConfiguration: Sending SOCKET_AGPS_SET_USER_CONFIG to Socket server
D/clientutils( 388): Entering clientUtils_SendCommandToServer
D/agpscodec( 388): Entering agpscodec_EncodeCommand
D/agpscodec( 388): agpscodec_EncodeCommand : 11 , payload : 280 bytes
D/agpscodec( 388): type is copied to the buffer
D/agpscodec( 388): Copying data length
D/agpscodec( 388): Copying data
D/agpscodec( 388): Command encoded.
D/agpscodec( 388): Data :
D/clientutils( 388): ClientThread: Sending the data
D/clientutils( 388): Data sent
D/clientutils( 388): Exiting clientUtils_SendCommandToServer
D/gpsclient( 388): SetConfiguration: Sending SOCKET_AGPS_SET_USER_CONFIG to Socket server
D/clientutils( 388): Entering clientUtils_SendCommandToServer
D/agpscodec( 388): Entering agpscodec_EncodeCommand
D/agpscodec( 388): agpscodec_EncodeCommand : 11 , payload : 280 bytes
D/agpscodec( 388): type is copied to the buffer
D/agpscodec( 388): Copying data length
D/agpscodec( 388): Copying data
D/agpscodec( 388): Command encoded.
D/agpscodec( 388): Data :
D/clientutils( 388): ClientThread: Sending the data
D/clientutils( 388): Data sent
D/clientutils( 388): Exiting clientUtils_SendCommandToServer
D/gpsclient( 388): Load_Default exited
D/gpsclient( 388): FileLineParser name ENABLE_XTRA value 1
D/gpsclient( 388): FileLineParser name TIMEOUT value 255
D/gpsclient( 388): FileLineParser name SUPL_HOST value supl.google.com
D/gpsclient( 388): SUPL_HOST SUPL_HOST value supl.google.com
D/gpsclient( 388): SetConfiguration: Sending SOCKET_AGPS_SET_USER_CONFIG to Socket server
D/clientutils( 388): Entering clientUtils_SendCommandToServer
D/agpscodec( 388): Entering agpscodec_EncodeCommand
D/agpscodec( 388): agpscodec_EncodeCommand : 11 , payload : 280 bytes
D/agpscodec( 388): type is copied to the buffer
D/agpscodec( 388): Copying data length
D/agpscodec( 388): Copying data
D/agpscodec( 388): Command encoded.
D/agpscodec( 388): Data :
D/clientutils( 388): ClientThread: Sending the data
D/clientutils( 388): Data sent
D/clientutils( 388): Exiting clientUtils_SendCommandToServer
D/gpsclient( 388): SetConfiguration: Sending SOCKET_AGPS_SET_USER_CONFIG to Socket server
D/clientutils( 388): Entering clientUtils_SendCommandToServer
D/agpscodec( 388): Entering agpscodec_EncodeCommand
D/agpscodec( 388): agpscodec_EncodeCommand : 11 , payload : 280 bytes
D/agpscodec( 388): type is copied to the buffer
D/agpscodec( 388): Copying data length
D/agpscodec( 388): Copying data
D/agpscodec( 388): Command encoded.
D/agpscodec( 388): Data :
D/clientutils( 388): ClientThread: Sending the data
D/clientutils( 388): Data sent
D/clientutils( 388): Exiting clientUtils_SendCommandToServer
D/gpsclient( 388): gpsClient_ServiceStart.SUPL Hardcodeing Done.
D/gpsclient( 388): Entering gpsClient_ServiceStart()
D/gpsclient( 388): gpsClient_Start(): Sending SOCKET_AGPS_SERVICE_START to Socket server
D/clientutils( 388): Entering clientUtils_SendCommandToServer
D/agpscodec( 388): Entering agpscodec_EncodeCommand
D/agpscodec( 388): agpscodec_EncodeCommand : 1 , payload : 0 bytes
D/agpscodec( 388): type is copied to the buffer
D/agpscodec( 388): Copying data length
D/agpscodec( 388): Command encoded.
D/agpscodec( 388): Data :
D/clientutils( 388): ClientThread: Sending the data
D/clientutils( 388): Data sent
D/clientutils( 388): Exiting clientUtils_SendCommandToServer
D/clientutils( 388): clientUtils_WaitForStatusFromServer
D/clientutils( 388): clientUtils_WaitForStatusFromServer : Done
D/gpsclient( 388): +gpsClient_Start.SOCKET_AGPS_SERVICE_START DONE.Status[4]!
D/gpsclient( 388): PeriodicFix(): Sending SOCKET_AGPS_PERIODIC_FIX to Socket server 2 , 511
D/clientutils( 388): Entering clientUtils_SendCommandToServer
D/agpscodec( 388): Entering agpscodec_EncodeCommand
D/agpscodec( 388): agpscodec_EncodeCommand : 4 , payload : 12 bytes
D/agpscodec( 388): type is copied to the buffer
D/agpscodec( 388): Copying data length
D/agpscodec( 388): Copying data
D/agpscodec( 388): Command encoded.
D/agpscodec( 388): Data :
D/clientutils( 388): ClientThread: Sending the data
D/clientutils( 388): Data sent
D/clientutils( 388): Exiting clientUtils_SendCommandToServer
D/clientutils( 388): clientUtils_WaitForStatusFromServer
getochkn said:
That was as close as I got. I got the driver initialized as seen above, I fixed the SUPL error with moving a conf file over, but that failed call to the BrcmLbs just kept looping over and over again. I could never get anything close like that again afterwards. lol.
Click to expand...
Click to collapse
Interestingly this appears to be the same error that was reported with the Nexus S.
Theraze said:
Interestingly this appears to be the same error that was reported with the Nexus S.
Click to expand...
Click to collapse
It was a mash of Vibrant GPS files pulled from their Remics, what I used to fix Remics ICS for our devices, a patch for the GPS for Remics JB 4.2.2 and whatever day I pulled the build from Air's git. lol. I'd be lucky to recreate it if someone knew what caused it or how to fix it. lol.
getochkn said:
It was a mash of Vibrant GPS files pulled from their Remics, what I used to fix Remics ICS for our devices, a patch for the GPS for Remics JB 4.2.2 and whatever day I pulled the build from Air's git. lol. I'd be lucky to recreate it if someone knew what caused it or how to fix it. lol.
Click to expand...
Click to collapse
I have a few loose theories. They would be answered with getting an strace, as I showed in the deleteme thread. I'll explain more as I go...
airfluip1 said:
the closest I've gotten is here
Click to expand...
Click to collapse
I'd suggest going through your post and remove imei and other personal data. Just sayin...
getochkn said:
That was as close as I got. I got the driver initialized as seen above, I fixed the SUPL error with moving a conf file over, but that failed call to the BrcmLbs just kept looping over and over again. I could never get anything close like that again afterwards. lol.
Click to expand...
Click to collapse
If you find the function that fails in the code.. throw in a stacktrace or print out some data that function is handling. It may just be a regression in brcmlbs.
Sent from my boombox AT&T Note
Just wanted to clarify my request was Wifi, GPS and
itzik2sh said:
+ smooth HD recording and playback and fully working TV out.
10$ added to bounty.
sent from me
Click to expand...
Click to collapse
itzik2sh said:
Just wanted to clarify my request was Wifi, GPS and
Click to expand...
Click to collapse
OP updated.
sent from within the white knight
bhundven said:
I have a few loose theories. They would be answered with getting an strace, as I showed in the deleteme thread. I'll explain more as I go...
If you find the function that fails in the code.. throw in a stacktrace or print out some data that function is handling. It may just be a regression in brcmlbs.
Sent from my boombox AT&T Note
Click to expand...
Click to collapse
Well this is the long weekend coming up in Canada, and I'm going out of town to Niagara Falls with my girlfriend, so that takes priority over GPS this weekend, but I'll try to recreate what I did to get to that point next week and see what kind of info I can get from there.
GFX.myst. said:
OP updated.
sent from within the white knight
Click to expand...
Click to collapse
Please fix "Main things stopping were Wife" to WiFi.... LOL
getochkn said:
Well this is the long weekend coming up in Canada, and I'm going out of town to Niagara Falls with my girlfriend
Click to expand...
Click to collapse
Have fun bro, I love the Canadian Niagara Falls, it has great atmosphere.
TV out wont ever work since our phone is incapable of loading the libs for some reason... I'll look into it more, but that's my diagnosis.
airfluip1 said:
TV out wont ever work since our phone is incapable of loading the libs for some reason... I'll look into it more, but that's my diagnosis.
Click to expand...
Click to collapse
Which is weird since it had been working on Herring ICS. Why would it work on Herring ICS/GB and no longer be capable on Aries? Sadness. The last part of the bounty may keep things sitting for quite some time.
I now hold in my hand - Galaxy S i9000 with Aries and TV-out working on CM10.1...
Never say never. If you call it, it will come.
Does the current cm 10.1 not record in 720p?
Sent from my SGH-T959V using xda app-developers app
our device hates the tv out libs... I will look into it.
---------- Post added at 12:23 PM ---------- Previous post was at 12:22 PM ----------
right now... I am getting a GPSD strace winkwink bryan.
airfluip1 said:
our device hates the tv out libs... I will look into it.
Click to expand...
Click to collapse
airfluip1 said:
TV out wont ever work since our phone is incapable of loading the libs for some reason... I'll look into it more, but that's my diagnosis.
Click to expand...
Click to collapse
Don't try it, that guy said it wouldn't work.
FB, you managed to confuse me...
also, bryan I am unable to get a strace log out.
am I doing this wrong for the GPSD?
service gpsd /system/xbin/strace -tt -o /data/gps.strace /system/vendor/bin/gpsd -c /system/etc/gps.xml
airfluip1 said:
our device hates the tv out libs... I will look into it.
---------- Post added at 12:23 PM ---------- Previous post was at 12:22 PM ----------
right now... I am getting a GPSD strace winkwink bryan.
Click to expand...
Click to collapse
I don't care about Tv out...
Just GPS and its a perfect phone for me..
Since you fixed network problems and
added governors to cm 10.1 my phone is the ****
Thanks team UserDebug...
Sent from my Kindle Fire using xda premium
hutson23 said:
I don't care about Tv out...
Just GPS and its a perfect phone for me..
Since you fixed network problems and
added governors to cm 10.1 my phone is the ****
Thanks team UserDebug...
Sent from my Kindle Fire using xda premium
Click to expand...
Click to collapse
now now, we have to be fair to everyone's requests. some people could care less about the things others want. example: you want gps and wifi, but i could care less about those two. now, i'm gonna add to that list cause what i want is something this phone had on froyo (not sure about gb) which is dock audio and is something i could use personally cause i own the dock for my sgs4g. i'm also gonna bump up my amount to $75 cause 1, i can and 2, i feel that feature would be worth the extra $25.
sent from within the white knight
edit: OP updated.
Related
Hey there,
I did post about the issue I'd been having with all recent ROM's in the CyanogenMod thread, but am posting my own thread as I've seen no one else bring up the issue.
Essentially, on all ROM's I've tried since but not including nk02's 4.0, including CyanogenMod 3.9.x and nk02's 4.1.x, I cannot run the browser or anything dependant on it, like Market, opening email, completing the initial wizard.
This is the output of logcat while starting Browser:-
Code:
I/ActivityManager( 127): Starting activity: Intent { action=android.intent.acti
on.MAIN categories={android.intent.category.LAUNCHER} flags=0x10200000 comp={com
.android.browser/com.android.browser.BrowserActivity} }
I/ActivityManager( 127): Start proc com.android.browser for activity com.androi
d.browser/.BrowserActivity: pid=404 uid=10034 gids={3003}
I/ActivityThread( 404): Publishing provider browser: com.android.browser.Browse
rProvider
I/DEBUG ( 108): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *
**
I/DEBUG ( 108): Build fingerprint: 'tmobile/kila/dream/trout:1.5/CRC1/150275:
user/ota-rel-keys,release-keys'
I/DEBUG ( 108): pid: 404, tid: 416 >>> com.android.browser <<<
I/DEBUG ( 108): signal 11 (SIGSEGV), fault addr 010867e8
I/DEBUG ( 108): r0 45017a34 r1 001bfd9c r2 001cec24 r3 00000000
I/DEBUG ( 108): r4 001bfd9c r5 00000007 r6 00217e00 r7 aa073e55
I/DEBUG ( 108): r8 45017d9c r9 423afed8 10 423afec4 fp 00000001
I/DEBUG ( 108): ip 7fe00000 sp 45017a34 lr aa1c4739 pc 010867e8 cpsr 000
00010
D/dalvikvm( 404): GC freed 1976 objects / 148848 bytes in 134ms
I/DEBUG ( 108): #00 pc 010867e8
I/DEBUG ( 108): #01 pc 001c4736 /system/lib/libwebcore.so
I/DEBUG ( 108): stack:
I/DEBUG ( 108): 450179f4 00000001
I/DEBUG ( 108): 450179f8 00000000
I/DEBUG ( 108): 450179fc afe2defc /system/lib/libc.so
I/DEBUG ( 108): 45017a00 aa16fed3 /system/lib/libwebcore.so
I/DEBUG ( 108): 45017a04 aa16fec1 /system/lib/libwebcore.so
I/DEBUG ( 108): 45017a08 00000000
I/DEBUG ( 108): 45017a0c 001ceb28 [heap]
I/DEBUG ( 108): 45017a10 00000000
I/DEBUG ( 108): 45017a14 001cf4c8 [heap]
I/DEBUG ( 108): 45017a18 00000984
I/DEBUG ( 108): 45017a1c aa170389 /system/lib/libwebcore.so
I/DEBUG ( 108): 45017a20 00000000
I/DEBUG ( 108): 45017a24 001c0a08 [heap]
I/DEBUG ( 108): 45017a28 df002777
I/DEBUG ( 108): 45017a2c e3a070ad
I/DEBUG ( 108): 45017a30 00000000
I/DEBUG ( 108): #01 45017a34 001c0a08 [heap]
I/DEBUG ( 108): 45017a38 aa073e55 /system/lib/libwebcore.so
I/DEBUG ( 108): 45017a3c aa14bf1b /system/lib/libwebcore.so
I/DEBUG ( 108): 45017a40 001c0a08 [heap]
I/DEBUG ( 108): 45017a44 001bfd08 [heap]
I/DEBUG ( 108): 45017a48 001c0a08 [heap]
I/DEBUG ( 108): 45017a4c aa1aa761 /system/lib/libwebcore.so
I/DEBUG ( 108): 45017a50 001c0a08 [heap]
I/DEBUG ( 108): 45017a54 aa183c9b /system/lib/libwebcore.so
I/DEBUG ( 108): 45017a58 0000000a
I/DEBUG ( 108): 45017a5c 45017aa8
I/DEBUG ( 108): 45017a60 aa3db598 /system/lib/libwebcore.so
I/DEBUG ( 108): 45017a64 00000000
I/DEBUG ( 108): 45017a68 00000000
I/DEBUG ( 108): 45017a6c 00000000
I/DEBUG ( 108): 45017a70 00000000
I/DEBUG ( 108): 45017a74 00000000
I/DEBUG ( 108): 45017a78 00000000
I/ActivityManager( 127): Process com.android.browser (pid 404) has died.
I/WindowManager( 127): WIN DEATH: Window{438c7088 com.android.browser/com.andro
id.browser.BrowserActivity paused=false}
I/DEBUG ( 108): debuggerd committing suicide to free the zombie!
D/Zygote ( 110): Process 404 terminated by signal (11)
I/DEBUG ( 417): debuggerd: May 13 2009 19:02:52
W/InputManagerService( 127): Window already focused, ignoring focus gain of: co
[email protected]
D/dalvikvm( 208): GC freed 196 objects / 8496 bytes in 128ms
Any idea what could be causing this? My phone is running the 32B engineering SPL and RAv1.1.2 recovery. I have tried mounting over usb, adb, and putting the card in a reader to upload the update.zip to the card. I have tried wiping several times before flashing. I have tried different mSD cards, and using different computers to push the files. I am really stumped as to why I cannot run Browser yet seemingly everyone else with a 32B phone can.
I'm willing to test updates in an attempt to fix the problem. Any help really appreciated!
Using nk02's rom, this is the logcat output of the wizard after pressing next on the screen where it asks if google can collect location data. If I've not skipped giving it the google login details, the phone will get stuck on a screen saying 'Signed in!', with a dimmed next button. If I skip giving it the google login details, and attempt to pass the collect location data screen, it'll show 'Date & Time settings' briefly at the top before looping back to the sign in screen with the same output to logcat
Code:
I/ServiceStateTracker( 119): Auto time state changed
I/ActivityManager( 56): Starting activity: Intent { comp={com.android.settings
/com.android.settings.DateTimeSettingsSetupWizard} }
I/ActivityManager( 56): Start proc com.android.settings for activity com.andro
id.settings/.DateTimeSettingsSetupWizard: pid=445 uid=1000 gids={3002, 3001, 300
3}
D/dalvikvm( 34): GC freed 277 objects / 10448 bytes in 342ms
D/dalvikvm( 34): GC freed 42 objects / 1864 bytes in 164ms
D/dalvikvm( 34): GC freed 2 objects / 56 bytes in 187ms
I/DEBUG ( 325): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *
**
I/DEBUG ( 325): Build fingerprint: 'google_ion/google_ion/sapphire/sapphire:1
.5/CRB43/148830:user/adp,test-keys'
I/DEBUG ( 325): pid: 445, tid: 445 >>> com.android.settings <<<
I/DEBUG ( 325): signal 4 (SIGILL), fault addr ad494ce8
I/DEBUG ( 325): r0 bef87f00 r1 bef87ee0 r2 00000000 r3 00000002
I/DEBUG ( 325): r4 001a78c4 r5 fff8df51 r6 ad4abbf8 r7 bef87778
I/DEBUG ( 325): r8 bef88124 r9 bef88124 10 ad4abdd0 fp ad4abdd0
I/DEBUG ( 325): ip ad4abf20 sp bef87698 lr ad496e3d pc ad494ce8 cpsr 800
00030
I/DEBUG ( 325): #00 pc 00094ce8 /system/lib/libicui18n.so
I/DEBUG ( 325): #01 lr ad496e3d /system/lib/libicui18n.so
I/DEBUG ( 325): stack:
I/DEBUG ( 325): bef87658 afe39dd0
I/DEBUG ( 325): bef8765c bef88124 [stack]
I/DEBUG ( 325): bef87660 ad4abdd0
I/DEBUG ( 325): bef87664 00000000
I/DEBUG ( 325): bef87668 bef87f00 [stack]
I/DEBUG ( 325): bef8766c 00000003
I/DEBUG ( 325): bef87670 001a78c4 [heap]
I/DEBUG ( 325): bef87674 ad533619 /system/lib/libicuuc.so
I/DEBUG ( 325): bef87678 00000000
I/DEBUG ( 325): bef8767c 00000000
I/DEBUG ( 325): bef87680 001a78a0 [heap]
I/DEBUG ( 325): bef87684 001a78c4 [heap]
I/DEBUG ( 325): bef87688 ad53a4a5 /system/lib/libicuuc.so
I/DEBUG ( 325): bef8768c 001a78c4 [heap]
I/DEBUG ( 325): bef87690 df002777
I/DEBUG ( 325): bef87694 e3a070ad
I/DEBUG ( 325): #00 bef87698 bef88124 [stack]
I/DEBUG ( 325): bef8769c 00000000
I/DEBUG ( 325): bef876a0 00000000
I/DEBUG ( 325): bef876a4 00000000
I/DEBUG ( 325): bef876a8 ffffffff
I/DEBUG ( 325): bef876ac 00000000
I/DEBUG ( 325): bef876b0 00000000
I/DEBUG ( 325): bef876b4 00000000
I/DEBUG ( 325): bef876b8 00000000
I/DEBUG ( 325): bef876bc 00000000
I/DEBUG ( 325): bef876c0 00000000
I/DEBUG ( 325): bef876c4 00000000
I/DEBUG ( 325): bef876c8 00000000
I/DEBUG ( 325): bef876cc 00000000
I/DEBUG ( 325): bef876d0 00000000
I/DEBUG ( 325): bef876d4 bef87c78 [stack]
I/DEBUG ( 325): bef876d8 000005b8
I/DEBUG ( 325): bef876dc 00000000
I/ActivityManager( 56): Process com.android.settings (pid 445) has died.
D/Zygote ( 34): Process 445 terminated by signal (4)
W/InputManagerService( 56): Window already focused, ignoring focus gain of: co
[email protected]
I/ActivityManager( 56): Displayed activity com.android.setupwizard/.CloseAndLa
unchActivity: 117600 ms
If anyone has any idea what I'm doing wrong can they please inform me. Is my phone faulty? Everything else appears to be working fine. The flash completes without errors and the phone boots into a usable state with all hardware functioning fine.
nk02's ROM is unusable as I cannot get past the setup wizard. It just respawns if I kill it.
I'd love to get this sorted as my phone is useless at the moment
Just had a similar issue with SuperD v1.8. Browser and market would crash on startup. Library file /system/lib/libwebcore.so was causing it due to corruption during rom flashing. Not sure why this suddenly started to happen but if you check the file size it is correct, but the md5sum will differ from one extracted from the rom zip file. I pushed the extracted library to /system/lib and it fixed the issue. Of course you have to do this with /system mounted r/w.
The only thing I can think of is the recovery image is causing it since unzipping this file on my linux box produces a working library. Unzipping from recovery produces a corrupt file.
Just had a similar issue with SuperD v1.8. Browser and market would crash on startup. Library file /system/lib/libwebcore.so was causing it due to corruption during rom flashing. Not sure why this suddenly started to happen but if you check the file size it is correct, but the md5sum will differ from one extracted from the rom zip file. I pushed the extracted library to /system/lib and it fixed the issue. Of course you have to do this with /system mounted r/w.
The only thing I can think of is the recovery image is causing it since unzipping this file on my linux box produces a working library. Unzipping from recovery produces a corrupt file.
tmusall said:
Just had a similar issue with SuperD v1.8. Browser and market would crash on startup. Library file /system/lib/libwebcore.so was causing it due to corruption during rom flashing. Not sure why this suddenly started to happen but if you check the file size it is correct, but the md5sum will differ from one extracted from the rom zip file. I pushed the extracted library to /system/lib and it fixed the issue. Of course you have to do this with /system mounted r/w.
The only thing I can think of is the recovery image is causing it since unzipping this file on my linux box produces a working library. Unzipping from recovery produces a corrupt file.
Click to expand...
Click to collapse
Here's what I tried:
Using fastboot erase the recovery partition. Again from fastboot flash recovery-RA-sapphire-v1.5.2G.img. This is for a myTouch 3G, so if you've got a G1 use the proper recovery image. Reboot.
Reboot into recovery and flashed rom NexusSuperD18.zip.
From adb shell:
md5sum of /system/lib/libwebcore.so - 96a7cef79de087111c84c76f50353b18 (Correct checksum)
Reboot and let rom initialize. Fire up Browser and is still crashes!
Reboot back to recovery and check md5sum again:
/system/lib # md5sum libwebcore.so
03e1950b02dd5fb1f00750065aea66d1 libwebcore.so (WRONG!)
Something during first boot initialization has corrupted this library. I've got no idea what is causing this, but for now the only way to get it working is to push a good library in its place.
Hi!
This is my first post on this forum, I hope I picked the right board and understood all the rules correctly.
I had a conversation with the author of the ScummVM android port about this.
Executive summary:
The problem is that ScummVM 1.0.0pre0 cannot locate a symbol that should be in the shared object that's part of the scumm plugin. The author thought that maybe cyanogenmod might have some changed linker behaviour, so that' why I'm asking here.
The gory details:
German T-Mobile G1
Cyanogenmod 4.2.7.1 at first, by now it's 4.2.8
ScummVM 1.0.0pre0
German VGA DOS Version of Day of the Tentacle
VGA DOS Version of Monkey Island 1
I first installed the libscumm plugin for scummvm, and then scummvm itself. Tried to add monkey island:
"ScummVM could not find any game in the specified directory!"
The same folder in scummvm on linux works. (I can even add it from the sdcard of my phone.)
Ok, so I said "wrong order, silly!", remove scummvm and the plugin, then reinstalled first scummvm, then the plugin. No help.
The "about" screen in ScummVM says nothing at all under "Available engines", so the plugin isn't even loaded.
Here's a logcat:
I/ActivityManager( 2777): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=org.inodes.gus.scummvm/.ScummVMActivity }
I/ActivityManager( 2777): Start proc org.inodes.gus.scummvm for activity org.inodes.gus.scummvm/.ScummVMActivity: pid=7626 uid=10128 gids={1015}
D/dalvikvm( 2759): GC freed 300 objects / 11472 bytes in 316ms
D/dalvikvm( 2759): GC freed 57 objects / 2536 bytes in 70ms
I/WindowManager( 2777): Setting rotation to 1, animFlags=0
I/WindowManager( 2777): Config changed: { scale=1.0 imsi=0/0 loc=de_DE touch=3 keys=2/1/2 nav=3 orien=2 layout=18}
W/WindowManager( 2777): performLayoutAndPlaceSurfacesLocked called while in layout
D/dalvikvm( 2759): GC freed 2 objects / 48 bytes in 602ms
D/dalvikvm( 2777): GC freed 26803 objects / 1448952 bytes in 1121ms
D/StatusBar( 2777): updateResources
I/ActivityManager( 2777): Starting activity: Intent { cmp=org.inodes.gus.scummvm/.Unpacker }
I/ActivityManager( 2777): Start proc org.inodes.gus.scummvm for broadcast org.inodes.gus.scummvm.plugin.scumm/org.inodes.gus.scummvm.PluginProvider: pid=7633 uid=10129 gids={1015}
I/ActivityManager( 2777): Process com.android.calendar (pid 7555) has died.
W/IInputConnectionWrapper( 2830): showStatusIcon on inactive InputConnection
I/ActivityManager( 2777): Displayed activity org.inodes.gus.scummvm/.Unpacker: 550 ms (total 3735 ms)
I/ActivityManager( 2777): Process org.inodes.gus.scummvm (pid 7633) has died.
D/dalvikvm( 7626): Trying to load lib /data/data/org.inodes.gus.scummvm/cache/libscummvm.so 0x43a64bc8
I/ActivityManager( 2777): Displayed activity org.inodes.gus.scummvm/.ScummVMActivity: 5362 ms (total 5362 ms)
D/dalvikvm( 7626): Added shared lib /data/data/org.inodes.gus.scummvm/cache/libscummvm.so 0x43a64bc8
D/ScummVM ( 7626): Entering scummvm_main with 5 args
W/ScummVM ( 7626): Failed loading symbol 'PLUGIN_getVersion' from plugin '/data/data/org.inodes.gus.scummvm/cache/libscummvm.so' (Symbol not found: )
W/ScummVM ( 7626): Failed loading plugin '/data/data/org.inodes.gus.scummvm/cache/libscumm.so' (Cannot load library: reloc_library[1245]: 2759 cannot locate '_ZN6Common20updateGameGUIOptionsEj'...)
D/ScummVM ( 7626): Setting audio sampling rate to 44100HZ
D/ScummVM ( 7626): New surface is 480x320 bpr=960
W/AudioFlinger( 2760): write blocked for 90 msecs
D/ScummVM ( 7626): New surface is 480x320 bpr=960
D/dalvikvm( 2777): GC freed 3724 objects / 167976 bytes in 419ms
D/WifiService( 2777): ACTION_BATTERY_CHANGED pluggedType: 2
D/dalvikvm( 7108): GC freed 163 objects / 22264 bytes in 826ms
I/ActivityManager( 2777): Process android.process.media (pid 7542) has died.
I/WindowManager( 2777): onOrientationChanged, rotation changed to 1
D/dalvikvm( 7082): GC freed 155 objects / 372096 bytes in 790ms
D/NetworkLocationProvider( 2777): getLocation(): triggering a wifi scan
I/wpa_supplicant( 6909): CTRL-EVENT-SCAN-RESULTS Ready
D/ConnectBot.TerminalManager( 6987): Stopping service after timeout of ~300 seconds
I/ActivityManager( 2777): Stopping service: org.connectbot/.service.TerminalManager
I/ConnectBot.TerminalManager( 6987): Destroying background service
D/dalvikvm( 7062): GC freed 374 objects / 12920 bytes in 1225ms
D/dalvikvm( 3319): GC freed 141 objects / 188432 bytes in 583ms
D/dalvikvm( 6987): GC freed 235 objects / 12720 bytes in 837ms
Angus Lees says:
The problem is this line:
W/ScummVM ( 7626): Failed loading plugin '/data/data/org.inodes.gus.scummvm/cache/libscumm.so' (Cannot load library: reloc_library[1245]: 2759 cannot locate '_ZN6Common20updateGameGUIOptionsEj'...)
not sure why yet - perhaps cyanogen has changed some linker behaviour so a dynamically loaded library can't find symbols in another dynamically loaded library.
What version of Android is cyanogen 4.7.2.1 based on?
Click to expand...
Click to collapse
The ScummVM page says that ScummVM is not yet compatible with android 2.0 yet, so if cyanogenmod takes parts of android 2.0, it may well be the cause of the problem.
Can any dev shed light on this?
Are there users who successfully run ScummVM (with the scumm plugin) on cyanogenmod here? (i.e. can you play monkey island or dott?)
Kind regards
TauPan
I had the same issue after upgrading the rom using cyanogen updater. I did not want to bother so I reflashed and took the opportunity to try another rom.
Sorry i can't help you. Good luck.
I had the same problem when I upgraded to 4.2.8.
Go to the following site:
http://sites.google.com/site/scummvmandroid/dev
Then from there hit the bottom link for the Monolithic v.8 version of ScummVM for Android. Now this one is built on ScummVM .14 and not 1.0, but at least it is something until a new version comes out.
Whee!
jzanitsch said:
I had the same problem when I upgraded to 4.2.8.
Go to the following site:
http://sites.google.com/site/scummvmandroid/dev
Then from there hit the bottom link for the Monolithic v.8 version of ScummVM for Android. Now this one is built on ScummVM .14 and not 1.0, but at least it is something until a new version comes out.
Click to expand...
Click to collapse
Hey thanks!
Unfortunately it's a bit worse with 4.2.9, scummvm terminates immediately. I didn't logcat, but it will probably look similar to what I already posted.
Since two people have posted that they have the same problem, it looks like there is some kind of compatibility issue. I probably should just wait until scummvm becomes android 2.0 compatible and use the old version until then.
Kind regards
Friedel
TauPan said:
Hey thanks!
Unfortunately it's a bit worse with 4.2.9, scummvm terminates immediately.
Click to expand...
Click to collapse
Hm, closeeverything and any version of scummvm immediately force-close with cynogenmod 4.2.9.1. Downgrading to my old backup (4.2.8).
I noticed the same issue. The developer is aware of the issue and this thread. He has added a note about it in his FAQ. http://sites.google.com/site/scummvmandroid/faq#TOC-Current-market-version-doesn-t-work2
If anyone has the time/resources, he indicated that it would be helpful to determine at which update to CyanogenMod the regression occurred. It is known in 4.2.7 and later but may occur in earlier versions. If I had to wager a guess, it may go as far back as 4.2.5 which according to the CM changelog is when Dalvik and other bits from started being worked into the build.
I think it happened with 4.2.7. I have been updating the Cyanogen mods on day of releases for a while and I upgraded my ScummVM to the new build on December 1st and it worked. I would have been running 4.2.6 at that point and it looks like 4.2.7 came out on December 3rd which is around when I started noticing the missing engines issue. (I remember the dates pretty well because I was in a hospital waiting room while playing with the new version of ScummVM).
scummvm monolithic segfaults in cm 4.2.9.1
TauPan said:
Hm, closeeverything and any version of scummvm immediately force-close with cynogenmod 4.2.9.1. Downgrading to my old backup (4.2.8).
Click to expand...
Click to collapse
Ok, here's a bit more detail on this:
De-installing scummvm and reinstalling the monolithic version or market version does not help. I see a segmentation fault in logcat with cyanogenmod 4.2.9.1
(closeeverything 2 force closes after an install of cm 4.2.9.1, however uninstalling and reinstalling it helps here)
fix_permissions does not help.
Here's the logcat (of the market version, but the monolithic version throws the same backtrace):
Code:
I/ActivityManager( 3082): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10100000 cmp=org.inodes.gus.scummvm/.ScummVMActivity }
I/ActivityManager( 3082): Start proc org.inodes.gus.scummvm for activity org.inodes.gus.scummvm/.ScummVMActivity: pid=4299 uid=10125 gids={1015}
W/InputManagerService( 3082): Window already focused, ignoring focus gain of: [email protected]
I/ActivityManager( 3082): Process com.android.calendar (pid 4259) has died.
I/ActivityManager( 3082): Starting activity: Intent { cmp=org.inodes.gus.scummvm/.Unpacker }
D/dalvikvm( 4299): GC freed 807 objects / 59296 bytes in 125ms
I/ActivityManager( 3082): Start proc org.inodes.gus.scummvm for broadcast org.inodes.gus.scummvm.plugin.scumm/org.inodes.gus.scummvm.PluginProvider: pid=4305 uid=10129 gids={1015}
I/ActivityManager( 3082): Displayed activity org.inodes.gus.scummvm/.Unpacker: 634 ms (total 2022 ms)
D/dalvikvm( 3065): GC freed 280 objects / 10680 bytes in 416ms
D/dalvikvm( 3065): GC freed 47 objects / 2064 bytes in 178ms
D/dalvikvm( 3065): GC freed 2 objects / 48 bytes in 116ms
I/org.inodes.gus.scummvm.U[email protected]( 4299): Extracting mylib/armeabi/libscumm.so from /data/app/org.inodes.gus.scummvm.plugin.scumm.apk to /data/data/org.inodes.gus.scummvm/cache/libscumm.so
I/ActivityManager( 3082): Process org.inodes.gus.scummvm (pid 4305) has died.
I/[email protected]( 4299): Extracting mylib/armeabi/libscummvm.so from /data/app/org.inodes.gus.scummvm.apk to /data/data/org.inodes.gus.scummvm/cache/libscummvm.so
D/dalvikvm( 4299): Trying to load lib /data/data/org.inodes.gus.scummvm/cache/libscummvm.so 0x43b5cc00
I/ActivityManager( 3082): Displayed activity org.inodes.gus.scummvm/.ScummVMActivity: 6775 ms (total 6775 ms)
D/dalvikvm( 4299): Added shared lib /data/data/org.inodes.gus.scummvm/cache/libscummvm.so 0x43b5cc00
D/ScummVM ( 4299): Entering scummvm_main with 5 args
W/ScummVM ( 4299): File::open: '/data/data/org.inodes.gus.scummvm/files/scummvmrc' does not exist
W/ScummVM ( 4299): Failed loading symbol 'PLUGIN_getVersion' from plugin '/data/data/org.inodes.gus.scummvm/cache/libscummvm.so' (Symbol not found: )
W/ScummVM ( 4299): Failed loading plugin '/data/data/org.inodes.gus.scummvm/cache/libscumm.so' (Cannot load library: reloc_library[1245]: 3065 cannot locate '_ZN6Common20updateGameGUIOptionsEj'...)
D/ScummVM ( 4299): Setting audio sampling rate to 44100HZ
D/ScummVM ( 4299): New surface is 480x320 bpr=960
W/AudioFlinger( 3066): write blocked for 97 msecs
I/DEBUG ( 3063): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 3063): Build fingerprint: 'tmobile/kila/dream/trout:1.6/DRC83/14721:user/ota-rel-keys,release-keys'
I/DEBUG ( 3063): pid: 4299, tid: 4312 >>> org.inodes.gus.scummvm <<<
I/DEBUG ( 3063): signal 11 (SIGSEGV), fault addr 00000001
I/DEBUG ( 3063): r0 00000001 r1 00000704 r2 00000001 r3 ac138410
I/DEBUG ( 3063): r4 00000001 r5 45af8178 r6 002a3a60 r7 002a3ad4
I/DEBUG ( 3063): r8 8050ab42 r9 0029fe60 10 45af8210 fp 8054588c
I/DEBUG ( 3063): ip ac13a574 sp 45af8078 lr ac041b50 pc afb042d4 cpsr 20000010
I/DEBUG ( 3063): #00 pc 000042d4 /system/lib/libcutils.so
I/DEBUG ( 3063): #01 pc 00041b4c /system/lib/libsgl.so
I/DEBUG ( 3063): #02 pc 00042240 /system/lib/libsgl.so
I/DEBUG ( 3063): #03 pc 000424dc /system/lib/libsgl.so
I/DEBUG ( 3063): stack:
I/DEBUG ( 3063): 45af8038 00000000
I/DEBUG ( 3063): 45af803c afe0f280 /system/lib/libc.so
I/DEBUG ( 3063): 45af8040 afe3ba58
I/DEBUG ( 3063): 45af8044 000001b8
I/DEBUG ( 3063): 45af8048 00002bd0
I/DEBUG ( 3063): 45af804c 000000dc
I/DEBUG ( 3063): 45af8050 8050ab42 /data/data/org.inodes.gus.scummvm/cache/libscummvm.so
I/DEBUG ( 3063): 45af8054 afe0b56b /system/lib/libc.so
I/DEBUG ( 3063): 45af8058 45af80f0
I/DEBUG ( 3063): 45af805c afd008f3 /system/lib/libstdc++.so
I/DEBUG ( 3063): 45af8060 ac13a4e4 /system/lib/libsgl.so
I/DEBUG ( 3063): 45af8064 ac060404 /system/lib/libsgl.so
I/DEBUG ( 3063): 45af8068 000d8428 [heap]
I/DEBUG ( 3063): 45af806c ace09ab8 /system/lib/libcorecg.so
I/DEBUG ( 3063): 45af8070 df002777
I/DEBUG ( 3063): 45af8074 e3a070ad
I/DEBUG ( 3063): #00 45af8078 00000001
I/DEBUG ( 3063): 45af807c ac041b50 /system/lib/libsgl.so
I/DEBUG ( 3063): #01 45af8080 45af8178
I/DEBUG ( 3063): 45af8084 45af80bc
I/DEBUG ( 3063): 45af8088 002a3a60 [heap]
I/DEBUG ( 3063): 45af808c ac042244 /system/lib/libsgl.so
D/Zygote ( 3065): Process 4299 terminated by signal (11)
I/ActivityManager( 3082): Process org.inodes.gus.scummvm (pid 4299) has died.
I/WindowManager( 3082): WIN DEATH: Window{44053390 SurfaceView paused=false}
I/WindowManager( 3082): WIN DEATH: Window{44052780 org.inodes.gus.scummvm/org.inodes.gus.scummvm.ScummVMActivity paused=false}
W/UsageStats( 3082): Unexpected resume of com.android.vending while already resumed in org.inodes.gus.scummvm
W/InputManagerService( 3082): Got RemoteException sending setActive(false) notification to pid 4299 uid 10125
D/skia ( 4031): purging 153K from font cache [17 entries]
D/dalvikvm( 4031): GC freed 5982 objects / 375032 bytes in 165ms
same problems here
Code:
12-20 19:35:22.399: INFO/ActivityManager(4541): Start proc org.inodes.gus.scummvm for activity org.inodes.gus.scummvm/.ScummVMActivity: pid=5253 uid=10123 gids={1015}
12-20 19:35:22.589: DEBUG/ddm-heap(5253): Got feature list request
12-20 19:35:24.129: WARN/ActivityManager(4541): Permission Denial: receiving Intent { act=org.inodes.gus.scummvm.action.PLUGIN_QUERY } to org.inodes.gus.scummvm.plugin.scumm requires org.inodes.gus.scummvm.permission.SCUMMVM_PLUGIN due to sender org.inodes.gus.scummvm (uid 10123)
12-20 19:35:24.319: INFO/ActivityManager(4541): Displayed activity org.inodes.gus.scummvm/.Unpacker: 353 ms (total 1928 ms)
12-20 19:35:24.529: DEBUG/dalvikvm(5253): Trying to load lib /data/data/org.inodes.gus.scummvm/cache/libscummvm.so 0x43d21600
12-20 19:35:24.699: INFO/ActivityManager(4541): Displayed activity org.inodes.gus.scummvm/.ScummVMActivity: 2314 ms (total 2314 ms)
12-20 19:35:24.709: DEBUG/dalvikvm(5253): Added shared lib /data/data/org.inodes.gus.scummvm/cache/libscummvm.so 0x43d21600
12-20 19:35:24.759: DEBUG/ScummVM(5253): Entering scummvm_main with 5 args
12-20 19:35:24.769: WARN/ScummVM(5253): File::open: '/data/data/org.inodes.gus.scummvm/files/scummvmrc' does not exist
12-20 19:35:24.779: WARN/ScummVM(5253): Failed loading symbol 'PLUGIN_getVersion' from plugin '/data/data/org.inodes.gus.scummvm/cache/libscummvm.so' (Symbol not found: )
12-20 19:35:24.789: DEBUG/ScummVM(5253): Setting audio sampling rate to 44100HZ
12-20 19:35:24.809: DEBUG/ScummVM(5253): New surface is 480x320 bpr=960
12-20 19:35:25.459: INFO/DEBUG(5177): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
12-20 19:35:25.459: INFO/DEBUG(5177): Build fingerprint: 'tmobile/opal/sapphire/sapphire:1.6/DRC92/15632:user/ota-rel-keys,release-keys'
12-20 19:35:25.459: INFO/DEBUG(5177): pid: 5253, tid: 5260 >>> org.inodes.gus.scummvm <<<
12-20 19:35:25.459: INFO/DEBUG(5177): signal 11 (SIGSEGV), fault addr 00000001
12-20 19:35:25.459: INFO/DEBUG(5177): r0 00000001 r1 00000704 r2 00000001 r3 ac138410
12-20 19:35:25.469: INFO/DEBUG(5177): r4 00000001 r5 45ba7178 r6 001261d8 r7 0012624c
12-20 19:35:25.469: INFO/DEBUG(5177): r8 8050ab42 r9 000db758 10 45ba7210 fp 8054588c
12-20 19:35:25.469: INFO/DEBUG(5177): ip ac13a574 sp 45ba7078 lr ac041b50 pc afb042d4 cpsr 20000010
12-20 19:35:25.609: INFO/DEBUG(5177): #00 pc 000042d4 /system/lib/libcutils.so
12-20 19:35:25.619: INFO/DEBUG(5177): #01 pc 00041b4c /system/lib/libsgl.so
12-20 19:35:25.619: INFO/DEBUG(5177): #02 pc 00042240 /system/lib/libsgl.so
12-20 19:35:25.619: INFO/DEBUG(5177): #03 pc 000424dc /system/lib/libsgl.so
12-20 19:35:25.619: INFO/DEBUG(5177): stack:
12-20 19:35:25.629: INFO/DEBUG(5177): 45ba7038 00000000
12-20 19:35:25.629: INFO/DEBUG(5177): 45ba703c afe0f280 /system/lib/libc.so
12-20 19:35:25.629: INFO/DEBUG(5177): 45ba7040 afe3ba58
12-20 19:35:25.629: INFO/DEBUG(5177): 45ba7044 000001b8
12-20 19:35:25.629: INFO/DEBUG(5177): 45ba7048 00002bd0
12-20 19:35:25.629: INFO/DEBUG(5177): 45ba704c 000000dc
12-20 19:35:25.629: INFO/DEBUG(5177): 45ba7050 8050ab42 /data/data/org.inodes.gus.scummvm/cache/libscummvm.so
12-20 19:35:25.629: INFO/DEBUG(5177): 45ba7054 afe0b56b /system/lib/libc.so
12-20 19:35:25.629: INFO/DEBUG(5177): 45ba7058 45ba70f0
12-20 19:35:25.629: INFO/DEBUG(5177): 45ba705c afd008f3 /system/lib/libstdc++.so
12-20 19:35:25.629: INFO/DEBUG(5177): 45ba7060 ac13a4e4 /system/lib/libsgl.so
12-20 19:35:25.629: INFO/DEBUG(5177): 45ba7064 ac060404 /system/lib/libsgl.so
12-20 19:35:25.629: INFO/DEBUG(5177): 45ba7068 002f4cc8 [heap]
12-20 19:35:25.629: INFO/DEBUG(5177): 45ba706c ace09ab8 /system/lib/libcorecg.so
12-20 19:35:25.629: INFO/DEBUG(5177): 45ba7070 df002777
12-20 19:35:25.629: INFO/DEBUG(5177): 45ba7074 e3a070ad
12-20 19:35:25.629: INFO/DEBUG(5177): #00 45ba7078 00000001
12-20 19:35:25.639: INFO/DEBUG(5177): 45ba707c ac041b50 /system/lib/libsgl.so
12-20 19:35:25.639: INFO/DEBUG(5177): #01 45ba7080 45ba7178
12-20 19:35:25.639: INFO/DEBUG(5177): 45ba7084 45ba70bc
12-20 19:35:25.639: INFO/DEBUG(5177): 45ba7088 001261d8 [heap]
12-20 19:35:25.639: INFO/DEBUG(5177): 45ba708c ac042244 /system/lib/libsgl.so
12-20 19:35:27.579: INFO/ActivityManager(4541): Process org.inodes.gus.scummvm (pid 5253) has died.
Interesting, monolithic worked on 4.2.8 for me but now just drops me to home in 4.2.9.1.
jzanitsch said:
Interesting, monolithic worked on 4.2.8 for me but now just drops me to home in 4.2.9.1.
Click to expand...
Click to collapse
That's the visible behaviour for me, too. The segmentation fault is just visible in the log, there's no force close or anything.
Same here with 4.2.10.1
If he's linking to libsgl.so, that's not a supported NDK API. The same problem happened with CoPilot when Donut first came out.
Has any further progress been made by anyone on getting Scummvm to run? I really want to try it out but don't want to downgrade my rom
Not much as far as I can tell... I've been following the problem here: http://code.google.com/p/cyanogenmod/issues/detail?id=884
But also there is not much progress.
I got the same problem with 4.2.15.1, crash after progress bar is done...
As far as I understood the problem it seems to me, that, if cyanogen is right, it could be sufficient to statically link the libraries that are not supported by the NDK API. Or are there other implications that I am overlooking here?
I'd have done this myself, but I am stuck already with trying to compile vim for my G1. But I guess I just didn't read enough yet
hth
greetz
chriz
FYI, for someone who wants a newer ROM that SCUMMVM still works on, Blue Magic MK.II does indeed run it quite well. I'd still love to see this working on CM though.
Replying to an old thread: scummvm has been fixed a long while ago, even works on ICS nowadays.
Sent from my HTC Vision using xda premium
I've created a hybrid ROM of my stock 32A (extracted from phone) kernel and the Google ION 1.6 update
Everything works (ie. market, calls, wlan, bluetooth (turns on), data, sound, recording sound, playing music, accelerometer, etc.) except for the camera/camcorder. Here is some log output when starting the Camera app:
Code:
...
(t=0x41504e4d l=40)
D/CameraService( 36): CameraService::connect E (pid 332, client 0x22e78)
D/CameraService( 36): Client::Client E (pid 332)
D/QualcommCameraHardware( 36): createInstance: E
E/QualcommCameraHardware( 36): startCamera X: /dev/msm_camera/control0 open failed: No such file or directory!
E/QualcommCameraHardware( 36): ioctl error. camfd=-1, type=21, length=4, rc=-1, ctrlCmd.status=1072, Bad file number
E/QualcommCameraHardware( 36): ioctl error. camfd=-1, type=15, length=4, rc=-1, ctrlCmd.status=1128, Bad file number
E/QualcommCameraHardware( 36): ioctl error. camfd=-1, type=14, length=4, rc=-1, ctrlCmd.status=1200, Bad file number
D/QualcommCameraHardware( 36): createInstance: X created hardware=0x201b8
D/CameraService( 36): Client::Client X (pid 332)
D/CameraService( 36): CameraService::connect X
D/Camera ( 332): app passed NULL surface
D/CameraService( 36): setPreviewDisplay(0x0) (pid 332)
D/CameraService( 36): getParameters(antibanding=off;antibanding-
...
E/QualcommCameraHardware( 36): ioctl error. camfd=-1, type=21, length=4, rc=-1, ctrlCmd.status=11664, Bad file number
E/QualcommCameraHardware( 36): ioctl error. camfd=-1, type=15, length=4, rc=-1, ctrlCmd.status=12224, Bad file number
E/QualcommCameraHardware( 36): ioctl error. camfd=-1, type=14, length=4, rc=-1, ctrlCmd.status=12000, Bad file number
V/camera ( 332): startPreview
D/CameraService( 36): startPreview (pid 332)
D/CameraService( 36): startCameraMode(0) (pid 332)
D/CameraService( 36): mSurface is not set yet.
D/CameraService( 36): startPreviewMode (pid 332)
I/QualcommCameraHardware( 36): initPreview E: preview size=384x288
E/QualcommCameraHardware( 36): register_buf: MSM_CAM_IOCTL_(UN)REGISTER_PMEM fd -1 error Bad file number
E/QualcommCameraHardware( 36): register_buf: MSM_CAM_IOCTL_(UN)REGISTER_PMEM fd -1 error Bad file number
E/QualcommCameraHardware( 36): register_buf: MSM_CAM_IOCTL_(UN)REGISTER_PMEM fd -1 error Bad file number
E/QualcommCameraHardware( 36): register_buf: MSM_CAM_IOCTL_(UN)REGISTER_PMEM fd -1 error Bad file number
E/QualcommCameraHardware( 36): ioctl error. camfd=-1, type=1, length=28, rc=-1, ctrlCmd.status=9135, Bad file number
E/QualcommCameraHardware( 36): startPreview X initPreview failed. Not starting preview.
D/CameraService( 36): stopPreview (pid 332)
D/CameraService( 36): stopPreview(), hardware stopped OK
D/Camera-JNI( 332): release camera
D/CameraService( 36): Client::disconnect() E (pid 332 client 0x22e78)
D/CameraService( 36): hardware teardown
D/QualcommCameraHardware( 36): release E
E/QualcommCameraHardware( 36): ioctl CAMERA_EXIT fd -1 error Bad file number
E/QualcommCameraHardware( 36): config_thread exit failure: Bad file number
D/QualcommCameraHardware( 36): release X
D/QualcommCameraHardware( 36): ~QualcommCameraHardware E
D/QualcommCameraHardware( 36): ~QualcommCameraHardware X
E/QualcommCameraHardware( 36): register_buf: MSM_CAM_IOCTL_(UN)REGISTER_PMEM fd -1 error Bad file number
E/QualcommCameraHardware( 36): register_buf: MSM_CAM_IOCTL_(UN)REGISTER_PMEM fd -1 error Bad file number
E/QualcommCameraHardware( 36): register_buf: MSM_CAM_IOCTL_(UN)REGISTER_PMEM fd -1 error Bad file number
E/QualcommCameraHardware( 36): register_buf: MSM_CAM_IOCTL_(UN)REGISTER_PMEM fd -1 error Bad file number
D/CameraService( 36): removeClient (pid 332) done
D/CameraService( 36): Client::disconnect() X (pid 332)
W/dalvikvm( 332): threadid=13: thread exiting with uncaught exception (group=0x4001da20)
E/AndroidRuntime( 332): Uncaught handler: thread Thread-7 exiting due to uncaught exception
E/AndroidRuntime( 332): java.lang.RuntimeException: startPreview failed
E/AndroidRuntime( 332): at com.android.camera.Camera.startPreview(Camera.java:1360)
E/AndroidRuntime( 332): at com.android.camera.Camera.access$4000(Camera.java:78)
E/AndroidRuntime( 332): at com.android.camera.Camera$3.run(Camera.java:724)
E/AndroidRuntime( 332): at java.lang.Thread.run(Thread.java:1060)
E/AndroidRuntime( 332): Caused by: java.lang.RuntimeException: startPreview failed
E/AndroidRuntime( 332): at android.hardware.Camera.startPreview(Native Method)
E/AndroidRuntime( 332): at com.android.camera.Camera.startPreview(Camera.java:1357)
E/AndroidRuntime( 332): ... 3 more
D/CameraService( 36): Client::~Client E (pid 36, client 0x22e78)
D/CameraService( 36): Client::disconnect() E (pid 36 client 0x22e78)
D/CameraService( 36): Client::~Client X (pid 36)
I/Process ( 59): Sending signal. PID: 332 SIG: 3
I/dalvikvm( 332): threadid=7: reacting to signal 3
I/dalvikvm( 332): Wrote stack trace to '/data/anr/traces.txt'
I/DumpStateReceiver( 59): Added state dump to 1 crashes
I/Process ( 332): Sending signal. PID: 332 SIG: 9
I/ActivityManager( 59): Process com.android.camera (pid 332) has died.
I think the key bit there is 'startCamera X: /dev/msm_camera/control0 open failed: No such file or directory!'
After that, you can see successive ioctl 'Bad file number' errors.
I have a workaround by copying /system/lib/libcamera.so and /system/lib/libqcamera.so from the original, stock image of my phone. This results in a working camera. However, the camcorder can't record video. When pressing record, it freezes. No force close. Can BACK out of the app. Here's the log when that happens. As you can see, mediaserver pukes:
Code:
...
I/ActivityManager( 60): Displayed activity com.android.camera/.VideoCamera: 1260 ms (total 1260 ms)
V/videocamera( 354): initializeRecorder
V/videocamera( 354): Releasing media recorder.
D/CameraService( 495): Client::connect E (pid 495, client 0x373fc)
D/CameraService( 495): Connect to the new client (pid 495, client 0x373fc)
V/videocamera( 354): Current camera video filename: /sdcard/DCIM/Camera/video-2009-12-29-22-22-37.3gp
I/MediaRecorderJNI( 354): prepare: surface=0x1ba9a8 (id=1)
D/CameraService( 495): setPreviewDisplay(0x37800) (pid 495)
I/OMXVenc ( 495): component_init::292 Initializing component OMX.qcom.video.encoder.h263
E/OMXVenc ( 495): get_parameter::922 unsupported index 267887431
E/OMXVenc ( 495): get_parameter::899 unsupported index 117440523
E/OMXVenc ( 495): set_parameter::1099 unsupported index in set_parameter 117440523
E/OMXVenc ( 495): get_parameter::922 unsupported index 100663301
E/OMXVenc ( 495): set_parameter::1142 unsupported index 100663301
E/OMXVenc ( 495): get_parameter::922 unsupported index 100663302
E/OMXVenc ( 495): set_parameter::1142 unsupported index 100663302
I/OMXVenc ( 495): send_command::690 attempt to move to new state 2
E/OMXVenc ( 495): Setting OMX_Video_ControlRateVariable
I/VENC_DRV( 495): venc_drv_malloc::1155 /dev/pmem_adsp
I/VENC_DRV( 495): venc_drv_malloc::1183 phys lookup success virt=0x40e64000 -- FD=21 -- size - 524288
D/CameraService( 495): setPreviewDisplay(0x37800) (pid 495)
D/CameraInput( 495): Intended mFrameWidth=176, mFrameHeight=144
V/QualcommCameraHardware( 495): getParameters: EX
D/CameraService( 495): getParameters(antibanding=auto;antibanding-
...
V/QualcommCameraHardware( 495): setParameters: E params = 0x40c63cf8
V/QualcommCameraHardware( 495): requested size 176 x 144
V/QualcommCameraHardware( 495): actual size 176 x 144
V/QualcommCameraHardware( 495): initCameraParameters: E
V/QualcommCameraHardware( 495): camera hardware has been started already
V/QualcommCameraHardware( 495): initCameraParameters: set parm: CAMERA_PARM_PREVIEW_MODE, 0
V/QualcommCameraHardware( 495): Setting Zoom is 0
I/QualcommCameraHardware( 495): setting thumbnail dimensions to 512x384, quality 30
E/QualcommCameraHardware( 495): LINK_camera_set_thumbnail_properties returned 2
V/QualcommCameraHardware( 495): Setting JPEG-image quality to 100
V/QualcommCameraHardware( 495): initCameraParameters: X
V/QualcommCameraHardware( 495): setParameters: X mCameraState=3
V/QualcommCameraHardware( 495): getParameters: EX
D/CameraService( 495): getParameters(antibanding=auto;antibanding-
...
D/CameraInput( 495): Actual mFrameWidth=176, mFrameHeight=144
D/CameraService( 495): startPreview (pid 495)
D/CameraService( 495): startCameraMode(0) (pid 495)
D/CameraService( 495): startPreviewMode (pid 495)
E/MetadataDriver( 495): isCommandSuccessful: Command id(0 and expected 0) and status (-4 and expected 1), data corruption (false) at state (1).
E/MetadataDriver( 495): isCommandSuccessful: Command id(1 and expected 1) and status (-14 and expected 1), data corruption (false) at state (5).
D/dalvikvm( 60): GC freed 8852 objects / 389392 bytes in 235ms
V/videocamera( 354): startVideoRecording
I/OMXVenc ( 495): send_command::690 attempt to move to new state 3
I/VENC_DRV( 495): venc_drv_open::283 TE version = 1
D/CameraService( 495): startRecording (pid 495)
D/CameraService( 495): startCameraMode(1) (pid 495)
D/CameraService( 495): startRecordingMode (pid 495)
V/QualcommCameraHardware( 495): startPreview E
E/QualcommCameraHardware( 495): startPreview is already in progress, doing nothing.
D/AudioHardwareMSM72XX( 495): audpre_index = 0, tx_iir_index = 0
D/HTC Acoustic( 495): msm72xx_enable_audpre: 0x0000
W/AudioFlinger( 495): write blocked for 66 msecs
I/DEBUG ( 494): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 494): Build fingerprint: 'rogers/htc_magic/sapphire/sapphire:1.5/2.17.631.2/42949:user'
I/DEBUG ( 494): pid: 495, tid: 519 >>> /system/bin/mediaserver <<<
I/DEBUG ( 494): signal 11 (SIGSEGV), fault addr 10000014
I/DEBUG ( 494): r0 00000000 r1 00000001 r2 10000014 r3 ffff0fff
I/DEBUG ( 494): r4 00000000 r5 10000014 r6 a9c8c048 r7 4080bcb4
I/DEBUG ( 494): r8 4070be38 r9 afe39dd4 10 a949bec1 fp 00000001
I/DEBUG ( 494): ip a9d4bcdc sp 4080bc58 lr afe0d46c pc ffff0fc0 cpsr 00000010
I/DEBUG ( 494): #00 pc ffff0fc0
I/DEBUG ( 494): #01 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #02 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #03 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #04 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #05 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #06 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #07 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #08 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #09 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #10 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #11 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #12 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #13 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #14 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #15 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #16 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #17 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #18 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #19 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #20 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #21 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #22 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #23 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #24 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #25 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #26 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #27 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #28 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #29 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #30 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #31 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): stack:
I/DEBUG ( 494): 4080bc18 3fc971ba
I/DEBUG ( 494): 4080bc1c 00000000
I/DEBUG ( 494): 4080bc20 00000000
I/DEBUG ( 494): 4080bc24 00000000
I/DEBUG ( 494): 4080bc28 00000000
I/DEBUG ( 494): 4080bc2c 00000000
I/DEBUG ( 494): 4080bc30 00000000
I/DEBUG ( 494): 4080bc34 00000000
I/DEBUG ( 494): 4080bc38 00000000
I/DEBUG ( 494): 4080bc3c 00000000
I/DEBUG ( 494): 4080bc40 00000001
I/DEBUG ( 494): 4080bc44 00000000
I/DEBUG ( 494): 4080bc48 00000002
I/DEBUG ( 494): 4080bc4c 00000000
I/DEBUG ( 494): 4080bc50 df002777
I/DEBUG ( 494): 4080bc54 e3a070ad
I/DEBUG ( 494): #01 4080bc58 00000000
I/DEBUG ( 494): 4080bc5c a9d398a7 /system/lib/libutils.so
W/AudioRecord( 495): obtainBuffer timed out (is the CPU pegged?) user=00005000, server=00005400
W/AudioRecord( 495): *** SERIOUS WARNING *** obtainBuffer() timed out but didn't need to be locked. We recovered, but this shouldn't happen (user=00005000, server=00005400)
W/AudioSystem( 354): AudioFlinger server died!
I/ServiceManager( 31): service 'media.audio_flinger' died
W/MediaMetadataRetriever( 354): MediaMetadataRetriever server died!
I/ServiceManager( 31): service 'media.player' died
W/Camera ( 354): ICamera died
I/ServiceManager( 31): service 'media.camera' died
W/AudioSystem( 60): AudioFlinger server died!
E/Camera ( 354): Error 100
I/DEBUG ( 494): debuggerd committing suicide to free the zombie!
I/DEBUG ( 531): debuggerd: Sep 21 2009 14:37:06
W/Camera ( 354): Camera server died!
The key bit there can be found by searching for 'SIGSEGV'
Any help on how to fix this would be appreciated! I'd like to fix this 'the right way' (ie. do not want to copy old cupcake camera app, etc.) Also, not against re-compiling the kernel, if that's what it takes.
Thanks!
Guess fix:
Compile a kernel for 32A with source from:
http://android.git.kernel.org/?p=kernel/msm.git;a=shortlog;h=refs/heads/android-msm-2.6.29-donut
It has the source for msm_camera, whereas the source from HTC does not.
Sound right?
fastboot'd the new kernel and everything appears to be working now. Just need to compile wlan.ko and I'm done!
CyanogenMod 12.1 (Android 5.1.1) for ZTE Blade Vec (4G)
Bugs
- Camera not working at all.
- CPU-Z application doesn't start and causes sensor failure.
- Sensors stops working randomly, and fixes itself randomly too.
- If the screen turns off while call, there's no way to turn it on unless end the call.
- Maybe more? You tell me.
How to flash
First of all, you need TWRPv2.8.7.0 installed for your device.
- Just do factory reset and flash the zip via TWRP. No need to flash gapps, included already.
Download: http://d-h.st/KFIp
Technical details for bugs
- For camera; All libraries loads successfully, but when I try to access the camera, it crashes. There's something wrong while setting parameters during startup. Here's the log;
Code:
E/QCameraParameters( 234): Invalid preview size requested: -1x-1
E/QCameraParameters( 234): No Record Size requested, use the preview dimensions
E/QCameraParameters( 234): Invalid video size requested: -1x-1
E/QCameraParameters( 234): Invalid picture size requested: -1x-1
E/QCameraParameters( 234): Invalid preview format value: NULL
E/QCameraParameters( 234): Invalid picture format value: NULL
D/QCameraParameters( 234): int32_t qcamera::QCameraParameters::setJpegThumbnailSize(const qcamera::QCameraParameters&): Could not find optimal size
E/QCameraParameters( 234): int32_t qcamera::QCameraParameters::setJpegQuality(const qcamera::QCameraParameters&): Invalid jpeg quality=-1
E/QCameraParameters( 234): int32_t qcamera::QCameraParameters::setJpegQuality(const qcamera::QCameraParameters&): Invalid jpeg thumbnail quality=-1
D/QCameraParameters( 234): Param m_bNoDisplayMode = 0
E/QCameraParameters( 234): int32_t qcamera::QCameraParameters::setPreviewFpsRange(const qcamera::QCameraParameters&): FpsRange Values:(7500, 30000)
E/QCameraParameters( 234): int32_t qcamera::QCameraParameters::setPreviewFpsRange(const qcamera::QCameraParameters&): Requested FpsRange Values:(-1, -1)
E/QCameraParameters( 234): bool qcamera::QCameraParameters::UpdateHFRFrameRate(const qcamera::QCameraParameters&): CameraParameters - : minFps = 7500, maxFps = 30000
E/QCameraParameters( 234): bool qcamera::QCameraParameters::UpdateHFRFrameRate(const qcamera::QCameraParameters&): Requested params - : minFps = -1, maxFps = -1
E/QCameraParameters( 234): bool qcamera::QCameraParameters::UpdateHFRFrameRate(const qcamera::QCameraParameters&): prevHfrStr - off, hfrStr = (null)
E/QCameraParameters( 234): HFR mode is OFF
E/QCameraParameters( 234): int32_t qcamera::QCameraParameters::setPreviewFpsRange(const qcamera::QCameraParameters&): UpdateHFRFrameRate 0
E/QCameraParameters( 234): int32_t qcamera::QCameraParameters::setPreviewFpsRange(const qcamera::QCameraParameters&): error: FPS range value not supported
D/QCameraParameters( 234): int32_t qcamera::QCameraParameters::setBrightness(const qcamera::QCameraParameters&): Brigtness not set by App
E/QCameraParameters( 234): int32_t qcamera::QCameraParameters::setZoom(const qcamera::QCameraParameters&): invalid value -1 out of (0, 60)
D/QCameraParameters( 234): int32_t qcamera::QCameraParameters::setSharpness(const qcamera::QCameraParameters&): Sharpness not set by App
D/QCameraParameters( 234): int32_t qcamera::QCameraParameters::setSaturation(const qcamera::QCameraParameters&): Saturation not set by App
D/QCameraParameters( 234): int32_t qcamera::QCameraParameters::setContrast(const qcamera::QCameraParameters&): Contrast not set by App
--------- beginning of crash
F/libc ( 234): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 1226 (Binder_2)
I/DEBUG ( 231): property debug.db.uid not set; NOT waiting for gdb.
I/DEBUG ( 231): HINT: adb shell setprop debug.db.uid 100000
I/DEBUG ( 231): HINT: adb forward tcp:5039 tcp:5039
I/DEBUG ( 231): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 231): Build fingerprint: 'zte/cm_bladevec4g/unknown:5.1.1/LVY48C/57ccd15130:userdebug/test-keys'
I/DEBUG ( 231): Revision: '0'
I/DEBUG ( 231): ABI: 'arm'
I/DEBUG ( 231): pid: 234, tid: 1226, name: Binder_2 >>> /system/bin/mediaserver <<<
I/DEBUG ( 231): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
I/DEBUG ( 231): r0 00000000 r1 b6b0d320 r2 00000067 r3 00000001
I/DEBUG ( 231): r4 b5f73e04 r5 00000000 r6 ffffffff r7 00000000
I/DEBUG ( 231): r8 b3504b30 r9 b74ad624 sl b74ada30 fp b3504dd0
I/DEBUG ( 231): ip b6b0d320 sp b3504ae8 lr b5f61577 pc b6deb274 cpsr a00f0010
I/DEBUG ( 231):
I/DEBUG ( 231): backtrace:
I/DEBUG ( 231): #00 pc 00010274 /system/lib/libc.so (strcmp+48)
I/DEBUG ( 231): #01 pc 0002f573 /system/lib/hw/camera.msm8226.so (qcamera::QCameraParameters::setFocusMode(qcamera::QCameraParameters const&)+50)
I/DEBUG ( 231): #02 pc 000315a7 /system/lib/hw/camera.msm8226.so (qcamera::QCameraParameters::updateParameters(qcamera::QCameraParameters&, bool&)+382)
I/DEBUG ( 231): #03 pc 0001cf0b /system/lib/hw/camera.msm8226.so (qcamera::QCamera2HardwareInterface::updateParameters(char const*, bool&)+66)
I/DEBUG ( 231): #04 pc 00021071 /system/lib/hw/camera.msm8226.so (qcamera::QCameraStateMachine::procEvtPreviewStoppedState(qcamera::qcamera_sm_evt_enum_t, void*)+196)
I/DEBUG ( 231): #05 pc 0002283d /system/lib/hw/camera.msm8226.so (qcamera::QCameraStateMachine::smEvtProcRoutine(void*)+136)
I/DEBUG ( 231): #06 pc 0001552b /system/lib/libc.so (__pthread_start(void*)+38)
I/DEBUG ( 231): #07 pc 0001252b /system/lib/libc.so (__start_thread+10)
I/DEBUG ( 231):
I/DEBUG ( 231): Tombstone written to: /data/tombstones/tombstone_04
- for CPU-Z; Sensor causing hang up the application.
- for Sensors; I really don't know what's the problem. I think we need a better sensor hal. I'll provide a log for this soon.
- for Calls; Proximity sensor doesn't report 0, or system can't get it.
Source
https://github.com/forumber
Anybody can help he? I'd help but I don't know about.
Enviado desde mi TURKCELL T50 mediante Tapatalk
GuilleBetico96 said:
Anybody can help he? I'd help but I don't know about.
Enviado desde mi TURKCELL T50 mediante Tapatalk
Click to expand...
Click to collapse
Unfortunately, I also face similar problems
δυστυχως παρόμοια προβλήματα αντιμετοπίζω και εγω
So, uh, I decided to spin this off to a new thread to keep the other ones from being bloated.
A few days ago I started work on getting at least CyanogenMod to work on the LeapFrog Epic, which runs off the same MT8127 SoC as certain variants of the Amazon Fire tablet amongst other things. CM11 was first on my agenda since it is close to the KitKat build that came from the factory, but compiler issues kept me from pushing on with this one. I then moved on to CM12.1, which was far less of a pain build-wise, but I then faced a number of issues that kept me from getting this to run. Fixed the MTK headers, and added a shim to get rid of that missing function error with the Mali drivers, but now I am stuck with this if I use the stock 1.1.95 libs that came with the Epic Academy Edition. Boot animation does not start at all:
Code:
I/SurfaceFlinger( 2317): SurfaceFlinger is starting
I/SurfaceFlinger( 2317): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
D/libEGL ( 2317): loaded /system/lib/egl/libEGL_mali.so
D/libEGL ( 2317): loaded /system/lib/egl/libGLESv1_CM_mali.so
D/libEGL ( 2317): loaded /system/lib/egl/libGLESv2_mali.so
W/libEGL ( 2317): eglInitialize(0x1) failed (EGL_BAD_ALLOC)
I/[MALI][Gralloc]( 2317): gralloc UREE_CreateSession recount = 0
I/[MALI][Gralloc]( 2317): gralloc call UREE_CreateSession
I/[MALI][Gralloc]( 2317): UREE_CreateSession fail, ret = -65536
I/gralloc ( 2317): [Gralloc] refreshRate = 0, info.pixclock = ffffffff
I/gralloc ( 2317): [Gralloc] info.upper_margin = ffffffff, info.lower_margin = ffffffff
I/gralloc ( 2317): [Gralloc] info.yres = 258, info.hsync_len = ffffffff
I/gralloc ( 2317): [Gralloc] info.left_margin = ffffffff, info.right_margin = ffffffff
I/[MALI][Gralloc]( 2317): ro_dpi: 160.000000
I/[MALI][Gralloc]( 2317): using (fd=13)
I/[MALI][Gralloc]( 2317): id = mtkfb
I/[MALI][Gralloc]( 2317): xres = 1024 px
I/[MALI][Gralloc]( 2317): yres = 600 px
I/[MALI][Gralloc]( 2317): xres_virtual = 1024 px
I/[MALI][Gralloc]( 2317): yres_virtual = 1800 px
I/[MALI][Gralloc]( 2317): bpp = 32
I/[MALI][Gralloc]( 2317): r = 16:8
I/[MALI][Gralloc]( 2317): g = 8:8
I/[MALI][Gralloc]( 2317): b = 0:8
I/[MALI][Gralloc]( 2317): width = 163 mm (159.568100 dpi)
I/[MALI][Gralloc]( 2317): height = 95 mm (160.421051 dpi)
I/[MALI][Gralloc]( 2317): refresh rate = 60.00 Hz
I/[MALI][Gralloc]( 2317): init_framebuffer va: 0xb50f8000 mva: 0xb3700000
E/hwcomposer( 2317): [BLIT] sw_sync_timeline_create failed, aborting
F/libc ( 2317): Fatal signal 6 (SIGABRT), code -6 in tid 2317 (surfaceflinger)
I/DEBUG ( 129): property debug.db.uid not set; NOT waiting for gdb.
I/DEBUG ( 129): HINT: adb shell setprop debug.db.uid 100000
I/DEBUG ( 129): HINT: adb forward tcp:5039 tcp:5039
I/DEBUG ( 129): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 129): Build fingerprint: 'LeapFrog/cm_narnia/narnia:5.1.1/LMY49J/e2909bc29b:eng/test-keys'
I/DEBUG ( 129): Revision: '0'
I/DEBUG ( 129): ABI: 'arm'
I/DEBUG ( 129): pid: 2317, tid: 2317, name: surfaceflinger >>> /system/bin/surfaceflinger <<<
I/DEBUG ( 129): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
I/DEBUG ( 129): r0 00000000 r1 0000090d r2 00000006 r3 00000000
I/DEBUG ( 129): r4 b6f34e38 r5 00000006 r6 0000000d r7 0000010c
I/DEBUG ( 129): r8 ffffffb4 r9 b5e01d8c sl b608f158 fp bec93a6c
I/DEBUG ( 129): ip 0000090d sp bec937e0 lr b6e8d8f5 pc b6eb08d0 cpsr 60010010
I/DEBUG ( 129):
I/DEBUG ( 129): backtrace:
I/DEBUG ( 129): #00 pc 000378d0 /system/lib/libc.so (tgkill+12)
I/DEBUG ( 129): #01 pc 000148f1 /system/lib/libc.so (pthread_kill+52)
I/DEBUG ( 129): #02 pc 0001564b /system/lib/libc.so (raise+10)
I/DEBUG ( 129): #03 pc 00011cc5 /system/lib/libc.so (__libc_android_abort+36)
I/DEBUG ( 129): #04 pc 0001005c /system/lib/libc.so (abort+4)
I/DEBUG ( 129): #05 pc 00010af9 /system/lib/hw/hwcomposer.mt8127.so (_ZN11BlitManagerC1Ev+140)
I/DEBUG ( 129): #06 pc 0000b8d9 /system/lib/hw/hwcomposer.mt8127.so (_ZN11HWCMediatorC2Ev+12)
I/DEBUG ( 129): #07 pc 0000ba5d /system/lib/hw/hwcomposer.mt8127.so (_ZN7android9SingletonI11HWCMediatorE11getInstanceEv+28)
I/DEBUG ( 129): #08 pc 0000bbfd /system/lib/hw/hwcomposer.mt8127.so
I/DEBUG ( 129): #09 pc 00023d17 /system/lib/libsurfaceflinger.so
I/DEBUG ( 129): #10 pc 00023a0b /system/lib/libsurfaceflinger.so
I/DEBUG ( 129): #11 pc 000195bb /system/lib/libsurfaceflinger.so (_ZN7android14SurfaceFlinger4initEv+130)
I/DEBUG ( 129): #12 pc 00000af1 /system/bin/surfaceflinger
I/DEBUG ( 129): #13 pc 0000ff19 /system/lib/libc.so (__libc_init+44)
I/DEBUG ( 129): #14 pc 00000c08 /system/bin/surfaceflinger
I/DEBUG ( 129):
I/DEBUG ( 129): Tombstone written to: /data/tombstones/tombstone_08
If I use hwcomposer.mt8127.so, libgralloc_extra.so, libion_mtk.so and libtz_uree.so from @pix106's Lenovo Tab 2 A7-10F vendor tree, I get this additional message:
Code:
E/hwcomposer( 290): [BLIT] UREE_CreateSession failed (Non-specific cause.), aborting
I know there's probably only a few developers here who own a LeapFrog Epic, but I am at a loss here and any help would be very much appreciated. Yes I've read the Lenovo thread here before, but this one is a bit of a clincher, more so as I don't have complete kernel sources and I'm only building against a 3.4.67 kernel. My device tree's here, if anyone is interested: https://github.com/huckleberrypie/android_device_quanta_narnia
blakegriplingph said:
If I use hwcomposer.mt8127.so, libgralloc_extra.so, libion_mtk.so and libtz_uree.so from @pix106's Lenovo Tab 2 A7-10F vendor tree]
Click to expand...
Click to collapse
Tab2 has 3.10.54 kernel, I don't know if you can use these libs with a 3.4 kernel.
When missing a symbol, you can grep it in your device stock rom to find what lib provides it.
From a running device using adv, or using a stock room dumping your computer.
grep -r _Zazertyuiopqsdfghjklmwxcvbn /path/to/libs
pix106 said:
Tab2 has 3.10.54 kernel, I don't know if you can use these libs with a 3.4 kernel.
When missing a symbol, you can grep it in your device stock rom to find what lib provides it.
From a running device using adv, or using a stock room dumping your computer.
grep -r _Zazertyuiopqsdfghjklmwxcvbn /path/to/libs
Click to expand...
Click to collapse
Good call on the grep stuff. And I wonder if I could kang libs off another MT8127 device running KitKat which is a little tiny bit of a stretch to hunt for.
blakegriplingph said:
And I wonder if I could kang libs off another MT8127 device running KitKat which is a little tiny bit of a stretch to hunt for.
Click to expand...
Click to collapse
My "mistake", in a way : Tab2 also had KitKat with a 3.4 kernel, but I used kernel 3.10 and vendor from Lollipop stock rom to build cm-12.1.
You can try to download and extract lenovo's kk rom, or I can search my archives later and try to upload a KitKat stock rom dump somewhere, but I'm not home and have slow internet for now.
pix106 said:
My "mistake", in a way : Tab2 also had KitKat with a 3.4 kernel, but I used kernel 3.10 and vendor from Lollipop stock rom to build cm-12.1.
You can try to download and extract lenovo's kk rom, or I can search my archives later and try to upload a KitKat stock rom dump somewhere, but I'm not home and have slow internet for now.
Click to expand...
Click to collapse
3.4.67 I presume? I do have kernel sources for the Epic but it's missing a few things from what I've been told. The ROM dump does however have what appears to be a build config used by Quanta/LeapFrog to customise the board support package they used, or so I assume.
Apologies for the bump, and I hope they won't mind, but the likes of @superdragonpt are a lot more experienced with MTK than I could muster, so I was wondering if they could at least offer a bit of advice with this.
So I kanged hwcomposer from @pix106's dump of the A7-10F KitKat ROM, and it looks like I got something else other than the usual sw_sync_timeline failure:
Code:
I/SurfaceFlinger( 512): SurfaceFlinger is starting
I/SurfaceFlinger( 512): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
D/libEGL ( 512): loaded /system/lib/egl/libEGL_mali.so
D/libEGL ( 512): loaded /system/lib/egl/libGLESv1_CM_mali.so
D/libEGL ( 512): loaded /system/lib/egl/libGLESv2_mali.so
W/libEGL ( 512): eglInitialize(0x1) failed (EGL_BAD_ALLOC)
I/[MALI][Gralloc]( 512): gralloc UREE_CreateSession recount = 0
I/[MALI][Gralloc]( 512): gralloc call UREE_CreateSession
I/[MALI][Gralloc]( 512): UREE_CreateSession fail, ret = -65536
I/gralloc ( 512): [Gralloc] refreshRate = 0, info.pixclock = ffffffff
I/gralloc ( 512): [Gralloc] info.upper_margin = ffffffff, info.lower_margin = ffffffff
I/gralloc ( 512): [Gralloc] info.yres = 258, info.hsync_len = ffffffff
I/gralloc ( 512): [Gralloc] info.left_margin = ffffffff, info.right_margin = ffffffff
I/[MALI][Gralloc]( 512): ro_dpi: 160.000000
I/[MALI][Gralloc]( 512): using (fd=13)
I/[MALI][Gralloc]( 512): id = mtkfb
I/[MALI][Gralloc]( 512): xres = 1024 px
I/[MALI][Gralloc]( 512): yres = 600 px
I/[MALI][Gralloc]( 512): xres_virtual = 1024 px
I/[MALI][Gralloc]( 512): yres_virtual = 1800 px
I/[MALI][Gralloc]( 512): bpp = 32
I/[MALI][Gralloc]( 512): r = 16:8
I/[MALI][Gralloc]( 512): g = 8:8
I/[MALI][Gralloc]( 512): b = 0:8
I/[MALI][Gralloc]( 512): width = 163 mm (159.568100 dpi)
I/[MALI][Gralloc]( 512): height = 95 mm (160.421051 dpi)
I/[MALI][Gralloc]( 512): refresh rate = 60.00 Hz
I/[MALI][Gralloc]( 512): init_framebuffer va: 0xb50f8000 mva: 0xb3700000
I/hwcomposer( 512): [DPY] Display Information:
I/hwcomposer( 512): [DPY] # fo devices : 1
I/hwcomposer( 512): [DPY] -----------------------------
I/hwcomposer( 512): [DPY] Device id : 0
I/hwcomposer( 512): [DPY] Width : 1024
I/hwcomposer( 512): [DPY] Height : 600
I/hwcomposer( 512): [DPY] xdpi : 160.000000
I/hwcomposer( 512): [DPY] ydpi : 160.000000
I/hwcomposer( 512): [DPY] vsync : 1
I/hwcomposer( 512): [DPY] refresh : 17179179
I/hwcomposer( 512): [DPY] connected : 1
I/hwcomposer( 512): [DPY] subtype : 0
W/hwcomposer( 512): [EVENT] Failed to open vsync device (Permission denied)
W/hwcomposer( 512): [EVENT] HW VSync State(0)
W/hwcomposer( 512): [EVENT] Start to listen uevent, addr.nl_pid(512)
I/6620_launcher( 124): Can't open device node(/dev/stpwmt)
W/hwcomposer( 512): [WKR] Failed to set priority to RR: Operation not permitted
W/hwcomposer( 512): [WKR] Failed to set priority to RR: Operation not permitted
I/SurfaceFlinger( 512): Using composer version 1.2
I/hwcomposer( 512): [HWC] getConfigs Display(0)
W/hwcomposer( 512): [WKR] Failed to set priority to RR: Operation not permitted
I/hwcomposer( 512): [HWC] getAttributes Display(0)
I/hwcomposer( 512): [HWC] getConfigs Display(1)
I/hwcomposer( 512): [HWC] getAttributes Display(1)
E/hwcomposer( 512): [HWC] Failed to get display attributes (dpy=1 is not connected)
W/SurfaceFlinger( 512): no suitable EGLConfig found, trying a simpler query
F/SurfaceFlinger( 512): no suitable EGLConfig found, giving up
F/libc ( 512): Fatal signal 6 (SIGABRT), code -6 in tid 512 (surfaceflinger)
I/DEBUG ( 129): property debug.db.uid not set; NOT waiting for gdb.
W/hwcomposer( 512): [WKR] Failed to set priority to RR: Operation not permitted
I/DEBUG ( 129): HINT: adb shell setprop debug.db.uid 100000
I/DEBUG ( 129): HINT: adb forward tcp:5039 tcp:5039
W/hwcomposer( 512): [WKR] Failed to set priority to RR: Operation not permitted
I/DEBUG ( 129): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 129): Build fingerprint: 'LeapFrog/cm_narnia/narnia:5.1.1/LMY49J/e2909bc29b:eng/test-keys'
I/DEBUG ( 129): Revision: '0'
I/DEBUG ( 129): ABI: 'arm'
I/DEBUG ( 129): pid: 512, tid: 512, name: surfaceflinger >>> /system/bin/surfaceflinger <<<
I/DEBUG ( 129): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
I/DEBUG ( 129): Abort message: 'no suitable EGLConfig found, giving up'
I/DEBUG ( 129): r0 00000000 r1 00000200 r2 00000006 r3 00000000
I/DEBUG ( 129): r4 b6fc1e38 r5 00000006 r6 00000000 r7 0000010c
I/DEBUG ( 129): r8 b6482000 r9 00000000 sl 00000000 fp 00000001
I/DEBUG ( 129): ip 00000200 sp be8d34a0 lr b6f1a8f5 pc b6f3d8d0 cpsr 60070010
I/DEBUG ( 129):
I/DEBUG ( 129): backtrace:
I/DEBUG ( 129): #00 pc 000378d0 /system/lib/libc.so (tgkill+12)
I/DEBUG ( 129): #01 pc 000148f1 /system/lib/libc.so (pthread_kill+52)
I/DEBUG ( 129): #02 pc 0001564b /system/lib/libc.so (raise+10)
I/DEBUG ( 129): #03 pc 00011cc5 /system/lib/libc.so (__libc_android_abort+36)
I/DEBUG ( 129): #04 pc 0001005c /system/lib/libc.so (abort+4)
I/DEBUG ( 129): #05 pc 00007a41 /system/lib/libcutils.so (__android_log_assert+88)
I/DEBUG ( 129): #06 pc 0002930d /system/lib/libsurfaceflinger.so
I/DEBUG ( 129): #07 pc 00028f09 /system/lib/libsurfaceflinger.so
I/DEBUG ( 129): #08 pc 000195e7 /system/lib/libsurfaceflinger.so (_ZN7android14SurfaceFlinger4initEv+174)
I/DEBUG ( 129): #09 pc 00000af1 /system/bin/surfaceflinger
I/DEBUG ( 129): #10 pc 0000ff19 /system/lib/libc.so (__libc_init+44)
I/DEBUG ( 129): #11 pc 00000c08 /system/bin/surfaceflinger
blakegriplingph said:
So I kanged hwcomposer from @pix106's dump of the A7-10F KitKat ROM, and it looks like I got something else other than the usual sw_sync_timeline failure:
Code:
I/SurfaceFlinger( 512): SurfaceFlinger is starting
I/SurfaceFlinger( 512): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
D/libEGL ( 512): loaded /system/lib/egl/libEGL_mali.so
D/libEGL ( 512): loaded /system/lib/egl/libGLESv1_CM_mali.so
D/libEGL ( 512): loaded /system/lib/egl/libGLESv2_mali.so
W/libEGL ( 512): eglInitialize(0x1) failed (EGL_BAD_ALLOC)
I/[MALI][Gralloc]( 512): gralloc UREE_CreateSession recount = 0
I/[MALI][Gralloc]( 512): gralloc call UREE_CreateSession
I/[MALI][Gralloc]( 512): UREE_CreateSession fail, ret = -65536
I/gralloc ( 512): [Gralloc] refreshRate = 0, info.pixclock = ffffffff
I/gralloc ( 512): [Gralloc] info.upper_margin = ffffffff, info.lower_margin = ffffffff
I/gralloc ( 512): [Gralloc] info.yres = 258, info.hsync_len = ffffffff
I/gralloc ( 512): [Gralloc] info.left_margin = ffffffff, info.right_margin = ffffffff
I/[MALI][Gralloc]( 512): ro_dpi: 160.000000
I/[MALI][Gralloc]( 512): using (fd=13)
I/[MALI][Gralloc]( 512): id = mtkfb
I/[MALI][Gralloc]( 512): xres = 1024 px
I/[MALI][Gralloc]( 512): yres = 600 px
I/[MALI][Gralloc]( 512): xres_virtual = 1024 px
I/[MALI][Gralloc]( 512): yres_virtual = 1800 px
I/[MALI][Gralloc]( 512): bpp = 32
I/[MALI][Gralloc]( 512): r = 16:8
I/[MALI][Gralloc]( 512): g = 8:8
I/[MALI][Gralloc]( 512): b = 0:8
I/[MALI][Gralloc]( 512): width = 163 mm (159.568100 dpi)
I/[MALI][Gralloc]( 512): height = 95 mm (160.421051 dpi)
I/[MALI][Gralloc]( 512): refresh rate = 60.00 Hz
I/[MALI][Gralloc]( 512): init_framebuffer va: 0xb50f8000 mva: 0xb3700000
I/hwcomposer( 512): [DPY] Display Information:
I/hwcomposer( 512): [DPY] # fo devices : 1
I/hwcomposer( 512): [DPY] -----------------------------
I/hwcomposer( 512): [DPY] Device id : 0
I/hwcomposer( 512): [DPY] Width : 1024
I/hwcomposer( 512): [DPY] Height : 600
I/hwcomposer( 512): [DPY] xdpi : 160.000000
I/hwcomposer( 512): [DPY] ydpi : 160.000000
I/hwcomposer( 512): [DPY] vsync : 1
I/hwcomposer( 512): [DPY] refresh : 17179179
I/hwcomposer( 512): [DPY] connected : 1
I/hwcomposer( 512): [DPY] subtype : 0
W/hwcomposer( 512): [EVENT] Failed to open vsync device (Permission denied)
W/hwcomposer( 512): [EVENT] HW VSync State(0)
W/hwcomposer( 512): [EVENT] Start to listen uevent, addr.nl_pid(512)
I/6620_launcher( 124): Can't open device node(/dev/stpwmt)
W/hwcomposer( 512): [WKR] Failed to set priority to RR: Operation not permitted
W/hwcomposer( 512): [WKR] Failed to set priority to RR: Operation not permitted
I/SurfaceFlinger( 512): Using composer version 1.2
I/hwcomposer( 512): [HWC] getConfigs Display(0)
W/hwcomposer( 512): [WKR] Failed to set priority to RR: Operation not permitted
I/hwcomposer( 512): [HWC] getAttributes Display(0)
I/hwcomposer( 512): [HWC] getConfigs Display(1)
I/hwcomposer( 512): [HWC] getAttributes Display(1)
E/hwcomposer( 512): [HWC] Failed to get display attributes (dpy=1 is not connected)
W/SurfaceFlinger( 512): no suitable EGLConfig found, trying a simpler query
F/SurfaceFlinger( 512): no suitable EGLConfig found, giving up
F/libc ( 512): Fatal signal 6 (SIGABRT), code -6 in tid 512 (surfaceflinger)
I/DEBUG ( 129): property debug.db.uid not set; NOT waiting for gdb.
W/hwcomposer( 512): [WKR] Failed to set priority to RR: Operation not permitted
I/DEBUG ( 129): HINT: adb shell setprop debug.db.uid 100000
I/DEBUG ( 129): HINT: adb forward tcp:5039 tcp:5039
W/hwcomposer( 512): [WKR] Failed to set priority to RR: Operation not permitted
I/DEBUG ( 129): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 129): Build fingerprint: 'LeapFrog/cm_narnia/narnia:5.1.1/LMY49J/e2909bc29b:eng/test-keys'
I/DEBUG ( 129): Revision: '0'
I/DEBUG ( 129): ABI: 'arm'
I/DEBUG ( 129): pid: 512, tid: 512, name: surfaceflinger >>> /system/bin/surfaceflinger <<<
I/DEBUG ( 129): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
I/DEBUG ( 129): Abort message: 'no suitable EGLConfig found, giving up'
I/DEBUG ( 129): r0 00000000 r1 00000200 r2 00000006 r3 00000000
I/DEBUG ( 129): r4 b6fc1e38 r5 00000006 r6 00000000 r7 0000010c
I/DEBUG ( 129): r8 b6482000 r9 00000000 sl 00000000 fp 00000001
I/DEBUG ( 129): ip 00000200 sp be8d34a0 lr b6f1a8f5 pc b6f3d8d0 cpsr 60070010
I/DEBUG ( 129):
I/DEBUG ( 129): backtrace:
I/DEBUG ( 129): #00 pc 000378d0 /system/lib/libc.so (tgkill+12)
I/DEBUG ( 129): #01 pc 000148f1 /system/lib/libc.so (pthread_kill+52)
I/DEBUG ( 129): #02 pc 0001564b /system/lib/libc.so (raise+10)
I/DEBUG ( 129): #03 pc 00011cc5 /system/lib/libc.so (__libc_android_abort+36)
I/DEBUG ( 129): #04 pc 0001005c /system/lib/libc.so (abort+4)
I/DEBUG ( 129): #05 pc 00007a41 /system/lib/libcutils.so (__android_log_assert+88)
I/DEBUG ( 129): #06 pc 0002930d /system/lib/libsurfaceflinger.so
I/DEBUG ( 129): #07 pc 00028f09 /system/lib/libsurfaceflinger.so
I/DEBUG ( 129): #08 pc 000195e7 /system/lib/libsurfaceflinger.so (_ZN7android14SurfaceFlinger4initEv+174)
I/DEBUG ( 129): #09 pc 00000af1 /system/bin/surfaceflinger
I/DEBUG ( 129): #10 pc 0000ff19 /system/lib/libc.so (__libc_init+44)
I/DEBUG ( 129): #11 pc 00000c08 /system/bin/surfaceflinger
Click to expand...
Click to collapse
I would not know how to help you but maybe ggow who has compiled lineage 12.1 for amazon fire mt8127 can help you.
Rortiz2 said:
I would not know how to help you but maybe ggow who has compiled lineage 12.1 for amazon fire mt8127 can help you.
Click to expand...
Click to collapse
Does that one run on Kitkat originally? If anything, both the Epic and the MT8127 Amazon Fire tablets are made by the same ODM iirc. I might also try updating the blobs and kernel to version 1.8.45 to see if it helps any, but hwcomposer is apparently still the same.
blakegriplingph said:
Does that one run on Kitkat originally? If anything, both the Epic and the MT8127 Amazon Fire tablets are made by the same ODM iirc. I might also try updating the blobs and kernel to version 1.8.45 to see if it helps any, but hwcomposer is apparently still the same.
Click to expand...
Click to collapse
Amazon Fire tablets came with lollipop 5.1.
Have you tried to port the Rom instead of compiling? It is easier :/ . If you send me the stock bootimg and the stock system.img I can port you some ROM.
Rortiz2 said:
Amazon Fire tablets came with lollipop 5.1.
Have you tried to port the Rom instead of compiling? It is easier :/ . If you send me the stock bootimg and the stock system.img I can port you some ROM.
Click to expand...
Click to collapse
You sure you're able to port a ROM built for newer (prebuilt) kernel on a 3.4.67 device? The only sticking point so far with the LeapFrog CM12 port is hwcomposer/surfaceflinger refusing to cooperate. As of late I recompiled the ROM with no blobs kanged off other devices with the following flags added to BoardConfig:
Code:
TARGET_RUNNING_WITHOUT_SYNC_FRAMEWORK := true
BOARD_EGL_WORKAROUND_BUG_10194508 := true
...and ran logcat on it. Still the same sw_sync issues though it apparently has something to do with SELinux denying those requests as what the attached log seems to imply. It might be a red herring though, and I've read that @pix106 also ran into similar issues before with him trying a myriad of build flags in an attempt to fix this. Any ideas on what to use to get rid of this once and for all and finally get the damn GUI to boot? I'm thinking about using "BOARD_NEEDS_OLD_HWC_API := true" given how the blobs were for KitKat but what do you guys think? If only there were developers here who just happen to own an Epic lol.
...and I got a tiny bit further with the SELinux whitelist applied, though it's still the same "stuck on LeapFrog logo" moment with no sign of the boot animation springing to life. The backtrace mentions something along the lines of "buffer" in the functions called. Could it be that "BOARD_EGL_NEEDS_LEGACY_FB := true" is at fault here?
Also, there's an error in the log saying:
Code:
File size of 0 bytes not large enough to contain ELF header of 52 bytes: '/data/dalvik-cache/arm/[email protected]@boot.oat'
blakegriplingph said:
...and I got a tiny bit further with the SELinux whitelist applied, though it's still the same "stuck on LeapFrog logo" moment with no sign of the boot animation springing to life. The backtrace mentions something along the lines of "buffer" in the functions called. Could it be that "BOARD_EGL_NEEDS_LEGACY_FB := true" is at fault here?
Also, there's an error in the log saying:
Click to expand...
Click to collapse
I'd first check permission issues (/dev/stpwmt : iirc I had a few permission errors at early boot, but quick after it should be working fine), and nvram.
pix106 said:
I'd first check permission issues (/dev/stpwmt : iirc I had a few permission errors at early boot, but quick after it should be working fine), and nvram.
Click to expand...
Click to collapse
Care to explain even further? I'll have to check things on my other Epic to see if I got the permissions right (I have three Epics actually, one for development, one which I keep as stock for reference purposes and another as a parts unit).
Also, any ideas on why ART appears to be failing? Permissions issues as well I presume?
ART does seem to work, but for some reason /dev/stpwmt isn't being loaded properly despite it being declared on the init files. I can however load it manually through ADB shell. Also, even if I did seem to set the right permissions to the display drivers surfaceflinger crashes for a few times until the crash logs cease to show up, and I then get spammed with the following:
Code:
D/hwcomposer( 2058): [DPY] UEventThread::threadLoop poll return 1
I/hwcomposer( 2058): [DPY] UEventThread::threadLoop recv [email protected]/devices/platform/battery/power_supply/ac
D/hwcomposer( 2058): [DPY] handle_uevents : s = 0xb5ce2138, len = 191
D/hwcomposer( 2058): [DPY] UEventThread::threadLoop poll wait
D/hwcomposer( 2058): [DPY] UEventThread::threadLoop poll return 1
I/hwcomposer( 2058): [DPY] UEventThread::threadLoop recv [email protected]/devices/platform/battery/power_supply/usb
D/hwcomposer( 2058): [DPY] handle_uevents : s = 0xb5ce2138, len = 194
D/hwcomposer( 2058): [DPY] UEventThread::threadLoop poll wait
D/hwcomposer( 2058): [DPY] UEventThread::threadLoop poll return 1
I/hwcomposer( 2058): [DPY] UEventThread::threadLoop recv [email protected]/devices/platform/battery/power_supply/battery
D/hwcomposer( 2058): [DPY] handle_uevents : s = 0xb5ce2138, len = 794
D/hwcomposer( 2058): [DPY] UEventThread::threadLoop poll wait
I think the surfaceflinger crash may have something to do with the permissions being loaded a bit too late. Can anyone look into this?
blakegriplingph said:
Care to explain even further? I'll have to check things on my other Epic to see if I got the permissions right (I have three Epics actually, one for development, one which I keep as stock for reference purposes and another as a parts unit).
Also, any ideas on why ART appears to be failing? Permissions issues as well I presume?
Click to expand...
Click to collapse
I remember I had issues with this permission too, and maybe had to modify it from init.mt8127, among other permissions. Check my GitHub, check cm-12.1 branch, which was used as base for the CyanogenMod for Lenovo Tab2A710F repository ; you'll find the commits before cm finally booted.
pix106 said:
I remember I had issues with this permission too, and maybe had to modify it from init.mt8127, among other permissions. Check my GitHub, check cm-12.1 branch, which was used as base for the CyanogenMod for Lenovo Tab2A710F repository ; you'll find the commits before cm finally booted.
Click to expand...
Click to collapse
I'll check that one out. Permissions seem to be the thing that's keeping CM from booting up at all lol. If only LeapFrog did a Lollipop update for the Epic (like seriously, KitKat in 2019 wtf?) that would've saved me the trouble of hacking up fixes and whatnot.
Strange, I applied your edits to init.mt8127 yet /dev/stpwmt isn't being loaded automatically. And HWC/surfaceflinger still spazzes out with complaints about buffers or something along the lines of it. I don't know if I should just suck it up and throw the towel for now, but I've gone too far into this project that it would be a shame to just let it go.
That being said, is it possible to decompile sepolicy and kang whatever it is in there so I don't have to compile a whole list of things to whitelist? And I really do need people who own a LeapFrog Epic and are also interested in porting CM to this damn thing. It's a shot in the dark but I could use all the help I could muster right now.
Seems like we need to adapt what I saw on this repo as the MediatekHacks.cpp I threw in to fix the missing symbols issue may have accounted for why SurfaceFlinger isn't cooperating.
@pix106 - Did you by any chance use the repo I mentioned above when you built your ROM? I've used the vanilla CM android_frameworks_native repo for one and that may have accounted for why my ROM is spazzing out. Also, I saw a commit by thp1997 (along with a patch of similar intent by @Kirito96) which appears to be a patch/shim set for the MT6572 that seems to tackle the same issue as what I've been experiencing with the Epic. The crash log...
Code:
--------- beginning of crash
F/libc ( 127): Fatal signal 7 (SIGBUS), code 1, fault addr 0xb6400189 in tid 127 (surfaceflinger)
I/DEBUG ( 133): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 133): Build fingerprint: 'LeapFrog/cm_narnia/narnia:5.1.1/LMY49J/ad8cbe2f60:eng/test-keys'
I/DEBUG ( 133): Revision: '0'
I/DEBUG ( 133): ABI: 'arm'
I/DEBUG ( 133): pid: 127, tid: 127, name: surfaceflinger >>> /system/bin/surfaceflinger <<<
I/DEBUG ( 133): signal 7 (SIGBUS), code 1 (BUS_ADRALN), fault addr 0xb6400189
I/DEBUG ( 133): r0 ffffffff r1 b6400189 r2 00000005 r3 00000000
I/DEBUG ( 133): r4 b6400189 r5 ffffffff r6 be827298 r7 b60b30d0
I/DEBUG ( 133): r8 b6d6dc2c r9 be826db4 sl 00000000 fp 00000000
I/DEBUG ( 133): ip b6e02f38 sp be826d60 lr b6e68dbc pc b6e68dbc cpsr 80000010
I/DEBUG ( 133):
I/DEBUG ( 133): backtrace:
I/DEBUG ( 133): #00 pc 00003dbc /system/lib/libcutils.so (android_atomic_add+16)
I/DEBUG ( 133): #01 pc 0000d61f /system/lib/libutils.so (_ZNK7android7RefBase9decStrongEPKv+10)
I/DEBUG ( 133): #02 pc 00028f7b /system/lib/libgui.so (_ZN7android2spINS_13GraphicBufferEEaSERKS2_+22)
I/DEBUG ( 133): #03 pc 000290af /system/lib/libgui.so (_ZN7android19BufferQueueConsumer13acquireBufferEPNS_22IGraphicBufferConsumer10BufferItemEx+270)
I/DEBUG ( 133): #04 pc 0002c411 /system/lib/libgui.so (_ZN7android12ConsumerBase19acquireBufferLockedEPNS_22IGraphicBufferConsumer10BufferItemEx+16)
I/DEBUG ( 133): #05 pc 00023571 /system/lib/libsurfaceflinger.so
I/DEBUG ( 133): #06 pc 00023679 /system/lib/libsurfaceflinger.so
I/DEBUG ( 133): #07 pc 0002849b /system/lib/libgui.so (_ZN7android11BufferQueue21ProxyConsumerListener16onFrameAvailableERKNS_10BufferItemE+26)
I/DEBUG ( 133): #08 pc 0002ba2b /system/lib/libgui.so (_ZN7android19BufferQueueProducer11queueBufferEiRKNS_22IGraphicBufferProducer16QueueBufferInputEPNS1_17QueueBufferOutputE+562)
I/DEBUG ( 133): #09 pc 00037423 /system/lib/libgui.so (_ZN7android7Surface11queueBufferEP19ANativeWindowBufferi+254)
I/DEBUG ( 133): #10 pc 00036693 /system/lib/libgui.so (_ZN7android7Surface16hook_queueBufferEP13ANativeWindowP19ANativeWindowBufferi+10)
I/DEBUG ( 133): #11 pc 0000f720 /system/lib/libMali.so
I/DEBUG ( 133): #12 pc 00010218 /system/lib/libMali.so
I/DEBUG ( 133): #13 pc 0005e5d8 /system/lib/libMali.so
I/DEBUG ( 133): #14 pc 0005d70c /system/lib/libMali.so
I/DEBUG ( 133): #15 pc 0005bf58 /system/lib/libMali.so (shim_eglSwapBuffers+64)
I/DEBUG ( 133): #16 pc 000120d7 /system/lib/libEGL.so (eglSwapBuffers+290)
I/DEBUG ( 133): #17 pc 0000f541 /system/lib/libsurfaceflinger.so
I/DEBUG ( 133): #18 pc 0001c187 /system/lib/libsurfaceflinger.so
I/DEBUG ( 133): #19 pc 0001b367 /system/lib/libsurfaceflinger.so
I/DEBUG ( 133): #20 pc 0001a6eb /system/lib/libsurfaceflinger.so
I/DEBUG ( 133): #21 pc 0001a459 /system/lib/libsurfaceflinger.so
I/DEBUG ( 133): #22 pc 00011127 /system/lib/libutils.so (_ZN7android6Looper9pollInnerEi+410)
I/DEBUG ( 133): #23 pc 00011219 /system/lib/libutils.so (_ZN7android6Looper8pollOnceEiPiS1_PPv+92)
I/DEBUG ( 133): #24 pc 00017b95 /system/lib/libsurfaceflinger.so
I/DEBUG ( 133): #25 pc 0001a04d /system/lib/libsurfaceflinger.so (_ZN7android14SurfaceFlinger3runEv+8)
I/DEBUG ( 133): #26 pc 00000b4d /system/bin/surfaceflinger
I/DEBUG ( 133): #27 pc 0000ff19 /system/lib/libc.so (__libc_init+44)
I/DEBUG ( 133): #28 pc 00000c08 /system/bin/surfaceflinger
F/libc ( 261): Fatal signal 7 (SIGBUS), code 1, fault addr 0xffffffff in tid 261 (surfaceflinger)
I/DEBUG ( 133): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
...appears to allude to the ones mentioned in the patch files. Maybe this is the cure we needed, short of using a different HWC which I more or less doubt to be necessary.
blakegriplingph said:
Seems like we need to adapt what I saw on this repo as the MediatekHacks.cpp I threw in to fix the missing symbols issue may have accounted for why SurfaceFlinger isn't cooperating.
@pix106 - Did you by any chance use the repo I mentioned above when you built your ROM? I've used the vanilla CM android_frameworks_native repo for one and that may have accounted for why my ROM is spazzing out. Also, I saw a commit by thp1997 (along with a patch of similar intent by @Kirito96) which appears to be a patch/shim set for the MT6572 that seems to tackle the same issue as what I've been experiencing with the Epic. The crash log...
Code:
--------- beginning of crash
F/libc ( 127): Fatal signal 7 (SIGBUS), code 1, fault addr 0xb6400189 in tid 127 (surfaceflinger)
I/DEBUG ( 133): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 133): Build fingerprint: 'LeapFrog/cm_narnia/narnia:5.1.1/LMY49J/ad8cbe2f60:eng/test-keys'
I/DEBUG ( 133): Revision: '0'
I/DEBUG ( 133): ABI: 'arm'
I/DEBUG ( 133): pid: 127, tid: 127, name: surfaceflinger >>> /system/bin/surfaceflinger <<<
I/DEBUG ( 133): signal 7 (SIGBUS), code 1 (BUS_ADRALN), fault addr 0xb6400189
I/DEBUG ( 133): r0 ffffffff r1 b6400189 r2 00000005 r3 00000000
I/DEBUG ( 133): r4 b6400189 r5 ffffffff r6 be827298 r7 b60b30d0
I/DEBUG ( 133): r8 b6d6dc2c r9 be826db4 sl 00000000 fp 00000000
I/DEBUG ( 133): ip b6e02f38 sp be826d60 lr b6e68dbc pc b6e68dbc cpsr 80000010
I/DEBUG ( 133):
I/DEBUG ( 133): backtrace:
I/DEBUG ( 133): #00 pc 00003dbc /system/lib/libcutils.so (android_atomic_add+16)
I/DEBUG ( 133): #01 pc 0000d61f /system/lib/libutils.so (_ZNK7android7RefBase9decStrongEPKv+10)
I/DEBUG ( 133): #02 pc 00028f7b /system/lib/libgui.so (_ZN7android2spINS_13GraphicBufferEEaSERKS2_+22)
I/DEBUG ( 133): #03 pc 000290af /system/lib/libgui.so (_ZN7android19BufferQueueConsumer13acquireBufferEPNS_22IGraphicBufferConsumer10BufferItemEx+270)
I/DEBUG ( 133): #04 pc 0002c411 /system/lib/libgui.so (_ZN7android12ConsumerBase19acquireBufferLockedEPNS_22IGraphicBufferConsumer10BufferItemEx+16)
I/DEBUG ( 133): #05 pc 00023571 /system/lib/libsurfaceflinger.so
I/DEBUG ( 133): #06 pc 00023679 /system/lib/libsurfaceflinger.so
I/DEBUG ( 133): #07 pc 0002849b /system/lib/libgui.so (_ZN7android11BufferQueue21ProxyConsumerListener16onFrameAvailableERKNS_10BufferItemE+26)
I/DEBUG ( 133): #08 pc 0002ba2b /system/lib/libgui.so (_ZN7android19BufferQueueProducer11queueBufferEiRKNS_22IGraphicBufferProducer16QueueBufferInputEPNS1_17QueueBufferOutputE+562)
I/DEBUG ( 133): #09 pc 00037423 /system/lib/libgui.so (_ZN7android7Surface11queueBufferEP19ANativeWindowBufferi+254)
I/DEBUG ( 133): #10 pc 00036693 /system/lib/libgui.so (_ZN7android7Surface16hook_queueBufferEP13ANativeWindowP19ANativeWindowBufferi+10)
I/DEBUG ( 133): #11 pc 0000f720 /system/lib/libMali.so
I/DEBUG ( 133): #12 pc 00010218 /system/lib/libMali.so
I/DEBUG ( 133): #13 pc 0005e5d8 /system/lib/libMali.so
I/DEBUG ( 133): #14 pc 0005d70c /system/lib/libMali.so
I/DEBUG ( 133): #15 pc 0005bf58 /system/lib/libMali.so (shim_eglSwapBuffers+64)
I/DEBUG ( 133): #16 pc 000120d7 /system/lib/libEGL.so (eglSwapBuffers+290)
I/DEBUG ( 133): #17 pc 0000f541 /system/lib/libsurfaceflinger.so
I/DEBUG ( 133): #18 pc 0001c187 /system/lib/libsurfaceflinger.so
I/DEBUG ( 133): #19 pc 0001b367 /system/lib/libsurfaceflinger.so
I/DEBUG ( 133): #20 pc 0001a6eb /system/lib/libsurfaceflinger.so
I/DEBUG ( 133): #21 pc 0001a459 /system/lib/libsurfaceflinger.so
I/DEBUG ( 133): #22 pc 00011127 /system/lib/libutils.so (_ZN7android6Looper9pollInnerEi+410)
I/DEBUG ( 133): #23 pc 00011219 /system/lib/libutils.so (_ZN7android6Looper8pollOnceEiPiS1_PPv+92)
I/DEBUG ( 133): #24 pc 00017b95 /system/lib/libsurfaceflinger.so
I/DEBUG ( 133): #25 pc 0001a04d /system/lib/libsurfaceflinger.so (_ZN7android14SurfaceFlinger3runEv+8)
I/DEBUG ( 133): #26 pc 00000b4d /system/bin/surfaceflinger
I/DEBUG ( 133): #27 pc 0000ff19 /system/lib/libc.so (__libc_init+44)
I/DEBUG ( 133): #28 pc 00000c08 /system/bin/surfaceflinger
F/libc ( 261): Fatal signal 7 (SIGBUS), code 1, fault addr 0xffffffff in tid 261 (surfaceflinger)
I/DEBUG ( 133): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
...appears to allude to the ones mentioned in the patch files. Maybe this is the cure we needed, short of using a different HWC which I more or less doubt to be necessary.
Click to expand...
Click to collapse
i did not use this repo.
i could build a bootable and usable cm12.1 without any patch.
thp1997 joined afterwards and added patched repos, but they were not strictly needed : they allowed WPS wifi pairing, headset icon, usb mode selection when usb is not plugged.