Jump to content


Photo

Front Camera and CyanogenMod.

- - - - -

  • Please log in to reply
21 replies to this topic

#1
dodgetimmy

dodgetimmy

    Enthusiast

  • Members
  • PipPipPip
  • 295 posts
  • Gender:Male
  • Location:East Sussex, UK.
  • Devices:ZTE Crescent, HTC Desire
Could someone in the "know" explain why it's not been possible to add support for the front camera in CM7 or any of the JB roms?

  • 0

#2
CurtisAndroidSF2

CurtisAndroidSF2

    Addict

  • Members
  • PipPipPipPipPip
  • 595 posts
  • Gender:Male
  • Location:Hartlepool
  • Interests:Graphic Design, Music, Photography, Android, Technology & Gaming.
  • Devices:HUAWEI ASCEND P1
I'm pretty sure its because the builds we have for the Crescent are based on the original Blades libs and that device doesn't support a front camera or flash so they won't work on our phones.

I'm not too sure though.

  • 0

Devices


Huawei Ascend P1 (Untouched, for now)

iPhone 4 16gb Jailbroke (6.1.3 semi-tethered) (Sold)

HTC ONE V (Unlocked Bootloader/TWRP installed) running CM10 (Sold)

ZTE Crescent (OSF2)- Paranoid Android 4.1 (Sold)

Samsung Galaxy I5500- CM7 (Sold)

________________________________

My Photography


My Ported Roms:

MoKeeOS (Alpha) | GB MIUI (Alpha) | KonstaKang (Alpha)

| AtomicMod (Beta) |

SwedishSnow (Fully working) | H3 Blues


Help me by testing out my ported ROMs and let me know what works/doesn't work and post here


#3
OuahOuah

OuahOuah

    Enthusiast

  • Members
  • PipPipPip
  • 185 posts
  • Gender:Male
  • Location:France
  • Interests:Custom ROM on Android devices :)
  • Devices:ZTE Crescent
  • Twitter:@parigotmanchot
Because ZTE sucks :P

  • 0

#4
BLu3HaZe

BLu3HaZe

    Enthusiast

  • Members
  • PipPipPip
  • 228 posts
  • Gender:Male
  • Location:Sri Lanka
  • Devices:ZTE Crescent - SFII (Synaptic)
Why can't we use Crescent libraries?

  • 0

#5
OuahOuah

OuahOuah

    Enthusiast

  • Members
  • PipPipPip
  • 185 posts
  • Gender:Male
  • Location:France
  • Interests:Custom ROM on Android devices :)
  • Devices:ZTE Crescent
  • Twitter:@parigotmanchot

Why can't we use Crescent libraries?


Zte didn't provide them ;)
I don't know how Blade's lib were made available tough.

  • 0

#6
BLu3HaZe

BLu3HaZe

    Enthusiast

  • Members
  • PipPipPip
  • 228 posts
  • Gender:Male
  • Location:Sri Lanka
  • Devices:ZTE Crescent - SFII (Synaptic)

Zte didn't provide them ;)
I don't know how Blade's lib were made available tough.


ZTE sucks.. :(

So lifting prebuilt libs off stock ROMs don't work I guess?

  • 0

#7
reedo_17

reedo_17

    Enthusiast

  • Members
  • PipPipPip
  • 271 posts
  • Gender:Male
  • Devices:Nexus4,Blade,CrescentY300MotoG
  • Twitter:@@Ollie_Reed17
Just wondering take it the skate doesnt have front camera working on cyanogenmod

  • 0

#8
PsYcHoKiLLa

PsYcHoKiLLa

    Addict

  • Members
  • PipPipPipPipPip
  • 802 posts
  • Gender:Male
  • Devices:LG Nexus 4, Tesco Hudl
  • Twitter:@djsubterrain
As far as I remember, it does but the cameras are a different model and the libraries couldn't be made to work with ours.

Edited by PsYcHoKiLLa, 28 January 2013 - 04:42 PM.

  • 0

#9
razzmataz1478

razzmataz1478

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 2,215 posts
  • Gender:Male
  • Location:HULL
  • Interests:Flashing ROMs, Being distracted by my skate
  • Devices:ZTE Skate

Just wondering take it the skate doesnt have front camera working on cyanogenmod


The skate doesn't have front camera :P

Your front camera (and flash - same for skate) doesn't work because the proprietary liboemcamera.so library doesn't seem to be compatible with 4.0+, and causes memory errors. We use the blade's liboemcamera.so because it doesn't cause memory errors. C3C0 has tries multiple times to try and fix this but,unfortunately, hasn't been successful.

  • 0

Posted Image

Current Phone:

Xperia T


Previous Phones:

Orange Monte Carlo

Nokia 5530 XpressMusic (Nokia C6-00 CFW)

Sony Ericsson v640i

Nokia 3120

Various other Nokia phones.

Not the best history of phones Posted Image


#10
OuahOuah

OuahOuah

    Enthusiast

  • Members
  • PipPipPip
  • 185 posts
  • Gender:Male
  • Location:France
  • Interests:Custom ROM on Android devices :)
  • Devices:ZTE Crescent
  • Twitter:@parigotmanchot
It is not possible to use a liboemcamera newer ? Like in last ZTE phone (more recent than Blade Crescent for instance) ?

  • 0

