Jump to content


Front Camera and CyanogenMod.

- - - - -

  • Please log in to reply
23 replies to this topic

#1
dodgetimmy

dodgetimmy

    Enthusiast

  • Members
  • PipPipPip
  • 163 posts
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?


#2
CurtisAndroidSF2

CurtisAndroidSF2

    Addict

  • Members
  • PipPipPipPipPip
  • 593 posts
  • Gender:Male
  • Location:Hartlepool
  • Interests:Graphic Design, Music, Photography, Android, Technology & Gaming.
  • Devices:HTC ONE V
  • Twitter:@CurtisYDG
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.

Devices:


HTC ONE V (Unlocked Bootloader/TWRP installed) running myONEv RC8.0 FX+ and flashing between Provision/CM10/Paranoid Android.

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

    Regular

  • Members
  • PipPip
  • 144 posts
Because ZTE sucks :P


#4
BLu3HaZe

BLu3HaZe

    Enthusiast

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


#5
OuahOuah

OuahOuah

    Regular

  • Members
  • PipPip
  • 144 posts

 BLu3HaZe, on 28 January 2013 - 01:44 PM, said:

Why can't we use Crescent libraries?

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


#6
BLu3HaZe

BLu3HaZe

    Enthusiast

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

 OuahOuah, on 28 January 2013 - 02:19 PM, said:

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?


#7
reedo_17

reedo_17

    Enthusiast

  • Members
  • PipPipPip
  • 195 posts
  • Gender:Male
  • Devices:Nexus 4, ZTE Blade+Crescent
  • Twitter:@@Ollie_Reed17
Just wondering take it the skate doesnt have front camera working on cyanogenmod


#8
PsYcHoKiLLa

PsYcHoKiLLa

    Addict

  • Members
  • PipPipPipPipPip
  • 759 posts
  • Gender:Male
  • Devices:ZTE Crescent - San Fran II
  • 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.


#9
razzmataz1478

razzmataz1478

    Hardcore

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

 reedo_17, on 28 January 2013 - 04:04 PM, said:

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.

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

    Regular

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


#11
BLu3HaZe

BLu3HaZe

    Enthusiast

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

 razzmataz1478, on 28 January 2013 - 09:39 PM, said:

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..


#12
razzmataz1478

razzmataz1478

    Hardcore

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

 BLu3HaZe, on 29 January 2013 - 01:42 AM, said:

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.

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,213 posts
  • Gender:Male
  • Location:HULL
  • Interests:Flashing ROMs, Being distracted by my skate
  • Devices:ZTE Skate

 OuahOuah, on 28 January 2013 - 11:11 PM, said:

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.

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,772 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.

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

#15
dodgetimmy

dodgetimmy

    Enthusiast

  • Members
  • PipPipPip
  • 163 posts
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!


#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.


#17
Dazzozo

Dazzozo

    Hardcore

  • Developer Team
  • PipPipPipPipPipPip
  • 2,967 posts
  • Gender:Male
  • Location:Shropshire, UK
  • Devices:Crescent, G300, Nexus 4 & 7
  • Twitter:@Dazzozo
Huawei are no better :P

Like my work? Give me rep!

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

You're likely to get a quicker response from me on Twitter.

#18
PsYcHoKiLLa

PsYcHoKiLLa

    Addict

  • Members
  • PipPipPipPipPip
  • 759 posts
  • Gender:Male
  • Devices:ZTE Crescent - San Fran II
  • 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.


#19
Dazzozo

Dazzozo

    Hardcore

  • Developer Team
  • PipPipPipPipPipPip
  • 2,967 posts
  • Gender:Male
  • Location:Shropshire, UK
  • Devices:Crescent, G300, Nexus 4 & 7
  • 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.

Like my work? Give me rep!

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

You're likely to get a quicker response from me on Twitter.

#20
dodgetimmy

dodgetimmy

    Enthusiast

  • Members
  • PipPipPip
  • 163 posts
So in terms of open development Samsung are the best? Doesn't sound right to me!





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users