Related
I am working on porting the Galaxy Sense 1.0.2 from the GT-I9000 to our infuse and I am looking for a little bit of assistance with it. I have it to the boot animation but it loops there. I am using the libs/kernel from cm7 nightlies. Logcat ->
Code:
I/Zygote ( 314): ...preloaded 51 resources in 152ms.
I/Zygote ( 314): ...preloaded 15 resources in 3ms.
D/dalvikvm( 314): GC_EXPLICIT freed 20K, 48% free 2704K/5123K, external 0K/0K,
paused 17ms
D/dalvikvm( 314): GC_EXPLICIT freed 5K, 48% free 2698K/5123K, external 0K/0K, p
aused 16ms
D/dalvikvm( 314): GC_EXPLICIT freed <1K, 48% free 2698K/5123K, external 0K/0K,
paused 16ms
D/dalvikvm( 314): Before fork
D/dalvikvm( 314): Fork pid: 363
I/dalvikvm( 314): System server process 363 has been created
I/Zygote ( 314): Accepting command socket connections
D/dalvikvm( 363): Fork pid: 0
E/BatteryService( 363): batteryUnsupportChargePath not found
E/BatteryService( 363): wirelessOnlinePath not found
I/sysproc ( 363): Entered system_init()
I/sysproc ( 363): ServiceManager: 0x19b090
I/SurfaceFlinger( 363): SurfaceFlinger is starting
I/SurfaceFlinger( 363): SurfaceFlinger's main thread ready to run. Initializing
graphics H/W...
D/libEGL ( 363): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_120.so
D/libEGL ( 363): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so
D/libEGL ( 363): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so
E/libEGL ( 363): eglSetSwapRectangleANDROID:1833 error 3008 (EGL_BAD_DISPLAY)
I/SurfaceFlinger( 363): EGL informations:
I/SurfaceFlinger( 363): # of configs : 28
I/SurfaceFlinger( 363): vendor : Android
I/SurfaceFlinger( 363): version : 1.4 Android META-EGL
I/SurfaceFlinger( 363): extensions: EGL_KHR_image EGL_KHR_image_base EGL_KHR_im
age_pixmap EGL_ANDROID_image_native_buffer EGL_ANDROID_swap_rectangle
I/SurfaceFlinger( 363): Client API: OpenGL ES
I/SurfaceFlinger( 363): EGLSurface: 8-8-8-8, config=0x1
I/SurfaceFlinger( 363): OpenGL informations:
I/SurfaceFlinger( 363): vendor : Imagination Technologies
I/SurfaceFlinger( 363): renderer : PowerVR SGX 540
I/SurfaceFlinger( 363): version : OpenGL ES-CM 1.1
I/SurfaceFlinger( 363): extensions: GL_OES_byte_coordinates GL_OES_fixed_point
GL_OES_single_precision GL_OES_matrix_get GL_OES_read_format GL_OES_compressed_p
aletted_texture GL_OES_point_sprite GL_OES_point_size_array GL_OES_matrix_palett
e GL_OES_draw_texture GL_OES_query_matrix GL_OES_texture_env_crossbar GL_OES_tex
ture_mirrored_repeat GL_OES_texture_cube_map GL_OES_blend_subtract GL_OES_blend_
func_separate GL_OES_blend_equation_separate GL_OES_stencil_wrap GL_OES_extended
_matrix_palette GL_OES_framebuffer_object GL_OES_rgb8_rgba8 GL_OES_depth24 GL_OE
S_stencil8 GL_OES_compressed_ETC1_RGB8_texture GL_OES_mapbuffer GL_OES_EGL_image
GL_EXT_multi_draw_arrays GL_OES_required_internalformat GL_IMG_read_format GL_I
MG_texture_compression_pvrtc GL_IMG_texture_format_BGRA8888 GL_EXT_texture_forma
t_BGRA8888 GL_IMG_texture_stream GL_OES_egl_sync GL_IMG_vertex_array_object
I/SurfaceFlinger( 363): GL_MAX_TEXTURE_SIZE = 2048
I/SurfaceFlinger( 363): GL_MAX_VIEWPORT_DIMS = 2048
I/SurfaceFlinger( 363): flags = 00010000
I/SurfaceFlinger( 363): disable rotate animation
I/SurfaceFlinger( 363): LayerAnimationFactory::init: 480 x 800
D/SensorService( 363): nuSensorService starting...
W/zipro ( 373): Unable to open zip '/system/etc/customer/bootanimation.zip':
No such file or directory
D/HtcBootAnimation( 373): Load /system/customize/CID/default.xml
E/SurfaceFlinger( 363): eglSwapBuffers: EGL error 0x3008 (EGL_BAD_DISPLAY)
D/HtcBootAnimation( 373): Using OpenGL
E/HtcBootAnimation( 373): Could not find width.
E/HtcBootAnimation( 373): Could not find height.
E/HtcBootAnimation( 373): Could not find framerate.
E/HtcBootAnimation( 373): Could not find part1.
E/HtcBootAnimation( 373): Could not find part2.
E/HtcBootAnimation( 373): Could not find part3.
E/HtcBootAnimation( 373): sqlite3_open error
D/libEGL ( 373): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_120.so
D/libEGL ( 373): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so
D/libEGL ( 373): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so
V/MediaPlayer( 373): constructor
V/MediaPlayer( 373): setDataSource(/system/customize/resource/android_audio.mp3
)
V/MediaPlayerService( 312): Client(1) constructor
V/MediaPlayerService( 312): Create new client(1) from pid 373, url=/system/cust
omize/resource/android_audio.mp3, connId=1, audioSessionId=2
V/MediaPlayerService( 312): setDataSource(/system/customize/resource/android_au
dio.mp3)
V/MediaPlayerService( 312): getPlayerTypeFromMAP(/system/customize/resource/and
roid_audio.mp3): PLAYERS_MAP[25].playertype 0
V/MediaPlayerService( 312): player type = 4
V/MediaPlayerService( 312): create StagefrightPlayer
V/ExtendedExtractor( 312): Failed to open MM_PARSER_LIB, dlerror = Cannot load
library: load_library[1109]: Library 'libmmparser.so' not found
V/ExtendedExtractor( 312): Failed to open MM_PARSER_LITE_LIB, dlerror = Cannot
load library: load_library[1109]: Library 'libmmparser_lite.so' not found
D/AwesomePlayer( 312): [U5B] AwesomePlayer (325)
D/AwesomePlayer( 312): [U5B] reset (502)
D/AwesomePlayer( 312): [U5B] reset_l (510)
D/AwesomePlayer( 312): [U5B] reset_l (529)
D/AwesomePlayer( 312): [U5B] reset_l (609)
V/AudioSink( 312): AudioOutput(2)
V/MediaPlayerService( 312): setDataSource
I/StagefrightPlayer( 312): setDataSource('/system/customize/resource/android_au
dio.mp3')
D/AwesomePlayer( 312): [U5B] reset_l (510)
D/AwesomePlayer( 312): [U5B] reset_l (529)
D/AwesomePlayer( 312): [U5B] reset_l (609)
V/MediaPlayer( 373): MediaPlayer::setAudioStreamType
V/MediaPlayer( 373): prepare
V/MediaPlayerService( 312): [1] setAudioStreamType(2)
V/MediaPlayerService( 312): [1] prepareAsync
D/AwesomePlayer( 312): [U5B] setDataSource_l (438)
V/MediaPlayerService( 312): [1] notify (0x16e68, 5, 0, 0)
V/MediaPlayer( 373): message received msg=5, ext1=0, ext2=0
V/MediaPlayer( 373): New video size 0 x 0
V/MediaPlayerService( 312): [1] notify (0x16e68, 1, 0, 0)
V/MediaPlayer( 373): message received msg=1, ext1=0, ext2=0
V/MediaPlayer( 373): prepared
V/MediaPlayer( 373): signal application thread
V/MediaPlayer( 373): prepare complete - status=0
V/MediaPlayer( 373): MediaPlayer::setVolume(1.000000, 1.000000)
V/MediaPlayerService( 312): [1] setVolume(1.000000, 1.000000)
V/AudioSink( 312): setVolume(1.000000, 1.000000)
D/HtcBootAnimation( 373): movie
D/HtcBootAnimation( 373): Parse the description file
E/Sensors ( 363): couldn't find 'accelerometer_sensor' input device
D/Sensors ( 363): Smb380Sensor::Smb380Sensor()
D/Sensors ( 363): Smb380Sensor::Smb380Sensor() open data_fd
E/Sensors ( 363): couldn't find 'magnetic_sensor' input device
D/HtcBootAnimation( 373): play animation 0!
D/HtcBootAnimation( 373): play mp3 at android!
V/MediaPlayer( 373): start
V/MediaPlayerService( 312): [1] setLooping(0)
V/MediaPlayerService( 312): [1] setVolume(1.000000, 1.000000)
V/AudioSink( 312): setVolume(1.000000, 1.000000)
V/MediaPlayerService( 312): [1] setAuxEffectSendLevel(0.000000)
V/AudioSink( 312): setAuxEffectSendLevel(0.000000)
V/MediaPlayerService( 312): [1] start
D/AwesomePlayer( 312): [U5B] play (848)
D/AwesomePlayer( 312): [U5B] play_l (857)
V/AudioSink( 312): open(44100, 2, 1, 4, 2)
V/AudioSink( 312): setVolume
V/AudioSink( 312): start
D/AwesomePlayer( 312): [U5B] play_l (946)
D/Sensors ( 363): CompassSensor::CompassSensor()
D/Sensors ( 363): CompassSensor::CompassSensor() open data_fd
E/Sensors ( 363): couldn't find 'orientation_sensor' input device
D/Sensors ( 363): OrientationSensor::OrientationSensor()
D/Sensors ( 363): OrientationSensor::OrientationSensor() open data_fd
D/Sensors ( 363): Smb380Sensor::~enable(0, 0)
D/Sensors ( 363): CompassSensor::~enable(0, 0)
D/Sensors ( 363): OrientationSensor::~enable(0, 0)
I/SensorService( 363): SMB380 3-axis Accelerometer
I/SensorService( 363): MS3C 3-axis Magnetic field sensor
I/SensorService( 363): CM Hacked Orientation Sensor
I/SensorService( 363): GP2A Light sensor
I/SensorService( 363): GP2A Proximity sensor
I/sysproc ( 363): System server: starting Android runtime.
I/sysproc ( 363): System server: starting Android services.
D/AudioHardware( 312): AudioHardware pcm playback is exiting standby.
D/AudioHardware( 312): openPcmOut_l() mPcmOpenCnt: 0
I/SystemServer( 363): Entered the Android system server!
D/SensorService( 363): nuSensorService thread starting...
I/sysproc ( 363): System server: entering thread pool.
I/SystemServer( 363): Entropy Service
W/AudioFlinger( 312): write blocked for 78 msecs, 1 delayed writes, thread 0x14
780
I/SystemServer( 363): Power Manager
I/SystemServer( 363): Activity Manager
I/ActivityManager( 363): Memory class: 72
W/UsageStats( 363): Usage stats version changed; dropping
W/ProcessStats( 363): Skipping unknown process pid 1
W/ProcessStats( 363): Skipping unknown process pid 2
W/ProcessStats( 363): Skipping unknown process pid 3
W/ProcessStats( 363): Skipping unknown process pid 4
W/ProcessStats( 363): Skipping unknown process pid 5
W/ProcessStats( 363): Skipping unknown process pid 6
W/ProcessStats( 363): Skipping unknown process pid 7
W/ProcessStats( 363): Skipping unknown process pid 8
W/ProcessStats( 363): Skipping unknown process pid 9
W/ProcessStats( 363): Skipping unknown process pid 10
W/ProcessStats( 363): Skipping unknown process pid 11
W/ProcessStats( 363): Skipping unknown process pid 12
W/ProcessStats( 363): Skipping unknown process pid 13
W/ProcessStats( 363): Skipping unknown process pid 14
W/ProcessStats( 363): Skipping unknown process pid 15
W/ProcessStats( 363): Skipping unknown process pid 16
W/ProcessStats( 363): Skipping unknown process pid 17
W/ProcessStats( 363): Skipping unknown process pid 18
W/ProcessStats( 363): Skipping unknown process pid 19
W/ProcessStats( 363): Skipping unknown process pid 37
W/ProcessStats( 363): Skipping unknown process pid 38
W/ProcessStats( 363): Skipping unknown process pid 39
W/ProcessStats( 363): Skipping unknown process pid 40
W/ProcessStats( 363): Skipping unknown process pid 41
W/ProcessStats( 363): Skipping unknown process pid 42
W/ProcessStats( 363): Skipping unknown process pid 43
W/ProcessStats( 363): Skipping unknown process pid 44
W/ProcessStats( 363): Skipping unknown process pid 45
W/ProcessStats( 363): Skipping unknown process pid 46
W/ProcessStats( 363): Skipping unknown process pid 47
W/ProcessStats( 363): Skipping unknown process pid 48
W/ProcessStats( 363): Skipping unknown process pid 49
W/ProcessStats( 363): Skipping unknown process pid 56
W/ProcessStats( 363): Skipping unknown process pid 57
W/ProcessStats( 363): Skipping unknown process pid 59
W/ProcessStats( 363): Skipping unknown process pid 60
W/ProcessStats( 363): Skipping unknown process pid 61
W/ProcessStats( 363): Skipping unknown process pid 62
W/ProcessStats( 363): Skipping unknown process pid 63
W/ProcessStats( 363): Skipping unknown process pid 64
W/ProcessStats( 363): Skipping unknown process pid 65
W/ProcessStats( 363): Skipping unknown process pid 66
W/ProcessStats( 363): Skipping unknown process pid 67
W/ProcessStats( 363): Skipping unknown process pid 68
Did you use the libandroid_runtime.so from sense in this? If not place the libandroid_runtime.so from sense in your port....if you already did that then try using cm7s libandroid_runtime.so
Sent from my SGH-I997 using XDA
Also...this prob should've gone in Q&A...and for log cats its usually best to upload in a .txt document...just so you know for next time
Sent from my SGH-I997 using XDA
I had not tried replacing that, I shall do it. I mainly replaced the kernel, vendor firmware and wifi drivers. Trying that now.
mg2195 said:
Also...this prob should've gone in Q&A...and for log cats its usually best to upload in a .txt document...just so you know for next time
Sent from my SGH-I997 using XDA
Click to expand...
Click to collapse
Well, I couldn't get all of the logcat, so I just pasted what I could.
darknessrise1234 said:
I had not tried replacing that, I shall do it. I mainly replaced the kernel, vendor firmware and wifi drivers. Trying that now.
Click to expand...
Click to collapse
I think that always the first lib I copy and move.
Sent from my SAMSUNG-SGH-I717 using Tapatalk 2
New logcat:
Code:
E/HtcBootAnimation( 372): Could not find framerate.
E/HtcBootAnimation( 372): Could not find part1.
E/HtcBootAnimation( 372): Could not find part2.
E/HtcBootAnimation( 372): Could not find part3.
E/HtcBootAnimation( 372): sqlite3_open error
D/libEGL ( 372): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_120.so
D/libEGL ( 372): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so
D/libEGL ( 372): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so
V/MediaPlayer( 372): constructor
V/MediaPlayer( 372): setDataSource(/system/customize/resource/android_audio.mp3
)
V/MediaPlayerService( 311): Client(1) constructor
V/MediaPlayerService( 311): Create new client(1) from pid 372, url=/system/cust
omize/resource/android_audio.mp3, connId=1, audioSessionId=2
V/MediaPlayerService( 311): setDataSource(/system/customize/resource/android_au
dio.mp3)
V/MediaPlayerService( 311): getPlayerTypeFromMAP(/system/customize/resource/and
roid_audio.mp3): PLAYERS_MAP[25].playertype 0
V/MediaPlayerService( 311): player type = 4
V/MediaPlayerService( 311): create StagefrightPlayer
V/ExtendedExtractor( 311): Failed to open MM_PARSER_LIB, dlerror = Cannot load
library: load_library[1109]: Library 'libmmparser.so' not found
V/ExtendedExtractor( 311): Failed to open MM_PARSER_LITE_LIB, dlerror = Cannot
load library: load_library[1109]: Library 'libmmparser_lite.so' not found
D/AwesomePlayer( 311): [U5B] AwesomePlayer (325)
D/AwesomePlayer( 311): [U5B] reset (502)
D/AwesomePlayer( 311): [U5B] reset_l (510)
D/AwesomePlayer( 311): [U5B] reset_l (529)
D/AwesomePlayer( 311): [U5B] reset_l (609)
V/AudioSink( 311): AudioOutput(2)
V/MediaPlayerService( 311): setDataSource
I/StagefrightPlayer( 311): setDataSource('/system/customize/resource/android_au
dio.mp3')
D/AwesomePlayer( 311): [U5B] reset_l (510)
D/AwesomePlayer( 311): [U5B] reset_l (529)
D/AwesomePlayer( 311): [U5B] reset_l (609)
V/MediaPlayer( 372): MediaPlayer::setAudioStreamType
V/MediaPlayer( 372): prepare
V/MediaPlayerService( 311): [1] setAudioStreamType(2)
V/MediaPlayerService( 311): [1] prepareAsync
E/Sensors ( 362): couldn't find 'accelerometer_sensor' input device
D/Sensors ( 362): Smb380Sensor::Smb380Sensor()
D/AwesomePlayer( 311): [U5B] setDataSource_l (438)
D/Sensors ( 362): Smb380Sensor::Smb380Sensor() open data_fd
E/Sensors ( 362): couldn't find 'magnetic_sensor' input device
D/Sensors ( 362): CompassSensor::CompassSensor()
D/Sensors ( 362): CompassSensor::CompassSensor() open data_fd
E/Sensors ( 362): couldn't find 'orientation_sensor' input device
D/Sensors ( 362): OrientationSensor::OrientationSensor()
D/Sensors ( 362): OrientationSensor::OrientationSensor() open data_fd
D/Sensors ( 362): Smb380Sensor::~enable(0, 0)
D/Sensors ( 362): CompassSensor::~enable(0, 0)
V/MediaPlayerService( 311): [1] notify (0x16e68, 5, 0, 0)
D/Sensors ( 362): OrientationSensor::~enable(0, 0)
V/MediaPlayer( 372): message received msg=5, ext1=0, ext2=0
V/MediaPlayer( 372): New video size 0 x 0
V/MediaPlayerService( 311): [1] notify (0x16e68, 1, 0, 0)
V/MediaPlayer( 372): message received msg=1, ext1=0, ext2=0
V/MediaPlayer( 372): prepared
V/MediaPlayer( 372): signal application thread
V/MediaPlayer( 372): prepare complete - status=0
V/MediaPlayer( 372): MediaPlayer::setVolume(1.000000, 1.000000)
V/MediaPlayerService( 311): [1] setVolume(1.000000, 1.000000)
V/AudioSink( 311): setVolume(1.000000, 1.000000)
D/HtcBootAnimation( 372): movie
D/HtcBootAnimation( 372): Parse the description file
I/SensorService( 362): SMB380 3-axis Accelerometer
I/SensorService( 362): MS3C 3-axis Magnetic field sensor
I/SensorService( 362): CM Hacked Orientation Sensor
I/SensorService( 362): GP2A Light sensor
I/SensorService( 362): GP2A Proximity sensor
I/sysproc ( 362): System server: starting Android runtime.
I/sysproc ( 362): System server: starting Android services.
D/HtcBootAnimation( 372): play animation 0!
D/HtcBootAnimation( 372): play mp3 at android!
V/MediaPlayer( 372): start
V/MediaPlayerService( 311): [1] setLooping(0)
V/MediaPlayerService( 311): [1] setVolume(1.000000, 1.000000)
V/AudioSink( 311): setVolume(1.000000, 1.000000)
V/MediaPlayerService( 311): [1] setAuxEffectSendLevel(0.000000)
V/AudioSink( 311): setAuxEffectSendLevel(0.000000)
I/SystemServer( 362): Entered the Android system server!
V/MediaPlayerService( 311): [1] start
D/AwesomePlayer( 311): [U5B] play (848)
D/AwesomePlayer( 311): [U5B] play_l (857)
V/AudioSink( 311): open(44100, 2, 1, 4, 2)
V/AudioSink( 311): setVolume
V/AudioSink( 311): start
D/AwesomePlayer( 311): [U5B] play_l (946)
I/sysproc ( 362): System server: entering thread pool.
D/SensorService( 362): nuSensorService thread starting...
I/SystemServer( 362): Entropy Service
D/AudioHardware( 311): AudioHardware pcm playback is exiting standby.
D/AudioHardware( 311): openPcmOut_l() mPcmOpenCnt: 0
W/AudioFlinger( 311): write blocked for 79 msecs, 1 delayed writes, thread 0x14
780
I/SystemServer( 362): Power Manager
I/SystemServer( 362): Activity Manager
I/ActivityManager( 362): Memory class: 72
W/UsageStats( 362): Usage stats version changed; dropping
darknessrise1234 said:
Well, I couldn't get all of the logcat, so I just pasted what I could.
Click to expand...
Click to collapse
That's fine...don't know how you get your log cats...but mine are saved in a folder....I use a program for Linux/Mac that has adb, apktool, and other stuff all in one thing so that's what I use for log cats...its called android utility
Sent from my SGH-I997 using XDA
mg2195 said:
That's fine...don't know how you get your log cats...but mine are saved in a folder....I use a program for Linux/Mac that has adb, apktool, and other stuff all in one thing so that's what I use for log cats...its called android utility
Sent from my SGH-I997 using XDA
Click to expand...
Click to collapse
I just get my logcats from the cmd prompt on Windows. I copy and paste it out. XD
I honestly have no idea what's wrong from these log cats...not sure but if you look at my tutorial for porting ics that may work with gingerbread roms too...not sure though...
Of course use cm7 instead of cm9 as a base
Sent from my SGH-I997 using XDA
mg2195 said:
I honestly have no idea what's wrong from these log cats...not sure but if you look at my tutorial for porting ics that may work with gingerbread roms too...not sure though...
Of course use cm7 instead of cm9 as a base
Sent from my SGH-I997 using XDA
Click to expand...
Click to collapse
I could upload my current build and allow you to see what you can do.
You could....but it would have to wait...I'm busy helping with another port...been driving me crazy lol
Sent from my SGH-I997 using XDA
mg2195 said:
You could....but it would have to wait...I'm busy helping with another port...been driving me crazy lol
Sent from my SGH-I997 using XDA
Click to expand...
Click to collapse
Well, anyways. Here it is. Took an hour to upload on my crappy internet
https://hotfile.com/dl/156421054/2bfd2a6/galaxysmtd_unsigned_052012_154943.zip.html
Is it on MTD? i think we can only goto ext4
Whatever cm9 formats to, that is what I am on. I don't know for sure tbh.
Sent from my SGH-I997 using xda premium
ext4 was the last I checked
---------- Post added at 08:53 PM ---------- Previous post was at 08:30 PM ----------
Btw It keeps bootlooping
---------- Post added at 08:54 PM ---------- Previous post was at 08:53 PM ----------
Bootlooping problems?
That's my problem. I cannot locate the issue....
Sent from my SGH-I997 using xda premium
have you ported this before. try looking at the build prop file
Once, but I didn't go very in depth.
Sent from my SGH-I997 using xda premium
When i had my captivate i had noticed this rom for it but never flashed it. I pretty sure that the rom is suppose to format to MTD but I'm not 100% positive. If so we can't use it.
Sent from my SAMSUNG-SGH-I997 using xda premium
ive been compiling for some time and and ported aokp 4.4 to the hp touchpad. after being approached to submit it to gerrit for official status, i ran into some issues. the build compiles just fine, but there is no display. the logcat looks to be like its bootlooping but i cannot figure out what is wrong.
beginning of /dev/log/system
I/Vold ( 135): Vold 2.1 (the revenge) firing up
D/Vold ( 135): Volume usbdisk state changing -1 (Initializing) -> 0 (No-Media)
I/SurfaceFlinger( 139): SurfaceFlinger is starting
I/SurfaceFlinger( 139): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
F/libEGL ( 139): couldn't find an OpenGL ES implementation
F/libc ( 139): Fatal signal 6 (SIGABRT) at 0x0000008b (code=-6), thread 139 (surfaceflinger)
thats just the first bit of the logcat as i cannot post links yet. any help would be greatly appreciated. thanks
Hello
Since HP Slate 7 6100en VoiceTab uses the same SoC (Marvell PXA1088) and has the same screen resolution (800 x 1280) it should be possible to port the firmware to our Tab 4.
I tried to do it myself using Tab 4 stock kernel and HP's /system but it's stuck in the bootanimation giving this error in logcat:
Code:
I/SystemServer( 531): Entered the Android system server!
D/SystemServer( 531): reason = 0 irc = 0
I/SystemServer( 531): Waiting for installd to be ready.
I/Installer( 531): connecting...
I/SystemServer( 531): Power Manager
I/SystemServer( 531): Activity Manager
E/AndroidRuntime( 531): *** FATAL EXCEPTION IN SYSTEM PROCESS: ActivityManager
E/AndroidRuntime( 531): java.lang.NoClassDefFoundError: com.marvell.security.MrvlActivityManagerService
E/AndroidRuntime( 531): at com.android.server.am.ActivityManagerService$AThread.run(ActivityManagerService.java:1959)
E/AndroidRuntime( 531): Error reporting crash
E/AndroidRuntime( 531): java.lang.NullPointerException
E/AndroidRuntime( 531): at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:84)
E/AndroidRuntime( 531): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693)
E/AndroidRuntime( 531): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690)
You can find HP Slate 7 firmware here:
http://ftp.hp.com/pub/softlib/software13/COL55456/ob-143932-1/update.zip
(from http://support.hp.com/us-en/product/HP-Slate-7-VoiceTab/6825090/model/7096415/drivers)
I am not very experienced in ROM porting, so any help will be appreciated.
isnt hp firmware worse as samsung stock?
sub77 said:
isnt hp firmware worse as samsung stock?
Click to expand...
Click to collapse
At least it's not touchwiz and it should not be much worse than Samsung stock, if not better.
sub77 said:
isnt hp firmware worse as samsung stock?
Click to expand...
Click to collapse
I'm really not trying to be disrespectful here but as someone who is developing for the 530 I would assume you know the difference between firmware and OS? He is trying to use the parts of code which correspond to the processor in the hp device merged into code for the 230. He isn't trying to port the hp version of the os without modification I would assume.
no touchwiz
Click to expand...
Click to collapse
made me convinced
gammaxgoblin said:
I'm really not trying to be disrespectful here but as someone who is developing for the 530 I would assume you know the difference between firmware and OS? He is trying to use the parts of code which correspond to the processor in the hp device merged into code for the 230. He isn't trying to port the hp version of the os without modification I would assume.
Click to expand...
Click to collapse
I am sorry again for my lack of knowledge about android development.
The goal is to get non-touchwiz version of Android running on the Tab 4 7.0, so the parts of code which correspond to the processor would not change, unless we needed to change them.
DJ_MuTeD said:
I am sorry again for my lack of knowledge about android development.
The goal is to get non-touchwiz version of Android running on the Tab 4 7.0, so the parts of code which correspond to the processor would not change, unless we needed to change them.
Click to expand...
Click to collapse
wish you a lot of fun.
This is impossible!
safariking said:
This is impossible!
Click to expand...
Click to collapse
It is not impossible but it is very difficult, I tried to carry both CM11 and CM12 and errors that I get are epic, the reach make boot but failed most things then leave the project aside because some very important exams approach to me, me no more to say goodbye.
Greetings from Costa Rica
XperiAMM
safariking said:
This is impossible!
Click to expand...
Click to collapse
Hey Safariking didn't you sell your galaxy tab 4 7.0
Sent from my SM-T230NU using XDA Free mobile app
troy5890 said:
Hey Safariking didn't you sell your galaxy tab 4 7.0
Sent from my SM-T230NU using XDA Free mobile app
Click to expand...
Click to collapse
Yup i did have my good old tab 8.9 now
For any interested developers here who enjoy pain:
http://forum.xda-developers.com/showpost.php?p=59617257&postcount=28
http://forum.xda-developers.com/showpost.php?p=59638497&postcount=31
I think I actually made some progress with this port
Using:
Stock T230 unmodified Samsung kernel
HP Slate 7 Voicetab /system with modified build.prop
The logcat is now stuck at Waiting for service media.audio_flinger... without any hw accel errors.
I can also access the shell
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Can I boot the OS skipping audio support?
I tried using both HP's libaudioflinger.so and Samsung's, none works.
Just reminding that getting AOSP rom will also allow us to get a fully functional MIUI port easily using patchrom (almost impossible with stock Touchwiz rom).
@down
Attaching logcat
Code:
--------- beginning of /dev/log/main
E/logwrapper( 111): Cannot log to file /dev/fscklogs/log
--------- beginning of /dev/log/system
I/CryptfsCH( 111): Device Encryption status is (0).
E/logwrapper( 111): Cannot log to file /dev/fscklogs/log
E/logwrapper( 111): Cannot log to file /dev/fscklogs/log
I/installd( 146): installd firing up
I/DEBUG ( 140): debuggerd: bydroot Dec 22 2014 09:45:59
I/DEBUG ( 140): bydroot waiting for connection
I/DEBUG ( 140): debuggerd: Dec 22 2014 09:45:59
I/marvellWirelessDaemon( 153): succeed to create socket and listen.
I/ ( 148): ServiceManager: 0x41393890
D/FileMonitorService( 148): Monitor directory: /data/Linux/Marvell/NVM
D/FileMonitorService( 148): Monitor directory: /NVM
D/FileMonitorService( 148): FileMonitorService event thread is started.
I/Vold ( 138): Vold 2.1 (the revenge) firing up
D/Vold ( 138): Volume extSdCard state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 138): Volume UsbDriveA state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 138): Volume UsbDriveB state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 138): Volume UsbDriveC state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 138): Volume UsbDriveD state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 138): Volume UsbDriveE state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 138): Volume UsbDriveF state changing -1 (Initializing) -> 0 (No-Media)
I/SurfaceFlinger( 142): SurfaceFlinger is starting
I/SurfaceFlinger( 142): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
D/libEGL ( 142): loaded /system/lib/egl/libEGL_MRVL.so
D/libEGL ( 142): loaded /system/lib/egl/libGLESv1_CM_MRVL.so
D/libEGL ( 142): loaded /system/lib/egl/libGLESv2_MRVL.so
I/ ( 150): ServiceManager: 0x41fc0830
I/FMRadio ( 150): Current uid = 1000, gid = 1000, cap.effective = 0x3402, cap.permitted = 0x3402
I/FMRadio ( 150): groups=
I/FMRadio ( 150): 1010
E/FMRadio ( 150): Failed to open /sys/devices/platform/pxa27x-keypad/power/wakeup
I/v_gralloc( 142): using (fd=15)
I/v_gralloc( 142): id = mmp-fb
I/v_gralloc( 142): xres = 800 px
I/v_gralloc( 142): yres = 1280 px
I/v_gralloc( 142): xres_virtual = 800 px
I/v_gralloc( 142): yres_virtual = 3840 px
I/v_gralloc( 142): bpp = 32
I/v_gralloc( 142): r = 0:8
I/v_gralloc( 142): g = 8:8
I/v_gralloc( 142): b = 16:8
I/v_gralloc( 142): width = 94 mm (216.170212 dpi)
I/v_gralloc( 142): height = 150 mm (216.746674 dpi)
I/v_gralloc( 142): refresh rate = 60.00 Hz
I/v_gralloc( 142): Framebuffer phys addr = 0x17000000
I/v_gralloc( 142): LCD driver version = 0
I/v_gralloc( 142): FB device count = 1
W/v_hwc ( 142): TODO: HWC integration: display!
I/v_hwc ( 142): Default primary display
I/v_hwc ( 142): xres = 800 px
I/v_hwc ( 142): yres = 1280 px
I/v_hwc ( 142): xdpi = 216.2 dpi
I/v_hwc ( 142): ydpi = 216.7 dpi
I/v_hwc ( 142): refresh rate = 60.0 Hz
I/v_hwc ( 142): Virtual display 0 initialized.
I/v_hwc ( 142): Vivante HWComposer v2.4
I/v_hwc ( 142): Device: 0x40c13030
I/v_hwc ( 142): Separated 2D: YES
I/v_hwc ( 142): 2D PE20: YES
I/v_hwc ( 142): Multi-source blit: YES
I/v_hwc ( 142): Multi-source blit Ex: YES
I/v_hwc ( 142): OPF/YUV blit/Tiling : YES
I/v_hwc ( 142): Filter stretch : YES
I/SurfaceFlinger( 142): Using composer version 1.2
E/HWComposerMarvell( 142): hwc_getDisplayConfigs(313): TODO: disp 1 not supported!
W/SurfaceFlinger( 142): no suitable EGLConfig found, trying a simpler query
I/SurfaceFlinger( 142): EGL informations:
I/SurfaceFlinger( 142): vendor : Android
I/SurfaceFlinger( 142): version : 1.4 Android META-EGL
I/SurfaceFlinger( 142): extensions: EGL_KHR_get_all_proc_addresses EGL_ANDROID_presentation_time EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_lock_surface EGL_KHR_gl_texture_2D_image EGL_KHR_gl_renderbuffer_image EGL_KHR_reusable_sync EGL_KHR_fence_sync EGL_ANDROID_image_native_buffer EGL_ANDROID_recordable
I/SurfaceFlinger( 142): Client API: OpenGL_ES
I/SurfaceFlinger( 142): EGLSurface: 8-8-8-8, config=0x408f6e70
D/GC ( 142): <tid=142> OES20 ===> GC Version : GC Ver rls_pxa988_KK44_GC14
D/GC ( 142):
I/SurfaceFlinger( 142): OpenGL ES informations:
I/SurfaceFlinger( 142): vendor : Vivante Corporation
I/SurfaceFlinger( 142): renderer : Vivante GC1000
I/SurfaceFlinger( 142): version : OpenGL ES 2.0
I/SurfaceFlinger( 142): extensions: GL_EXT_debug_marker GL_OES_compressed_ETC1_RGB8_texture GL_OES_compressed_paletted_texture GL_OES_EGL_image GL_OES_depth24 GL_OES_fbo_render_mipmap GL_OES_fragment_precision_high GL_OES_rgb8_rgba8 GL_OES_stencil1 GL_OES_stencil4 GL_OES_texture_npot GL_OES_vertex_half_float GL_OES_depth_texture GL_OES_packed_depth_stencil GL_OES_standard_derivatives GL_OES_get_program_binary GL_EXT_texture_format_BGRA8888 GL_IMG_read_format GL_EXT_blend_minmax GL_EXT_read_format_bgra GL_EXT_multi_draw_arrays GL_APPLE_texture_format_BGRA8888 GL_APPLE_texture_max_level GL_ARM_rgba8 GL_EXT_frag_depth GL_VIV_shader_binary GL_VIV_direct_texture GL_OES_mapbuffer GL_OES_EGL_image_external GL_EXT_discard_framebuffer GL_EXT_multisampled_render_to_texture GL_VIV_clamp_to_border GL_MRVL_texture_video GL_EXT_unpack_subimage GL_OES_element_index_uint GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_s3tc
I/SurfaceFlinger( 142): GL_MAX_TEXTURE_SIZE = 8192
I/SurfaceFlinger( 142): GL_MAX_VIEWPORT_DIMS = 8192
E/SurfaceFlinger( 142): HWComposer: framebufferTarget is null
E/SurfaceFlinger( 142): HWComposer: framebufferTarget is null
E/SurfaceFlinger( 142): HWComposer: framebufferTarget is null
E/SurfaceFlinger( 142): HWComposer: framebufferTarget is null
D/SurfaceFlinger( 142): Screen acquired, type=0 flinger=0x40c10450
W/linker ( 206): libwtpsp.so has text relocations. This is wasting memory and is a security risk. Please fix.
D/libEGL ( 205): loaded /system/lib/egl/libEGL_MRVL.so
D/libEGL ( 205): loaded /system/lib/egl/libGLESv1_CM_MRVL.so
W/linker ( 225): libwtpsp.so has text relocations. This is wasting memory and is a security risk. Please fix.
D/libEGL ( 205): loaded /system/lib/egl/libGLESv2_MRVL.so
W/linker ( 234): libwtpsp.so has text relocations. This is wasting memory and is a security risk. Please fix.
D/GC ( 205): <tid=223> OES11 ===> GC Version : GC Ver rls_pxa988_KK44_GC14
D/GC ( 205):
I/ServiceManager( 205): Waiting for service media.audio_flinger...
I/ServiceManager( 205): Waiting for service media.audio_flinger...
I/ServiceManager( 205): Waiting for service media.audio_flinger...
I/ServiceManager( 205): Waiting for service media.audio_flinger...
I/ServiceManager( 205): Waiting for service media.audio_flinger...
it can be everythink, not said its audio, its a classical bootloop. you better heard at safariking.
Do you mind uploading your verndor blobs for the hp slate? Might br usefull for CM
CTXz said:
Do you mind uploading your verndor blobs for the hp slate? Might br usefull for CM
Click to expand...
Click to collapse
You can extract them from the stock rom
http://ftp.hp.com/pub/softlib/software13/COL55456/ob-143932-1/update.zip
---
---
---
I'm crying, thank you very much for giving life to me, I look forward to a version that can be used daily
I tried install some customs roms, and all them frozen at boot animation.
Already tried all kinds of wipe and format caches, etc, and still doesn't work.
It's only work when I flash stock rom from Odin.
I don't have problems to install ROOT and Custom Recovery, the only problem is booting the system after installation.
My device is one Samsung Galaxy GT-I9305 4G LTE
Stock rom is I9305XXUFNI3
Android 4.4.4
Logcat generated after install AOSP Rom (AOSP-5.1.1-20150807-i9305-rodman01) and wait a while in bootloading animation.
Code:
--------- beginning of system
I/Vold ( 1988): Vold 2.1 (the revenge) firing up
D/Vold ( 1988): Volume sdcard1 state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 1988): Volume usbdisk0 state changing -1 (Initializing) -> 0 (No-Media)
I/Cryptfs ( 1988): Check if PFE is activated on Boot
E/Cryptfs ( 1988): Bad magic for real block device /dev/block/platform/dw_mmc/by-name/USERDATA
E/Cryptfs ( 1988): Error getting crypt footer and key
D/Vold ( 1988): Volume sdcard1 state changing 0 (No-Media) -> 2 (Pending)
D/DirectVolume( 1988): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 17, PARTN 1
D/Vold ( 1988): Volume sdcard1 state changing 2 (Pending) -> 1 (Idle-Unmounted)
I/SurfaceFlinger( 1989): SurfaceFlinger is starting
I/SurfaceFlinger( 1989): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
D/libEGL ( 1989): loaded /system/lib/egl/libEGL_mali.so
D/libEGL ( 1989): loaded /system/lib/egl/libGLESv1_CM_mali.so
D/libEGL ( 1989): loaded /system/lib/egl/libGLESv2_mali.so
E/ ( 1989): Device driver API match
E/ ( 1989): Device driver API version: 29
E/ ( 1989): User space API version: 29
E/ ( 1989): mali: REVISION=Linux-r3p2-01rel3 BUILD_DATE=Tue Jul 22 19:59:34 KST 2014
D/gralloc ( 1989): int init_frame_buffer_locked(private_module_t*) Initializingframebuffer
I/gralloc ( 1989): using (fd=18)
I/gralloc ( 1989): id = s3cfb
I/gralloc ( 1989): xres = 720 px
I/gralloc ( 1989): yres = 1280 px
I/gralloc ( 1989): xres_virtual = 720 px
I/gralloc ( 1989): yres_virtual = 2560 px
I/gralloc ( 1989): bpp = 32
I/gralloc ( 1989): r = 16:8
I/gralloc ( 1989): g = 8:8
I/gralloc ( 1989): b = 0:8
I/gralloc ( 1989): width = 60 mm (304.799988 dpi)
I/gralloc ( 1989): height = 106 mm (306.716980 dpi)
I/gralloc ( 1989): refresh rate = 60.00 Hz
E/HAL ( 1989): load: module=/system/lib/hw/hwcomposer.smdk4x12.so
E/HAL ( 1989): dlopen failed: library "libhdmiclient.so" not found
E/SurfaceFlinger( 1989): hwcomposer module not found
I/SurfaceFlinger( 1989): EGL information:
I/SurfaceFlinger( 1989): vendor : Android
I/SurfaceFlinger( 1989): version : 1.4 Android META-EGL
I/SurfaceFlinger( 1989): extensions: EGL_KHR_get_all_proc_addresses EGL_ANDROID_presentation_time EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_reusable_sync EGL_KHR_fence_sync EGL_EXT_create_context_robustness EG
L_ANDROID_image_native_buffer EGL_ANDROID_recordable
I/SurfaceFlinger( 1989): Client API: OpenGL_ES
I/SurfaceFlinger( 1989): EGLSurface: 8-8-8-8, config=0x60000014
I/SurfaceFlinger( 1989): OpenGL ES informations:
I/SurfaceFlinger( 1989): vendor : ARM
I/SurfaceFlinger( 1989): renderer : Mali-400 MP
I/SurfaceFlinger( 1989): version : OpenGL ES 2.0
I/SurfaceFlinger( 1989): extensions: GL_EXT_debug_marker GL_OES_texture_npot GL_OES_compressed_ETC1_RGB8_texture GL_OES_standard_derivatives GL_OES_EGL_image GL
_OES_depth24 GL_ARM_rgba8 GL_ARM_mali_shader_binary GL_OES_depth_texture GL_OES_packed_depth_stencil GL_EXT_texture_format_BGRA8888 GL_EXT_blend_minmax GL_OES_E
GL_image_external GL_OES_EGL_sync GL_OES_rgb8_rgba8 GL_EXT_multisampled_render_to_texture GL_EXT_discard_framebuffer GL_OES_get_program_binary GL_ARM_mali_progr
am_binary GL_EXT_shader_texture_lod GL_EXT_robustness GL_OES_depth_texture_cube_map
I/SurfaceFlinger( 1989): GL_MAX_TEXTURE_SIZE = 4096
I/SurfaceFlinger( 1989): GL_MAX_VIEWPORT_DIMS = 4096
E/cutils-trace( 1989): Error opening trace file: Permission denied (13)
D/SurfaceFlinger( 1989): Set power mode=2, type=0 flinger=0x40c82000
D/SurfaceFlinger( 1989): SF. shader cache generated - 26 shaders in 37.015167 ms
D/libEGL ( 2089): loaded /system/lib/egl/libEGL_mali.so
D/libEGL ( 2089): loaded /system/lib/egl/libGLESv1_CM_mali.so
D/libEGL ( 2089): loaded /system/lib/egl/libGLESv2_mali.so
E/ ( 2089): Device driver API match
E/ ( 2089): Device driver API version: 29
E/ ( 2089): User space API version: 29
E/ ( 2089): mali: REVISION=Linux-r3p2-01rel3 BUILD_DATE=Tue Jul 22 19:59:34 KST 2014
E/cutils-trace( 2089): Error opening trace file: Permission denied (13)
E/BootAnimation( 2089): couldn't find audio_conf.txt
W/BootAnimation( 2089): Audio service is not initiated.
And here it's stopped
Hello, and welcome to XDA Assist! The best thing to do would be to register and post your question here: Galaxy S III Q&A, Help & Troubleshooting. People should be able to help you out in that forum.
Good luck!
Hi guys,
Anyone has tried to switch r3p2 mali driver to r6p0 version?
I try to port it atm, kernel boot, but driver is not load correctly.
If you want try you can take kernel exynos from Google repo. And port mali_osk_locks.c files from r3p2 driver. I will push my first try (which boot) on my github un few times.
This is the base of driver that i use:
https://android.googlesource.com/ke...3.10-marshmallow-mr1-wear-release/drivers/gpu
My github:
https://github.com/bizcuite/android_kernel_samsung_smdk4412/tree/r6p0_v1
Bizcuite
Sent from my GT-N7100 using XDA-Developers mobile app
bizcuite said:
Hi guys,
Anyone has tried to switch r3p2 mali driver to r6p0 version?
I try to port it atm, kernel boot, but driver is not load correctly.
If you want try you can take kernel exynos from Google repo. And port mali_osk_locks.c files from r3p2 driver. I will push my first try (which boot) on my github un few times.
This is the base of driver that i use:
https://android.googlesource.com/ke...3.10-marshmallow-mr1-wear-release/drivers/gpu
My github:
https://github.com/bizcuite/android_kernel_samsung_smdk4412/tree/r6p0_v1
Bizcuite
Sent from my GT-N7100 using XDA-Developers mobile app
Click to expand...
Click to collapse
Then no body to answer, my driver seems loaded with little modifications, i have just to compile gralloc module of r6p0rel1.
Bizcuite
Sent from my GT-N7100 using XDA-Developers mobile app
Ok, i continue my search:
This is my logcat and dmesg with MALI+UMP from r6p0 driver version.
I let the last version of my kernel (with sources) with fully r6p0 driver.
/!\ THE KERNEL BOOT BUT THERE IS NO SCREEN /!\ it's just a try for devs
To compile yourself the kernel, just replace the /driver/gpu folder by mine and change the KConfig in video to point on /driver/gpu/arm/ folder.
I think that it lacks just library binaries to have this driver working
OR an Hack for Android:
https://community.arm.com/groups/android-community/blog/authors/matteofranchin
The driver seems correctly loaded (debug has been ported and actvated):
Code:
[ 1.170084] s5pv210-uart.3: ttySAC3 at MMIO 0x13830000 (irq = 28) is a S3C6400/10
[ 1.251085] UMP: UMP device driver loaded
[ 1.251113] Mali<2>: Inserting Mali v850 device driver.
[ 1.251144] Mali<2>: Compiled: Aug 16 2016, time: 11:40:34.
[ 1.251175] Mali<2>: Driver revision:
[ 1.251197] Mali<2>: mali_module_init() registering driver
[ 1.251429] Mali: Mali device driver loaded
[ 1.251456] func:max77693_muic_init
[ 1.251540] func:max77693_muic_probe
[ 1.251567] max77693-muic max77693-muic: adc:0 chgtype:0, adc1k:0
[ 1.251600] max77693-muic max77693-muic: H/W rev connected UT1 UR2 pin to AP UART
Code:
[email protected]:/ # cd /sys/module/mali/parameters/
[email protected]:/sys/module/mali/parameters # ls
gpu_power_state mali_dvfs_control mali_max_pp_cores_group_1
mali_debug_level mali_gpu_clk mali_max_pp_cores_group_2
mali_dedicated_mem_size mali_gpu_vol mali_max_system_fps
mali_dedicated_mem_start mali_l2_max_reads mali_mem_swap_out_threshold_value
mali_desired_fps mali_max_job_runtime mali_shared_mem_size
The logcat error:
Code:
08-16 11:58:37.905 2397 2397 I ServiceManager: Waiting for service SurfaceFlinger...
08-16 11:58:38.148 3239 3239 I SurfaceFlinger: SurfaceFlinger is starting
08-16 11:58:38.149 3239 3239 I SurfaceFlinger: SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
08-16 11:58:38.151 3239 3239 D libEGL : loaded /system/lib/egl/libEGL_mali.so
08-16 11:58:38.154 3239 3239 D libEGL : loaded /system/lib/egl/libGLESv1_CM_mali.so
08-16 11:58:38.179 3239 3239 D libEGL : loaded /system/lib/egl/libGLESv2_mali.so
08-16 11:58:38.206 3239 3239 W libEGL : eglInitialize(0x1) failed (EGL_BAD_ALLOC)
08-16 11:58:38.208 3239 3239 D gralloc : int init_frame_buffer_locked(private_module_t*) Initializing framebuffer
08-16 11:58:38.208 3239 3239 I gralloc : using (fd=12)
08-16 11:58:38.208 3239 3239 I gralloc : id = s3cfb
08-16 11:58:38.208 3239 3239 I gralloc : xres = 720 px
08-16 11:58:38.208 3239 3239 I gralloc : yres = 1280 px
08-16 11:58:38.208 3239 3239 I gralloc : xres_virtual = 720 px
08-16 11:58:38.208 3239 3239 I gralloc : yres_virtual = 2560 px
08-16 11:58:38.208 3239 3239 I gralloc : bpp = 32
08-16 11:58:38.208 3239 3239 I gralloc : r = 16:8
08-16 11:58:38.208 3239 3239 I gralloc : g = 8:8
08-16 11:58:38.208 3239 3239 I gralloc : b = 0:8
08-16 11:58:38.208 3239 3239 I gralloc : width = 69 mm (265.043488 dpi)
08-16 11:58:38.208 3239 3239 I gralloc : height = 123 mm (264.325195 dpi)
08-16 11:58:38.208 3239 3239 I gralloc : refresh rate = 58.00 Hz
08-16 11:58:38.216 3239 3239 E SurfaceFlinger: hwcomposer module not found
08-16 11:58:38.216 3239 3239 W SurfaceFlinger: no suitable EGLConfig found, trying a simpler query
08-16 11:58:38.216 3239 3239 F SurfaceFlinger: no suitable EGLConfig found, giving up
08-16 11:58:38.216 3239 3239 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 3239 (surfaceflinger)
08-16 11:58:38.217 2095 2095 I DEBUG : property debug.db.uid not set; NOT waiting for gdb.
08-16 11:58:38.217 2095 2095 I DEBUG : HINT: adb shell setprop debug.db.uid 100000
08-16 11:58:38.217 2095 2095 I DEBUG : HINT: adb forward tcp:5039 tcp:5039
08-16 11:58:38.291 2398 2398 I Zygote : Preloading resources...
08-16 11:58:38.317 2095 2095 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
08-16 11:58:38.317 2095 2095 F DEBUG : CM Version: '13.0-20160809-UNOFFICIAL-n7100'
08-16 11:58:38.317 2095 2095 F DEBUG : Build fingerprint: 'samsung/t03gxx/t03g:4.4.2/KOT49H/N7100XXUFND3:user/release-keys'
08-16 11:58:38.317 2095 2095 F DEBUG : Revision: '0'
08-16 11:58:38.317 2095 2095 F DEBUG : ABI: 'arm'
08-16 11:58:38.318 2095 2095 F DEBUG : pid: 3239, tid: 3239, name: surfaceflinger >>> /system/bin/surfaceflinger <<<
08-16 11:58:38.318 2095 2095 F DEBUG : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
08-16 11:58:38.329 2095 2095 F DEBUG : Abort message: 'no suitable EGLConfig found, giving up'
08-16 11:58:38.329 2095 2095 F DEBUG : r0 00000000 r1 00000ca7 r2 00000006 r3 4010fb8c
08-16 11:58:38.329 2095 2095 F DEBUG : r4 4010fb94 r5 4010fb44 r6 00000000 r7 0000010c
08-16 11:58:38.329 2095 2095 F DEBUG : r8 00000000 r9 ffff6372 sl 00000000 fp 00000001
08-16 11:58:38.329 2095 2095 F DEBUG : ip 00000006 sp beca34b8 lr 401ec7a9 pc 401eeba4 cpsr 400f0010
Bizcuite
08-16 11:58:38.216 3239 3239 E SurfaceFlinger: hwcomposer module not found
Click to expand...
Click to collapse
It needs a brand new hwcomposer built specifically for the new r6p0 version. Don't ask me how, but maybe you could, idk, for example, build a ROM with these changes and then try? Or build (depending on the ROM you currently have) the ROM and dirty flash it and see if it works.
Just try to build CM 13 for your n7100 and then dirty flash it over your installation and see if she works.
Alexander_the_B0ss said:
It needs a brand new hwcomposer built specifically for the new r6p0 version. Don't ask me how, but maybe you could, idk, for example, build a ROM with these changes and then try? Or build (depending on the ROM you currently have) the ROM and dirty flash it and see if it works.
Just try to build CM 13 for your n7100 and then dirty flash it over your installation and see if she works.
Click to expand...
Click to collapse
Hi,
Thanks for your reply, but:
I have made a boot with my own Rom (R3p2 driver like everybody), this is the logcat:
Code:
08-17 09:46:40.719 2177 2177 I cm : Welcome to Android 6.0.1 / CyanogenMod-13.0-20160809-UNOFFICIAL-n7100
08-17 09:46:40.720 2123 2123 I perfprofd: random seed set to 1438291486
08-17 09:46:40.724 2072 2072 I SurfaceFlinger: SurfaceFlinger is starting
08-17 09:46:40.724 2072 2072 I SurfaceFlinger: SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
08-17 09:46:40.738 2094 2094 W linker : /system/lib/libsec-ril.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
08-17 09:46:40.765 2109 2109 W linker : /system/bin/gpsd has text relocations. This is wasting memory and prevents security hardening. Please fix.
08-17 09:46:40.789 2072 2072 D libEGL : loaded /system/lib/egl/libEGL_mali.so
08-17 09:46:40.831 2072 2072 D libEGL : loaded /system/lib/egl/libGLESv1_CM_mali.so
08-17 09:46:40.833 2109 2109 W linker : /system/lib/libsec-ril.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
08-17 09:46:40.860 2072 2072 D libEGL : loaded /system/lib/egl/libGLESv2_mali.so
08-17 09:46:40.892 2072 2072 E : Device driver API match
08-17 09:46:40.892 2072 2072 E : Device driver API version: 29
08-17 09:46:40.892 2072 2072 E : User space API version: 29
08-17 09:46:40.892 2072 2072 E : mali: REVISION=Linux-r3p2-01rel3 BUILD_DATE=Tue Jul 22 19:59:34 KST 2014
08-17 09:46:40.911 2072 2072 D gralloc : int init_frame_buffer_locked(private_module_t*) Initializing framebuffer
08-17 09:46:40.911 2072 2072 I gralloc : using (fd=14)
08-17 09:46:40.911 2072 2072 I gralloc : id = s3cfb
08-17 09:46:40.911 2072 2072 I gralloc : xres = 720 px
08-17 09:46:40.911 2072 2072 I gralloc : yres = 1280 px
08-17 09:46:40.911 2072 2072 I gralloc : xres_virtual = 720 px
08-17 09:46:40.911 2072 2072 I gralloc : yres_virtual = 2560 px
08-17 09:46:40.911 2072 2072 I gralloc : bpp = 32
08-17 09:46:40.911 2072 2072 I gralloc : r = 16:8
08-17 09:46:40.911 2072 2072 I gralloc : g = 8:8
08-17 09:46:40.911 2072 2072 I gralloc : b = 0:8
08-17 09:46:40.911 2072 2072 I gralloc : width = 69 mm (265.043488 dpi)
08-17 09:46:40.911 2072 2072 I gralloc : height = 123 mm (264.325195 dpi)
08-17 09:46:40.911 2072 2072 I gralloc : refresh rate = 58.00 Hz
08-17 09:46:40.925 2109 2109 I libdmitry: Nexus 10 GPS interposition library loaded. Your GPS should work in M now.
[COLOR="Red"][B]08-17 09:46:40.956 2072 2072 E HAL : load: module=/system/lib/hw/hwcomposer.default.so
08-17 09:46:40.956 2072 2072 E HAL : dlopen failed: library "libhdmiclient.so" not found
08-17 09:46:40.956 2072 2072 E SurfaceFlinger: hwcomposer module not found
08-17 09:46:40.956 2072 2072 I SurfaceFlinger: EGL information:[/B][/COLOR]
08-17 09:46:40.956 2072 2072 I SurfaceFlinger: vendor : Android
08-17 09:46:40.956 2072 2072 I SurfaceFlinger: version : 1.4 Android META-EGL
08-17 09:46:40.956 2072 2072 I SurfaceFlinger: extensions: EGL_KHR_get_all_proc_addresses EGL_ANDROID_presentation_time EGL_KHR_swap_buffers_with_damage EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_reusable_sync EGL_KHR_fence_sync EGL_EXT_create_context_robustness EGL_ANDROID_image_native_buffer EGL_ANDROID_recordable
08-17 09:46:40.956 2072 2072 I SurfaceFlinger: Client API: OpenGL_ES
08-17 09:46:40.956 2072 2072 I SurfaceFlinger: EGLSurface: 8-8-8-8, config=0x60000014
08-17 09:46:40.959 2072 2072 I SurfaceFlinger: OpenGL ES informations:
08-17 09:46:40.959 2072 2072 I SurfaceFlinger: vendor : ARM
08-17 09:46:40.959 2072 2072 I SurfaceFlinger: renderer : Mali-400 MP
08-17 09:46:40.959 2072 2072 I SurfaceFlinger: version : OpenGL ES 2.0
08-17 09:46:40.959 2072 2072 I SurfaceFlinger: extensions: GL_EXT_debug_marker GL_OES_texture_npot GL_OES_compressed_ETC1_RGB8_texture GL_OES_standard_derivatives GL_OES_EGL_image GL_OES_depth24 GL_ARM_rgba8 GL_ARM_mali_shader_binary GL_OES_depth_texture GL_OES_packed_depth_stencil GL_EXT_texture_format_BGRA8888 GL_EXT_blend_minmax GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_rgb8_rgba8 GL_EXT_multisampled_render_to_texture GL_EXT_discard_framebuffer GL_OES_get_program_binary GL_ARM_mali_program_binary GL_EXT_shader_texture_lod GL_EXT_robustness GL_OES_depth_texture_cube_map
08-17 09:46:40.959 2072 2072 I SurfaceFlinger: GL_MAX_TEXTURE_SIZE = 4096
08-17 09:46:40.959 2072 2072 I SurfaceFlinger: GL_MAX_VIEWPORT_DIMS = 4096
08-17 09:46:40.959 2072 2072 E cutils-trace: Error opening trace file: No such file or directory (2)
08-17 09:46:40.963 2072 2072 D SurfaceFlinger: Set power mode=2, type=0 flinger=0x41434df0
08-17 09:46:41.025 2072 2072 D SurfaceFlinger: SF. shader cache generated - 26 shaders in 58.574417 ms
08-17 09:46:41.042 2109 2255 D gpsd : LogJava: connect(fd11, ...) failed with errno = 111(Connection refused)
08-17 09:46:41.042 2109 2255 D gpsd : LogJava: Couldn't connect to Logging service 127.0.0.1:6477. Waiting for server...
08-17 09:46:41.060 2109 2109 D wrapperGPS: wrapperOpenClient_RILD
08-17 09:46:41.060 2109 2109 D wrapperGPS: wrapperRegisterRequestCompleteHandler
08-17 09:46:41.060 2109 2109 D wrapperGPS: wrapperRegisterUnsolicitedHandler id(12009), handler(0x40070bfd)
08-17 09:46:41.060 2109 2109 D wrapperGPS: wrapperRegisterErrorCallback
08-17 09:46:41.060 2109 2109 D wrapperGPS: wrapperConnect_RILD
08-17 09:46:41.173 2295 2295 I sysinit : Running /system/etc/init.d/90userinit
08-17 09:46:41.221 2311 2311 I sysinit : Running /system/etc/init.d/98netflix
08-17 09:46:41.332 2239 2335 D libEGL : loaded /system/lib/egl/libEGL_mali.so
08-17 09:46:41.337 2239 2335 D libEGL : loaded /system/lib/egl/libGLESv1_CM_mali.so
08-17 09:46:41.365 2239 2335 D libEGL : loaded /system/lib/egl/libGLESv2_mali.so
08-17 09:46:41.393 2239 2335 E : Device driver API match
08-17 09:46:41.393 2239 2335 E : Device driver API version: 29
08-17 09:46:41.393 2239 2335 E : User space API version: 29
08-17 09:46:41.393 2239 2335 E : mali: REVISION=Linux-r3p2-01rel3 BUILD_DATE=Tue Jul 22 19:59:34 KST 2014
08-17 09:46:41.396 2239 2335 E cutils-trace: Error opening trace file: No such file or directory (2)
08-17 09:46:41.444 2239 2335 W BootAnimation: Unable to cache the animation
08-17 09:46:41.445 2239 2335 E BootAnimation: couldn't find audio_conf.txt
And now a boot with my r6p0 kernel:
Code:
08-17 09:39:51.241 2720 2720 I SurfaceFlinger: SurfaceFlinger is starting
08-17 09:39:51.252 2720 2720 I SurfaceFlinger: SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
08-17 09:39:51.256 2720 2720 D libEGL : loaded /system/lib/egl/libEGL_mali.so
08-17 09:39:51.261 2720 2720 D libEGL : loaded /system/lib/egl/libGLESv1_CM_mali.so
08-17 09:39:51.291 2720 2720 D libEGL : loaded /system/lib/egl/libGLESv2_mali.so
08-17 09:39:51.310 1988 1988 W auditd : type=1325 audit(0.0:135): table=filter family=2 entries=11
08-17 09:39:51.328 2720 2720 W libEGL : eglInitialize(0x1) failed (EGL_BAD_ALLOC)
08-17 09:39:51.340 2720 2720 D gralloc : int init_frame_buffer_locked(private_module_t*) Initializing framebuffer
08-17 09:39:51.340 2720 2720 I gralloc : using (fd=12)
08-17 09:39:51.340 2720 2720 I gralloc : id = s3cfb
08-17 09:39:51.340 2720 2720 I gralloc : xres = 720 px
08-17 09:39:51.340 2720 2720 I gralloc : yres = 1280 px
08-17 09:39:51.340 2720 2720 I gralloc : xres_virtual = 720 px
08-17 09:39:51.340 2720 2720 I gralloc : yres_virtual = 2560 px
08-17 09:39:51.340 2720 2720 I gralloc : bpp = 32
08-17 09:39:51.340 2720 2720 I gralloc : r = 16:8
08-17 09:39:51.340 2720 2720 I gralloc : g = 8:8
08-17 09:39:51.340 2720 2720 I gralloc : b = 0:8
08-17 09:39:51.340 2720 2720 I gralloc : width = 69 mm (265.043488 dpi)
08-17 09:39:51.340 2720 2720 I gralloc : height = 123 mm (264.325195 dpi)
08-17 09:39:51.340 2720 2720 I gralloc : refresh rate = 58.00 Hz
[COLOR="red"][B]08-17 09:39:51.352 2720 2720 E HAL : load: module=/system/lib/hw/hwcomposer.exynos4.so
08-17 09:39:51.352 2720 2720 E HAL : dlopen failed: library "libhdmiclient.so" not found
08-17 09:39:51.352 2720 2720 E SurfaceFlinger: hwcomposer module not found
08-17 09:39:51.354 2720 2720 W SurfaceFlinger: no suitable EGLConfig found, trying a simpler query
08-17 09:39:51.354 2720 2720 F SurfaceFlinger: no suitable EGLConfig found, giving up[/B][/COLOR]
08-17 09:39:51.354 2720 2720 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 2720 (surfaceflinger)
08-17 09:39:51.355 2089 2089 I DEBUG : property debug.db.uid not set; NOT waiting for gdb.
08-17 09:39:51.355 2089 2089 I DEBUG : HINT: adb shell setprop debug.db.uid 100000
08-17 09:39:51.355 2089 2089 I DEBUG : HINT: adb forward tcp:5039 tcp:5039
08-17 09:39:51.456 2089 2089 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
08-17 09:39:51.456 2089 2089 F DEBUG : CM Version: '13.0-20160809-UNOFFICIAL-n7100'
08-17 09:39:51.456 2089 2089 F DEBUG : Build fingerprint: 'samsung/t03gxx/t03g:4.4.2/KOT49H/N7100XXUFND3:user/release-keys'
08-17 09:39:51.456 2089 2089 F DEBUG : Revision: '0'
08-17 09:39:51.456 2089 2089 F DEBUG : ABI: 'arm'
08-17 09:39:51.456 2089 2089 F DEBUG : pid: 2720, tid: 2720, name: surfaceflinger >>> /system/bin/surfaceflinger <<<
08-17 09:39:51.456 2089 2089 F DEBUG : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
[COLOR="red"][B]08-17 09:39:51.467 2089 2089 F DEBUG : Abort message: 'no suitable EGLConfig found, giving up'[/B][/COLOR]
08-17 09:39:51.467 2089 2089 F DEBUG : r0 00000000 r1 00000aa0 r2 00000006 r3 40146b8c
08-17 09:39:51.467 2089 2089 F DEBUG : r4 40146b94 r5 40146b44 r6 00000000 r7 0000010c
08-17 09:39:51.467 2089 2089 F DEBUG : r8 00000000 r9 ffff6372 sl 00000000 fp 00000001
08-17 09:39:51.467 2089 2089 F DEBUG : ip 00000006 sp beff14b8 lr 401957a9 pc 40197ba4 cpsr 400f0010
08-17 09:39:51.478 2089 2089 F DEBUG :
08-17 09:39:51.478 2089 2089 F DEBUG : backtrace:
08-17 09:39:51.478 2089 2089 F DEBUG : #00 pc 00044ba4 /system/lib/libc.so (tgkill+12)
08-17 09:39:51.478 2089 2089 F DEBUG : #01 pc 000427a5 /system/lib/libc.so (pthread_kill+32)
08-17 09:39:51.478 2089 2089 F DEBUG : #02 pc 0001ba2f /system/lib/libc.so (raise+10)
08-17 09:39:51.478 2089 2089 F DEBUG : #03 pc 00018bd1 /system/lib/libc.so (__libc_android_abort+34)
08-17 09:39:51.478 2089 2089 F DEBUG : #04 pc 000167f0 /system/lib/libc.so (abort+4)
08-17 09:39:51.478 2089 2089 F DEBUG : #05 pc 000090ab /system/lib/libcutils.so (__android_log_assert+86)
08-17 09:39:51.478 2089 2089 F DEBUG : #06 pc 0002b495 /system/lib/libsurfaceflinger.so
08-17 09:39:51.478 2089 2089 F DEBUG : #07 pc 0002b095 /system/lib/libsurfaceflinger.so
08-17 09:39:51.478 2089 2089 F DEBUG : #08 pc 0001adcd /system/lib/libsurfaceflinger.so (_ZN7android14SurfaceFlinger4initEv+240)
08-17 09:39:51.478 2089 2089 F DEBUG : #09 pc 00000ecb /system/bin/surfaceflinger
08-17 09:39:51.478 2089 2089 F DEBUG : #10 pc 0001669d /system/lib/libc.so (__libc_init+44)
08-17 09:39:51.478 2089 2089 F DEBUG : #11 pc 00000d90 /system/bin/surfaceflinger
08-17 09:39:51.475 1988 1988 W auditd : type=1325 audit(0.0:141): table=filter family=2 entries=8
08-17 09:39:51.475 2757 2757 W iptables: type=1300 audit(0.0:141): arch=40000028 syscall=294 per=800008 success=yes exit=0 a0=4 a1=0 a2=40 a3=40829920 items=0 ppid=2719 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 exe="/system/bin/iptables" subj=u:r:netd:s0 key=(null)
08-17 09:39:51.787 2089 2089 F DEBUG :
08-17 09:39:51.787 2089 2089 F DEBUG : Tombstone written to: /data/tombstones/tombstone_03
08-17 09:39:55.942 2797 2797 I Netd : Netd 1.0 starting
08-17 09:39:55.943 2797 2797 I QtiConnectivityAdapter: Failed to open libconnctrl, some features may not be present.
08-17 09:39:55.943 2797 2797 D TetherController: Setting IP forward enable = 0
08-17 09:39:56.002 2798 2798 I SurfaceFlinger: SurfaceFlinger is starting
The error comes from here:
Code:
EGLConfig RenderEngine::chooseEglConfig(EGLDisplay display, int format) {
status_t err;
EGLConfig config;
// First try to get an ES2 config
err = selectEGLConfig(display, format, EGL_OPENGL_ES2_BIT, &config);
if (err != NO_ERROR) {
// If ES2 fails, try ES1
err = selectEGLConfig(display, format, EGL_OPENGL_ES_BIT, &config);
if (err != NO_ERROR) {
// still didn't work, probably because we're on the emulator...
// try a simplified query
ALOGW("no suitable EGLConfig found, trying a simpler query");
err = selectEGLConfig(display, format, 0, &config);
if (err != NO_ERROR) {
// this EGL is too lame for android
LOG_ALWAYS_FATAL("[COLOR="Red"]no suitable EGLConfig found, giving up[/COLOR]");
}
}
}
There are no pb with hwcomposer. It seems that it lakes a part of EGL informations.
Maybe this in frameworks/native/opengl/libagl/egl.cpp:
Code:
/* 32-bit BGRA */
static config_pair_t const config_8_attribute_list[] = {
{ EGL_BUFFER_SIZE, 32 },
{ EGL_ALPHA_SIZE, 8 },
{ EGL_BLUE_SIZE, 8 },
{ EGL_GREEN_SIZE, 8 },
{ EGL_RED_SIZE, 8 },
{ EGL_DEPTH_SIZE, 0 },
{ EGL_CONFIG_ID, 2 },
{ EGL_NATIVE_VISUAL_ID, GGL_PIXEL_FORMAT_BGRA_8888 },
{ EGL_SURFACE_TYPE, EGL_WINDOW_BIT|EGL_PBUFFER_BIT|EGL_PIXMAP_BIT },
};
Bizcuite
bizcuite said:
Hi,
Thanks for your reply, but:
I have made a boot with my own Rom (R3p2 driver like everybody), this is the logcat:
Code:
08-17 09:46:40.719 2177 2177 I cm : Welcome to Android 6.0.1 / CyanogenMod-13.0-20160809-UNOFFICIAL-n7100
08-17 09:46:40.720 2123 2123 I perfprofd: random seed set to 1438291486
08-17 09:46:40.724 2072 2072 I SurfaceFlinger: SurfaceFlinger is starting
08-17 09:46:40.724 2072 2072 I SurfaceFlinger: SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
08-17 09:46:40.738 2094 2094 W linker : /system/lib/libsec-ril.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
08-17 09:46:40.765 2109 2109 W linker : /system/bin/gpsd has text relocations. This is wasting memory and prevents security hardening. Please fix.
08-17 09:46:40.789 2072 2072 D libEGL : loaded /system/lib/egl/libEGL_mali.so
08-17 09:46:40.831 2072 2072 D libEGL : loaded /system/lib/egl/libGLESv1_CM_mali.so
08-17 09:46:40.833 2109 2109 W linker : /system/lib/libsec-ril.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
08-17 09:46:40.860 2072 2072 D libEGL : loaded /system/lib/egl/libGLESv2_mali.so
08-17 09:46:40.892 2072 2072 E : Device driver API match
08-17 09:46:40.892 2072 2072 E : Device driver API version: 29
08-17 09:46:40.892 2072 2072 E : User space API version: 29
08-17 09:46:40.892 2072 2072 E : mali: REVISION=Linux-r3p2-01rel3 BUILD_DATE=Tue Jul 22 19:59:34 KST 2014
08-17 09:46:40.911 2072 2072 D gralloc : int init_frame_buffer_locked(private_module_t*) Initializing framebuffer
08-17 09:46:40.911 2072 2072 I gralloc : using (fd=14)
08-17 09:46:40.911 2072 2072 I gralloc : id = s3cfb
08-17 09:46:40.911 2072 2072 I gralloc : xres = 720 px
08-17 09:46:40.911 2072 2072 I gralloc : yres = 1280 px
08-17 09:46:40.911 2072 2072 I gralloc : xres_virtual = 720 px
08-17 09:46:40.911 2072 2072 I gralloc : yres_virtual = 2560 px
08-17 09:46:40.911 2072 2072 I gralloc : bpp = 32
08-17 09:46:40.911 2072 2072 I gralloc : r = 16:8
08-17 09:46:40.911 2072 2072 I gralloc : g = 8:8
08-17 09:46:40.911 2072 2072 I gralloc : b = 0:8
08-17 09:46:40.911 2072 2072 I gralloc : width = 69 mm (265.043488 dpi)
08-17 09:46:40.911 2072 2072 I gralloc : height = 123 mm (264.325195 dpi)
08-17 09:46:40.911 2072 2072 I gralloc : refresh rate = 58.00 Hz
08-17 09:46:40.925 2109 2109 I libdmitry: Nexus 10 GPS interposition library loaded. Your GPS should work in M now.
[COLOR="Red"][B]08-17 09:46:40.956 2072 2072 E HAL : load: module=/system/lib/hw/hwcomposer.default.so
08-17 09:46:40.956 2072 2072 E HAL : dlopen failed: library "libhdmiclient.so" not found
08-17 09:46:40.956 2072 2072 E SurfaceFlinger: hwcomposer module not found
08-17 09:46:40.956 2072 2072 I SurfaceFlinger: EGL information:[/B][/COLOR]
08-17 09:46:40.956 2072 2072 I SurfaceFlinger: vendor : Android
08-17 09:46:40.956 2072 2072 I SurfaceFlinger: version : 1.4 Android META-EGL
08-17 09:46:40.956 2072 2072 I SurfaceFlinger: extensions: EGL_KHR_get_all_proc_addresses EGL_ANDROID_presentation_time EGL_KHR_swap_buffers_with_damage EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_reusable_sync EGL_KHR_fence_sync EGL_EXT_create_context_robustness EGL_ANDROID_image_native_buffer EGL_ANDROID_recordable
08-17 09:46:40.956 2072 2072 I SurfaceFlinger: Client API: OpenGL_ES
08-17 09:46:40.956 2072 2072 I SurfaceFlinger: EGLSurface: 8-8-8-8, config=0x60000014
08-17 09:46:40.959 2072 2072 I SurfaceFlinger: OpenGL ES informations:
08-17 09:46:40.959 2072 2072 I SurfaceFlinger: vendor : ARM
08-17 09:46:40.959 2072 2072 I SurfaceFlinger: renderer : Mali-400 MP
08-17 09:46:40.959 2072 2072 I SurfaceFlinger: version : OpenGL ES 2.0
08-17 09:46:40.959 2072 2072 I SurfaceFlinger: extensions: GL_EXT_debug_marker GL_OES_texture_npot GL_OES_compressed_ETC1_RGB8_texture GL_OES_standard_derivatives GL_OES_EGL_image GL_OES_depth24 GL_ARM_rgba8 GL_ARM_mali_shader_binary GL_OES_depth_texture GL_OES_packed_depth_stencil GL_EXT_texture_format_BGRA8888 GL_EXT_blend_minmax GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_rgb8_rgba8 GL_EXT_multisampled_render_to_texture GL_EXT_discard_framebuffer GL_OES_get_program_binary GL_ARM_mali_program_binary GL_EXT_shader_texture_lod GL_EXT_robustness GL_OES_depth_texture_cube_map
08-17 09:46:40.959 2072 2072 I SurfaceFlinger: GL_MAX_TEXTURE_SIZE = 4096
08-17 09:46:40.959 2072 2072 I SurfaceFlinger: GL_MAX_VIEWPORT_DIMS = 4096
08-17 09:46:40.959 2072 2072 E cutils-trace: Error opening trace file: No such file or directory (2)
08-17 09:46:40.963 2072 2072 D SurfaceFlinger: Set power mode=2, type=0 flinger=0x41434df0
08-17 09:46:41.025 2072 2072 D SurfaceFlinger: SF. shader cache generated - 26 shaders in 58.574417 ms
08-17 09:46:41.042 2109 2255 D gpsd : LogJava: connect(fd11, ...) failed with errno = 111(Connection refused)
08-17 09:46:41.042 2109 2255 D gpsd : LogJava: Couldn't connect to Logging service 127.0.0.1:6477. Waiting for server...
08-17 09:46:41.060 2109 2109 D wrapperGPS: wrapperOpenClient_RILD
08-17 09:46:41.060 2109 2109 D wrapperGPS: wrapperRegisterRequestCompleteHandler
08-17 09:46:41.060 2109 2109 D wrapperGPS: wrapperRegisterUnsolicitedHandler id(12009), handler(0x40070bfd)
08-17 09:46:41.060 2109 2109 D wrapperGPS: wrapperRegisterErrorCallback
08-17 09:46:41.060 2109 2109 D wrapperGPS: wrapperConnect_RILD
08-17 09:46:41.173 2295 2295 I sysinit : Running /system/etc/init.d/90userinit
08-17 09:46:41.221 2311 2311 I sysinit : Running /system/etc/init.d/98netflix
08-17 09:46:41.332 2239 2335 D libEGL : loaded /system/lib/egl/libEGL_mali.so
08-17 09:46:41.337 2239 2335 D libEGL : loaded /system/lib/egl/libGLESv1_CM_mali.so
08-17 09:46:41.365 2239 2335 D libEGL : loaded /system/lib/egl/libGLESv2_mali.so
08-17 09:46:41.393 2239 2335 E : Device driver API match
08-17 09:46:41.393 2239 2335 E : Device driver API version: 29
08-17 09:46:41.393 2239 2335 E : User space API version: 29
08-17 09:46:41.393 2239 2335 E : mali: REVISION=Linux-r3p2-01rel3 BUILD_DATE=Tue Jul 22 19:59:34 KST 2014
08-17 09:46:41.396 2239 2335 E cutils-trace: Error opening trace file: No such file or directory (2)
08-17 09:46:41.444 2239 2335 W BootAnimation: Unable to cache the animation
08-17 09:46:41.445 2239 2335 E BootAnimation: couldn't find audio_conf.txt
And now a boot with my r6p0 kernel:
Code:
08-17 09:39:51.241 2720 2720 I SurfaceFlinger: SurfaceFlinger is starting
08-17 09:39:51.252 2720 2720 I SurfaceFlinger: SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
08-17 09:39:51.256 2720 2720 D libEGL : loaded /system/lib/egl/libEGL_mali.so
08-17 09:39:51.261 2720 2720 D libEGL : loaded /system/lib/egl/libGLESv1_CM_mali.so
08-17 09:39:51.291 2720 2720 D libEGL : loaded /system/lib/egl/libGLESv2_mali.so
08-17 09:39:51.310 1988 1988 W auditd : type=1325 audit(0.0:135): table=filter family=2 entries=11
08-17 09:39:51.328 2720 2720 W libEGL : eglInitialize(0x1) failed (EGL_BAD_ALLOC)
08-17 09:39:51.340 2720 2720 D gralloc : int init_frame_buffer_locked(private_module_t*) Initializing framebuffer
08-17 09:39:51.340 2720 2720 I gralloc : using (fd=12)
08-17 09:39:51.340 2720 2720 I gralloc : id = s3cfb
08-17 09:39:51.340 2720 2720 I gralloc : xres = 720 px
08-17 09:39:51.340 2720 2720 I gralloc : yres = 1280 px
08-17 09:39:51.340 2720 2720 I gralloc : xres_virtual = 720 px
08-17 09:39:51.340 2720 2720 I gralloc : yres_virtual = 2560 px
08-17 09:39:51.340 2720 2720 I gralloc : bpp = 32
08-17 09:39:51.340 2720 2720 I gralloc : r = 16:8
08-17 09:39:51.340 2720 2720 I gralloc : g = 8:8
08-17 09:39:51.340 2720 2720 I gralloc : b = 0:8
08-17 09:39:51.340 2720 2720 I gralloc : width = 69 mm (265.043488 dpi)
08-17 09:39:51.340 2720 2720 I gralloc : height = 123 mm (264.325195 dpi)
08-17 09:39:51.340 2720 2720 I gralloc : refresh rate = 58.00 Hz
[COLOR="red"][B]08-17 09:39:51.352 2720 2720 E HAL : load: module=/system/lib/hw/hwcomposer.exynos4.so
08-17 09:39:51.352 2720 2720 E HAL : dlopen failed: library "libhdmiclient.so" not found
08-17 09:39:51.352 2720 2720 E SurfaceFlinger: hwcomposer module not found
08-17 09:39:51.354 2720 2720 W SurfaceFlinger: no suitable EGLConfig found, trying a simpler query
08-17 09:39:51.354 2720 2720 F SurfaceFlinger: no suitable EGLConfig found, giving up[/B][/COLOR]
08-17 09:39:51.354 2720 2720 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 2720 (surfaceflinger)
08-17 09:39:51.355 2089 2089 I DEBUG : property debug.db.uid not set; NOT waiting for gdb.
08-17 09:39:51.355 2089 2089 I DEBUG : HINT: adb shell setprop debug.db.uid 100000
08-17 09:39:51.355 2089 2089 I DEBUG : HINT: adb forward tcp:5039 tcp:5039
08-17 09:39:51.456 2089 2089 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
08-17 09:39:51.456 2089 2089 F DEBUG : CM Version: '13.0-20160809-UNOFFICIAL-n7100'
08-17 09:39:51.456 2089 2089 F DEBUG : Build fingerprint: 'samsung/t03gxx/t03g:4.4.2/KOT49H/N7100XXUFND3:user/release-keys'
08-17 09:39:51.456 2089 2089 F DEBUG : Revision: '0'
08-17 09:39:51.456 2089 2089 F DEBUG : ABI: 'arm'
08-17 09:39:51.456 2089 2089 F DEBUG : pid: 2720, tid: 2720, name: surfaceflinger >>> /system/bin/surfaceflinger <<<
08-17 09:39:51.456 2089 2089 F DEBUG : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
[COLOR="red"][B]08-17 09:39:51.467 2089 2089 F DEBUG : Abort message: 'no suitable EGLConfig found, giving up'[/B][/COLOR]
08-17 09:39:51.467 2089 2089 F DEBUG : r0 00000000 r1 00000aa0 r2 00000006 r3 40146b8c
08-17 09:39:51.467 2089 2089 F DEBUG : r4 40146b94 r5 40146b44 r6 00000000 r7 0000010c
08-17 09:39:51.467 2089 2089 F DEBUG : r8 00000000 r9 ffff6372 sl 00000000 fp 00000001
08-17 09:39:51.467 2089 2089 F DEBUG : ip 00000006 sp beff14b8 lr 401957a9 pc 40197ba4 cpsr 400f0010
08-17 09:39:51.478 2089 2089 F DEBUG :
08-17 09:39:51.478 2089 2089 F DEBUG : backtrace:
08-17 09:39:51.478 2089 2089 F DEBUG : #00 pc 00044ba4 /system/lib/libc.so (tgkill+12)
08-17 09:39:51.478 2089 2089 F DEBUG : #01 pc 000427a5 /system/lib/libc.so (pthread_kill+32)
08-17 09:39:51.478 2089 2089 F DEBUG : #02 pc 0001ba2f /system/lib/libc.so (raise+10)
08-17 09:39:51.478 2089 2089 F DEBUG : #03 pc 00018bd1 /system/lib/libc.so (__libc_android_abort+34)
08-17 09:39:51.478 2089 2089 F DEBUG : #04 pc 000167f0 /system/lib/libc.so (abort+4)
08-17 09:39:51.478 2089 2089 F DEBUG : #05 pc 000090ab /system/lib/libcutils.so (__android_log_assert+86)
08-17 09:39:51.478 2089 2089 F DEBUG : #06 pc 0002b495 /system/lib/libsurfaceflinger.so
08-17 09:39:51.478 2089 2089 F DEBUG : #07 pc 0002b095 /system/lib/libsurfaceflinger.so
08-17 09:39:51.478 2089 2089 F DEBUG : #08 pc 0001adcd /system/lib/libsurfaceflinger.so (_ZN7android14SurfaceFlinger4initEv+240)
08-17 09:39:51.478 2089 2089 F DEBUG : #09 pc 00000ecb /system/bin/surfaceflinger
08-17 09:39:51.478 2089 2089 F DEBUG : #10 pc 0001669d /system/lib/libc.so (__libc_init+44)
08-17 09:39:51.478 2089 2089 F DEBUG : #11 pc 00000d90 /system/bin/surfaceflinger
08-17 09:39:51.475 1988 1988 W auditd : type=1325 audit(0.0:141): table=filter family=2 entries=8
08-17 09:39:51.475 2757 2757 W iptables: type=1300 audit(0.0:141): arch=40000028 syscall=294 per=800008 success=yes exit=0 a0=4 a1=0 a2=40 a3=40829920 items=0 ppid=2719 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 exe="/system/bin/iptables" subj=u:r:netd:s0 key=(null)
08-17 09:39:51.787 2089 2089 F DEBUG :
08-17 09:39:51.787 2089 2089 F DEBUG : Tombstone written to: /data/tombstones/tombstone_03
08-17 09:39:55.942 2797 2797 I Netd : Netd 1.0 starting
08-17 09:39:55.943 2797 2797 I QtiConnectivityAdapter: Failed to open libconnctrl, some features may not be present.
08-17 09:39:55.943 2797 2797 D TetherController: Setting IP forward enable = 0
08-17 09:39:56.002 2798 2798 I SurfaceFlinger: SurfaceFlinger is starting
The error comes from here:
Code:
EGLConfig RenderEngine::chooseEglConfig(EGLDisplay display, int format) {
status_t err;
EGLConfig config;
// First try to get an ES2 config
err = selectEGLConfig(display, format, EGL_OPENGL_ES2_BIT, &config);
if (err != NO_ERROR) {
// If ES2 fails, try ES1
err = selectEGLConfig(display, format, EGL_OPENGL_ES_BIT, &config);
if (err != NO_ERROR) {
// still didn't work, probably because we're on the emulator...
// try a simplified query
ALOGW("no suitable EGLConfig found, trying a simpler query");
err = selectEGLConfig(display, format, 0, &config);
if (err != NO_ERROR) {
// this EGL is too lame for android
LOG_ALWAYS_FATAL("[COLOR="Red"]no suitable EGLConfig found, giving up[/COLOR]");
}
}
}
There are no pb with hwcomposer. It seems that it lakes a part of EGL informations.
Maybe this in frameworks/native/opengl/libagl/egl.cpp:
Code:
/* 32-bit BGRA */
static config_pair_t const config_8_attribute_list[] = {
{ EGL_BUFFER_SIZE, 32 },
{ EGL_ALPHA_SIZE, 8 },
{ EGL_BLUE_SIZE, 8 },
{ EGL_GREEN_SIZE, 8 },
{ EGL_RED_SIZE, 8 },
{ EGL_DEPTH_SIZE, 0 },
{ EGL_CONFIG_ID, 2 },
{ EGL_NATIVE_VISUAL_ID, GGL_PIXEL_FORMAT_BGRA_8888 },
{ EGL_SURFACE_TYPE, EGL_WINDOW_BIT|EGL_PBUFFER_BIT|EGL_PIXMAP_BIT },
};
Bizcuite
Click to expand...
Click to collapse
Code:
08-17 09:46:40.789 2072 2072 D libEGL : loaded /system/lib/egl/libEGL_mali.so
08-17 09:46:40.831 2072 2072 D libEGL : loaded /system/lib/egl/libGLESv1_CM_mali.so
08-17 09:46:40.860 2072 2072 D libEGL : loaded /system/lib/egl/libGLESv2_mali.so
These are specific for the r3p2 version of the device. You HAVE to build a new ROM that contains the Kernel with r6p0 version for everything to fit properly. Trust me.
Alexander_the_B0ss said:
Code:
08-17 09:46:40.789 2072 2072 D libEGL : loaded /system/lib/egl/libEGL_mali.so
08-17 09:46:40.831 2072 2072 D libEGL : loaded /system/lib/egl/libGLESv1_CM_mali.so
08-17 09:46:40.860 2072 2072 D libEGL : loaded /system/lib/egl/libGLESv2_mali.so
These are specific for the r3p2 version of the device. You HAVE to build a new ROM that contains the Kernel with r6p0 version for everything to fit properly. Trust me.
Click to expand...
Click to collapse
I made ATM (compilation in progress) my own ROM with the new kernel, i haven't wait you to do it
But i don't understand why it's necessary for you to compile the OS with the kernel? (where are the relations with the Android code and the kernel?) For me, kernel files are not used to compile gralloc/hwcomposer/others graphics libs.
By experience, when i had to build ROM for Archos gen 8, kernel is not necessary to have a working build (it was compile as an external kernel).
Kernel can be compiled by internal CM/AOSP toolchain or independant toolchain....
I compile the kernel by linaro toolchain to save time.
Bizcuite
bizcuite said:
I made ATM (compilation in progress) my own ROM with the new kernel, i haven't wait you to do it
But i don't understand why it's necessary for you to compile the OS with the kernel? (where are the relations with the Android code and the kernel?) For me, kernel files are not used to compile gralloc/hwcomposer/others graphics libs.
Kernel can be compiled by internal CM/AOSP toolchain or independant toolchain....
I compile the kernel by linaro toolchain to save time.
Bizcuite
Click to expand...
Click to collapse
That is because, especially if you are upgrading the driver version, the graphics files (gralloc, hwcomposer, OpenGL) only know the "old" revision of the driver, i.e. r3p2. With the newer version, r6p0, many things have changed, so the graphics part of the ROM doesn't know what to do and simply abandons trying. Try to read the logcat and you'll see what I mean by it. It also needs to build a new EGLConfig for the ROM to work with.
Code:
08-16 11:58:38.216 3239 3239 F SurfaceFlinger: no suitable EGLConfig found, giving up
Code:
// this EGL is too lame for android
Alexander_the_B0ss said:
That is because, especially if you are upgrading the driver version, the graphics files (gralloc, hwcomposer, OpenGL) only know the "old" revision of the driver, i.e. r3p2. With the newer version, r6p0, many things have changed, so the graphics part of the ROM doesn't know what to do and simply abandons trying. Try to read the logcat and you'll see what I mean by it. It also needs to build a new EGLConfig for the ROM to work with.
Code:
08-16 11:58:38.216 3239 3239 F SurfaceFlinger: no suitable EGLConfig found, giving up
Code:
// this EGL is too lame for android
Click to expand...
Click to collapse
A new ROM with r6p0 kernel include has been terminated yesterday (applications update at start has changed, it's beautiful lol).
Same error with surfaceflinger and the Hack doesn't worked for us.
Nothing has changed!! (same logcat)
I recompile with a newer version of gralloc (i build it ATM) and will try to see evolutions in the logcat.
sources of gralloc:
HTML:
http://malideveloper.arm.com/resources/drivers/open-source-mali-gpus-android-gralloc-module/
and choose 13 january 2015 version
(Back)Port driver PVR is more easily!!!
Bizcuite
bizcuite said:
A new ROM with r6p0 kernel include has been terminated yesterday (applications update at start has changed, it's beautiful lol).
Same error with surfaceflinger and the Hack doesn't worked for us.
Nothing has changed!! (same logcat)
I recompile with a newer version of gralloc (i build it ATM) and will try to see evolutions in the logcat.
sources of gralloc:
HTML:
http://malideveloper.arm.com/resources/drivers/open-source-mali-gpus-android-gralloc-module/
and choose 13 january 2015 version
(Back)Port driver PVR is more easily!!!
Bizcuite
Click to expand...
Click to collapse
Now it should work. If the gralloc accepts the r6p0 drivers we're in business.
Alexander_the_B0ss said:
Now it should work. If the gralloc accepts the r6p0 drivers we're in business.
Click to expand...
Click to collapse
It doesn't worked because the drivers ils not loaded correctly. /dev/mali is not created, UMP driver yes. There are ni crash from the kernel :/
I work on kernel before....
I have included too the new UMP HAL(with the new gralloc) into n7100 device folder.
I will inform you about any progression...
Bizcuite
Sent from my GT-N7100 using XDA-Developers mobile app
bizcuite said:
Hi guys,
Anyone has tried to switch r3p2 mali driver to r6p0 version?
I try to port it atm, kernel boot, but driver is not load correctly.
If you want try you can take kernel exynos from Google repo. And port mali_osk_locks.c files from r3p2 driver. I will push my first try (which boot) on my github un few times.
This is the base of driver that i use:
https://android.googlesource.com/ke...3.10-marshmallow-mr1-wear-release/drivers/gpu
My github:
https://github.com/bizcuite/android_kernel_samsung_smdk4412/tree/r6p0_v1
Bizcuite
Sent from my GT-N7100 using XDA-Developers mobile app
Click to expand...
Click to collapse
Work on void kernel
xress7 said:
Work on void kernel
Click to expand...
Click to collapse
I have rebase all my work and use drivers (kernel/gralloc/UMP) from Mali website (not pushed in git) but i put this project in stand by, because i compile (with success but doesn't boot) staging/cm14 atm.
Bizcuite
Sent from my GT-N7100 using XDA-Developers mobile app
bizcuite said:
I have rebase all my work and use drivers (kernel/gralloc/UMP) from Mali website (not pushed in git) but i put this project in stand by, because i compile (with success but doesn't boot) staging/cm14 atm.
Bizcuite
Sent from my GT-N7100 using XDA-Developers mobile app
Click to expand...
Click to collapse
Ok you try commit him new version mali
Hey it grivers but games?
Note2 rooms 4.4.4 suport?
DRAMER16 said:
Hey it grivers but games?
Note2 rooms 4.4.4 suport?
Click to expand...
Click to collapse
The driver is link to the rom (by libraries used) it will be never compatible with another roms, only roms build with news librairies.
The driver doesn't worked and i don't worked on it ATM.
Bizcuite