#11
BLu3HaZe

BLu3HaZe

    Enthusiast

  • Members
  • PipPipPip
  • 228 posts
  • Gender:Male
  • Location:Sri Lanka
  • Devices:ZTE Crescent - SFII (Synaptic)

The skate doesn't have front camera :P

Your front camera (and flash - same for skate) doesn't work because the proprietary liboemcamera.so library doesn't seem to be compatible with 4.0+, and causes memory errors. We use the blade's liboemcamera.so because it doesn't cause memory errors. C3C0 has tries multiple times to try and fix this but,unfortunately, hasn't been successful.

Different APIs and what not in 4.0+ so understandable, but what about for CM7 atleast? Even video gets recorded at 352x288 max, for now..

  • 0

#12
razzmataz1478

razzmataz1478

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 2,215 posts
  • Gender:Male
  • Location:HULL
  • Interests:Flashing ROMs, Being distracted by my skate
  • Devices:ZTE Skate

Different APIs and what not in 4.0+ so understandable, but what about for CM7 atleast? Even video gets recorded at 352x288 max, for now..


I can't say for definite but I don't think that's related to liboemcamera.so, but more likely camera HAL.

Edited by razzmataz1478, 29 January 2013 - 07:19 AM.

  • 0

Posted Image

Current Phone:

Xperia T


Previous Phones:

Orange Monte Carlo

Nokia 5530 XpressMusic (Nokia C6-00 CFW)

Sony Ericsson v640i

Nokia 3120

Various other Nokia phones.

Not the best history of phones Posted Image


#13
razzmataz1478

razzmataz1478

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 2,215 posts
  • Gender:Male
  • Location:HULL
  • Interests:Flashing ROMs, Being distracted by my skate
  • Devices:ZTE Skate

It is not possible to use a liboemcamera newer ? Like in last ZTE phone (more recent than Blade Crescent for instance) ?


As far as I know, the Blade's liboemcamera.so, which all three zte msm7x27 devices use, is at the Gingerbread api level. They started on FroYo so their 'new' lib might've been for Gingerbread.

  • 0

Posted Image

Current Phone:

Xperia T


Previous Phones:

Orange Monte Carlo

Nokia 5530 XpressMusic (Nokia C6-00 CFW)

Sony Ericsson v640i

Nokia 3120

Various other Nokia phones.

Not the best history of phones Posted Image


#14
tilal6991

tilal6991

    Hardcore

  • Developer Team
  • PipPipPipPipPipPip
  • 3,781 posts
  • Gender:Male
  • Devices:ZTE Skate, Huawei U8150
Im not sure which lib is being used on CM7 - Dazzozo might have used the Blade or Skate one.

  • 0
If you like my work or if I helped, click the Plus button.

#15
dodgetimmy

dodgetimmy

    Enthusiast

  • Members
  • PipPipPip
  • 295 posts
  • Gender:Male
  • Location:East Sussex, UK.
  • Devices:ZTE Crescent, HTC Desire
So its possible to be used with CM7, but a lib for a device without a front camera was used instead? Would be great to try CM7 if it was working!

  • 0

#16
UselessMadao

UselessMadao

    Newbie

  • Members
  • Pip
  • 12 posts
  • Devices:ZTE RACER
I was a fan of ZTE but now I'm not anymore. ZTE was a great manufacturer back in 2010/2011, it created a great period that we called "V880 era" in China. But now things have changed, ZTE becomes much lazier and doesn't care about its clients, compared to others phone manufacturers

Anyway, my next phone will be Huawei. Byebye ZTE.

  • 0

#17
Dazzozo

Dazzozo

    Hardcore

  • Developer Team
  • PipPipPipPipPipPip
  • 3,309 posts
  • Gender:Male
  • Location:Shropshire, UK
  • Devices:Crescent, G300, Y300, Nexus 5
  • Twitter:@Dazzozo
Huawei are no better :P

  • 0
Like my work? Give me rep!

Like my work a lot? Donate! Remember to leave your forum name if you want to be credited!

#18
PsYcHoKiLLa

PsYcHoKiLLa

    Addict

  • Members
  • PipPipPipPipPip
  • 802 posts
  • Gender:Male
  • Devices:LG Nexus 4, Tesco Hudl
  • Twitter:@djsubterrain
Samsung seems to be the only safe bet or maybe Sony, LG too now. All of whom have now made official Google phones.

  • 0

#19
Dazzozo

Dazzozo

    Hardcore

  • Developer Team
  • PipPipPipPipPipPip
  • 3,309 posts
  • Gender:Male
  • Location:Shropshire, UK
  • Devices:Crescent, G300, Y300, Nexus 5
  • Twitter:@Dazzozo
Samsung are quite a pain actually, and Sony haven't made a Nexus device yet.

Sony is probably the best vendor besides the Nexus partnerships.

  • 0
Like my work? Give me rep!

Like my work a lot? Donate! Remember to leave your forum name if you want to be credited!

#20
dodgetimmy

dodgetimmy

    Enthusiast

  • Members
  • PipPipPip
  • 295 posts
  • Gender:Male
  • Location:East Sussex, UK.
  • Devices:ZTE Crescent, HTC Desire
So in terms of open development Samsung are the best? Doesn't sound right to me!

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users