• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [DEV] Continuing Triumph ICS Development

AOKP.. tossed on gapps.. tossed on my version of your camerafix.zip..


I/CameraService( 310): CameraService started (pid=310)
E/HAL ( 310): load: module=/system/lib/hw/camera.msm7x30.so
E/HAL ( 310): Cannot load library: link_image[1965]: 310 could not load needed library 'libcamera.so' for 'camera.msm7x30.so' (reloc_library[1314]: 310 cannot locate '_ZN7android16CameraParameters14KEY_WIDESCREENE'.


Just fixed the updater-script
 

Attachments

  • camerafixFLASH1.zip
    1.3 MB · Views: 95
Upvote 0
AOKP.. tossed on gapps.. tossed on my version of your camerafix.zip..


I/CameraService( 310): CameraService started (pid=310)
E/HAL ( 310): load: module=/system/lib/hw/camera.msm7x30.so
E/HAL ( 310): Cannot load library: link_image[1965]: 310 could not load needed library 'libcamera.so' for 'camera.msm7x30.so' (reloc_library[1314]: 310 cannot locate '_ZN7android16CameraParameters14KEY_WIDESCREENE'.


Just fixed the updater-script

Looks like its not recognizing the lib camera.so
 
Upvote 0
Ok.. tossed on CodeName Android, Gapps, and all your files except media_profiles.xml and I don't see any errors in logcat, I don't boot loop.. but camera still doesn't connect..

Tossed media_profiles.xml and now boot loop again...

I/CameraService( 294): CameraService started (pid=294)
E/HAL ( 294): load: module=/system/lib/hw/camera.msm7x30.so
E/HAL ( 294): Cannot load library: link_image[1965]: 294 could not load needed library 'libcamera.so' for 'camera.msm7x30.so' (reloc_library[1314]: 294 cannot locate '_ZNK7android16CameraParameters16getTouchIndexAecEPiS1_'...
E/HAL ( 294): )
E/CameraService( 294): Could not load camera HAL module

revert back to media_profiles.xml that comes on CodenameAndroid and boots fine again.. and logcat shows:


I/WindowManager( 209): WIN DEATH: Window{2c1e1018 com.kth.PuddingCamera/com.kth.PuddingCamera.CameraActivity paused=true}
I/ActivityManager( 209): Process com.kth.PuddingCamera (pid 1503) has died.
W/ActivityManager( 209): Force removing ActivityRecord{2c120f40 com.kth.PuddingCamera/.CameraActivity}: app died, no saved state
D/memalloc( 102): /dev/pmem: Freeing buffer base:0x2c5ae000 size:1536000 offset:4485120 fd:35
I/WindowManager( 209): WIN DEATH: Window{2c108de0 com.kth.PuddingCamera/com.kth.PuddingCamera.CameraActivity paused=true}
D/AudioHardwareMSM7X30( 105): msm_route_stream(PCM_PLAY,5,8,1)
....some other stuff.....
I/ActivityManager( 209): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.kth.PuddingCamera/.LauncherAcitivity} from pid 438
I/ActivityManager( 209): Start proc com.kth.PuddingCamera for activity com.kth.PuddingCamera/.LauncherAcitivity: pid=1591 uid=10064 gids={1006, 3003, 1015}
I/ActivityManager( 209): Config changed: {1.0 310mcc53mnc en_US layoutdir=0 sw320dp w533dp h294dp nrml long land finger -keyb/v/h -nav/h s.13}
I/ActivityManager( 209): START {flg=0x20000000 cmp=com.kth.PuddingCamera/.CameraActivity} from pid 1591
...some more stuff....
E/CameraService( 105): Camera HAL module not loaded
 
  • Like
Reactions: rukin5197
Upvote 0
Ok.. tossed on CodeName Android, Gapps, and all your files except media_profiles.xml and I don't see any errors in logcat, I don't boot loop.. but camera still doesn't connect..

Tossed media_profiles.xml and now boot loop again...

I/CameraService( 294): CameraService started (pid=294)
E/HAL ( 294): load: module=/system/lib/hw/camera.msm7x30.so
E/HAL ( 294): Cannot load library: link_image[1965]: 294 could not load needed library 'libcamera.so' for 'camera.msm7x30.so' (reloc_library[1314]: 294 cannot locate '_ZNK7android16CameraParameters16getTouchIndexAecEPiS1_'...
E/HAL ( 294): )
E/CameraService( 294): Could not load camera HAL module

revert back to media_profiles.xml that comes on CodenameAndroid and boots fine again.. and logcat shows:


I/WindowManager( 209): WIN DEATH: Window{2c1e1018 com.kth.PuddingCamera/com.kth.PuddingCamera.CameraActivity paused=true}
I/ActivityManager( 209): Process com.kth.PuddingCamera (pid 1503) has died.
W/ActivityManager( 209): Force removing ActivityRecord{2c120f40 com.kth.PuddingCamera/.CameraActivity}: app died, no saved state
D/memalloc( 102): /dev/pmem: Freeing buffer base:0x2c5ae000 size:1536000 offset:4485120 fd:35
I/WindowManager( 209): WIN DEATH: Window{2c108de0 com.kth.PuddingCamera/com.kth.PuddingCamera.CameraActivity paused=true}
D/AudioHardwareMSM7X30( 105): msm_route_stream(PCM_PLAY,5,8,1)
....some other stuff.....
I/ActivityManager( 209): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.kth.PuddingCamera/.LauncherAcitivity} from pid 438
I/ActivityManager( 209): Start proc com.kth.PuddingCamera for activity com.kth.PuddingCamera/.LauncherAcitivity: pid=1591 uid=10064 gids={1006, 3003, 1015}
I/ActivityManager( 209): Config changed: {1.0 310mcc53mnc en_US layoutdir=0 sw320dp w533dp h294dp nrml long land finger -keyb/v/h -nav/h s.13}
I/ActivityManager( 209): START {flg=0x20000000 cmp=com.kth.PuddingCamera/.CameraActivity} from pid 1591
...some more stuff....
E/CameraService( 105): Camera HAL module not loaded

Thanks for this! At least we know that the media_profiles.xml is the culprit.

Let's try some other ones.
 
Upvote 0
I'm more of a Linux guy.. don't know a whole lot about Android.. but if the x6 is the same as our phone why doesn't that kernel work on our phone?

Also is android kernel just a Linux kernel say from kernel.org?

Also more of a Linux guy.. I can use kernel 2.6.x.x with say slackware 7 and I can update to slackware 11 and still use same kernel same drivers. I don't need to update to a 3.0 kernel. so why can't we use same kernel and same drivers when updating from android 2.3 to 4.0?

Is there some new function android 4.x needs a newer kernel like in Linux kernel 2.4 doesn't support wpa so 2.6.x kernel is needed...

Can someone please help me understand and maybe I can contribute to ics camera fix
 
Upvote 0
Ok, not sure what I currently have on my phone.. LOL.. I've been flashing so many files around.. I think I'm on ParanoidAndroid-Triumph rom... using X6 libcamera.so and libeomcamera.so ... media_profiles.xml from X6 ParanoidAndroid... and not exactly sure where I stole/built camera.XXXXXX.so from /system/lib/hw/ but I renamed it triumph... for our build.prop..

boot loops.. and here is the logcat:

I/CameraService( 423): CameraService started (pid=423)
E/HAL ( 423): load: module=/system/lib/hw/camera.triumph.so
E/HAL ( 423): Cannot load library: link_image[1965]: 423 could not load needed library 'libcamera.so' for 'camera.triumph.so' (reserve_mem_region[845]: 423 can NOT map (prelinked) library 'libcamera.so' at 0xa7900000 as requested, will try general pool: 12 (Out of memory))
E/CameraService( 423): Could not load camera HAL module
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones