Hi guys,
since we are not likely to get any new camera libs for our devices, I think it's time to start writing an opensource camera wrapper for JB 4.1+ roms.
Initial dummy wrapper is here https://github.com/LegacyXperia/android_device_semc_msm7x30-common/tree/cm-10.1/camera
Current status:
Working photo mode
Working video mode
Broken preview
Broken panorama
Low framerate on 720p video recording
TODO:
Properly fix preview without hacking the camera app
Additional info:
Additional SEMC camera parameters dumped from libcamera_clientsemc.so are here:
http://review.cyanogenmod.org/#/c/44498/
Please keep this thread only for developer discussion.
Reserved for future use
Awesome bro..!! if any testing,coding, theming and png editing help required let me know i'll help to my extent :good::good::angel:
will revent ion?
n1kolaa said:
will revent ion?
Click to expand...
Click to collapse
IF you want to use ION we need our own camera library not just a wrapper. We need to rewrite everything kernel, drivers, ... (or we write a PMEM to ION wrapper but this is crazy )
br
iriijo
i have a noob kind of idea but really dont know if we can mod the JB camera so that we can add libs and functions of Sony Camera and other stuffs related to camera??
xperia c will save xperia 2011 phones
it have exmitor r 8mp camera!also that phone its on jb
http://www.gsmarena.com/sony_announces_xperia_sp_m35t_and_xperia_c_s39h-news-6272.php news over gsmarena
Xperia c has a mediatek soc,, are you sure
Sent from my ST18i using xda app-developers app
n1kolaa said:
xperia c will save xperia 2011 phones
it have exmitor r 8mp camera!also that phone its on jb
http://www.gsmarena.com/sony_announces_xperia_sp_m35t_and_xperia_c_s39h-news-6272.php news over gsmarena
Click to expand...
Click to collapse
faraaz3 said:
Xperia c has a mediatek soc,, are you sure
Sent from my ST18i using xda app-developers app
Click to expand...
Click to collapse
Forget about camera libs from other devices. If Sony doesn't release libs for every single 2011 device, we are not able to properly fix camera/use ION. So please, stop the off-topic.
Regarding the wrapper, I started working on implementing sony's image & video stabilization.
Camera source
@mikeioannina hey mike What do you think if we take the x10 cam sources as base, because this is just a communication interface between the liboemcamera and the source uses the same libs and calls like our camera librarys?
I know this isn't a good idea or the cleanest method and must not work but maybe we have a base how we should write our own drivers
br
iriijo
iriijo said:
@mikeioannina hey mike What do you think if we take the x10 cam sources as base, because this is just a communication interface between the liboemcamera and the source uses the same libs and calls like our camera librarys?
I know this isn't a good idea or the cleanest method and must not work but maybe we have a base how we should write our own drivers
br
iriijo
Click to expand...
Click to collapse
Good idea but I don't know how compatible will the source be, because x10 was using gingerbread libs and we use ics libs, plus the camera sensor is different. If you want you can try it, I don't have much free time these days to start this project.
OK will try it But I think this will need a little bit time will upload it in my github page
BR
Iriijo
Sent from my Xperia Ray using xda app-developers app
PS: First step very much debuging...
X10 sources for 2011 CAMERA develop progress
I started developing yesterday and I think I'm doing good progress. Camera says nomore that we have no connection, linking is now successfull with liboemcamera and libmmipl.
More results soon and source will be uploaded also soon (this week)
br
iriijo
I have the next days not much time to work on the camera, so i will upload my sources soon when i have time
br
iriijo
Hey @iriijo, any news with the source?
mikeioannina said:
Hey @iriijo, any news with the source?
Click to expand...
Click to collapse
Yes sorry i forgot to upload it will do it now
br
iriijo
Here is the source:
https://github.com/irii-soft/semc_2011_camera_library
But I get no connection to the kernel space drivers :/ We need do write a for example bridge or something other maybe
iriijo said:
Yes sorry i forgot to upload it will do it now
br
iriijo
Here is the source:
https://github.com/irii-soft/semc_2011_camera_library
But I get no connection to the kernel space drivers :/ We need do write a for example bridge or something other maybe
Click to expand...
Click to collapse
how about to port camera drivers with ion ?
based on xperia s?
naa say for ion only missing camera drivers
n1kolaa said:
how about to port camera drivers with ion ?
based on xperia s?
naa say for ion only missing camera drivers
Click to expand...
Click to collapse
For now we need to get this drivers to work before we can start dreaming (working) for ION.
br
iriijo
iriijo said:
For now we need to get this drivers to work before we can start dreaming (working) for ION.
br
iriijo
Click to expand...
Click to collapse
@iriijo sorry to disturbe you from your development but I found that Sony does have released libs of GB camera of 2011 devices
http://developer.sonymobile.com/2011/11/17/camera-libraries-available-for-sony-ericsson-phones/
And a noob question (coz I'm noob, I know I'm not suppose to post here) If you can write drivers as x 10 base then it can be easy to use our own devices as base,is'nt it?
Thanks for ur hard work m sure this thread will be saviour of our devices.. Cheers to every dev. On this thread..
I will look what i can do but i have not much time to do this now
Br
Iriijo
Sent from my HTC One using xda app-developers app
Related
It's obvious that people here can't read.
Let me, as a member of FXP team, explain the state of FreeXperia Team's development on MSM7227 devices.
MSM7227 devices include:
X8
W8
X10 Mini
X10 Mini Pro
Now, let me re-quote FXP's post explaining MSM7227 development state.
FXP said:
hy all
sorry for our lag in updating this device
msm7x27 cpu is tool old and wont work with new rom so development on those older devices has been stoped
we will release FXP043 next monday with all that we have fixed and this will be last rom
in the future if new fixes are available we will update but there well be no weeklies for this device
J
FXP Team
you can always download latest rom from www.cyanogenmod.com
Click to expand...
Click to collapse
OK, did you read this? It says: in the future if new fixes are available we will update but there well be no weeklies for this device
Yes, that means, when FM and camera will be fixed, ROM will be updated here. But MSM7227 platform is now too old to be maintained weekly.
You can clearly read it here:
FXP said:
Rikcon said:
Thank you FXP team for all you have done for msm7x27 phones.
I think it's about time to move to another phone,Xperia Neo for example.
I just have 1 question,SE said that it'll send some code to fix the camera,when they send it will FXP release rom with working cam ?
Click to expand...
Click to collapse
yes we will provide updates with fixes
Click to expand...
Click to collapse
And here as well:
FXP said:
it will be suported by cm but FREEXPERIA will not release weeklies on xda
Click to expand...
Click to collapse
And, a few more words...
FXP said:
@WARR10
thanks for your kind words and totaly adree
but try to look a litle at the whole FreeXperia Project
we develop for all Xperia devices line and now there are 15 devices
we can not simply maintain all devices and oldest ones will not even work on android 4.0 wich will be released soon so we stopped development
@ my contribution
i realy dont remember what i contributed probably nothing, i just took others binary libs and pushed them in my roms =)
@semc
as long at semc discontinued those old devices and bootloader is locked we can not expect too much suport from them, and this is normal
FXP042 is released
PLEASE STOP FLAMING
monday after releasing FXP043 i will close this thread
Click to expand...
Click to collapse
Information about development is here:
FM radio: MSM7227 and most of new 7x30 devices use TI12xx W-LAN chipset.
When FM will be fixed on 7x30, it will be fixed on 7227 too.
Camera: camera takes a lot of time. Sony promised to give binaries compiled for 2.3, but right now they're silent. It's unknown will it be fixed or not. You can take camera libs and apk from GDX if you really want full camera on official CM7.
And a small note: for God's sake, f*ckin' stop with crying smilies in every second thread. XDA admins should remove it, IMO.
Best regards,
[email protected]
Hi guys i recently tried installing the android 4.2 camera on my P.A.C man jelly bean rom, but i got the camera preview glitch that was there in the previous versions. Could someone pls port the 4.2 camera to our Ray pls, so that the preview glitch is fixed.
cooldude9119 said:
Hi guys i recently tried installing the android 4.2 camera on my P.A.C man jelly bean rom, but i got the camera preview glitch that was there in the previous versions. Could someone pls port the 4.2 camera to our Ray pls, so that the preview glitch is fixed.
Click to expand...
Click to collapse
Simply put, not going to happen! JB Drivers weren't released by sony for our device, or any of the 2011 devices. $ony strikes again :silly:
But keep hoping, who knows what can happen! Maybe someone will be able to fix this somehow, although I see no logical possibility
oshmoun said:
Simply put, not going to happen! JB Drivers weren't released by sony for our device, or any of the 2011 devices. $ony strikes again :silly:
But keep hoping, who knows what can happen! Maybe someone will be able to fix this somehow, although I see no logical possibility
Click to expand...
Click to collapse
Thats not true, look at the X8, it has Jellybean, but the device only have 2.1 on stock.
Nothing is impossible, we just need good devs that can port drivers and so on.
Co-Head of TDOT
-----
Sent from my Xperia Ray powered by FXP CM10 and Flykernel Jellybean using Tapatalk 2
oshmoun said:
Simply put, not going to happen! JB Drivers weren't released by sony for our device, or any of the 2011 devices. $ony strikes again :silly:
But keep hoping, who knows what can happen! Maybe someone will be able to fix this somehow, although I see no logical possibility
Click to expand...
Click to collapse
i'm not talking about the drivers dude, somehow in p.a.c man rom the preview is fixed and i request the developers to implement the same fix in the newly available 4.2 camera
cooldude9119 said:
Hi guys i recently tried installing the android 4.2 camera on my P.A.C man jelly bean rom, but i got the camera preview glitch that was there in the previous versions. Could someone pls port the 4.2 camera to our Ray pls, so that the preview glitch is fixed.
Click to expand...
Click to collapse
Its working on ics. Even spharepictures work
but its not working on jb roms, can someone fix it??
MrTapa said:
Its working on ics. Even spharepictures work
Click to expand...
Click to collapse
can you provide a link (via PM), please. i'm on optimax v2
asertyio said:
can you provide a link (via PM), please. i'm on optimax v2
Click to expand...
Click to collapse
Find it in Google. And change build bro to Galaxy nexus instead of ST18i and Google instead of SEMC.
Sent from my Ray with the FORCE
asertyio said:
can you provide a link (via PM), please. i'm on optimax v2
Click to expand...
Click to collapse
here's the link for the camera man,
Code:
http://forum.xda-developers.com/showthread.php?t=1966606
but i think it only works in ics roms not jb
Thread closed. Please don't create request threads.
Hello, i'm not a developer, just wanna to ask something that maybe useful for xperia 2011 (maybe ). Sorry i posted here because xperia ray doesn't have a general section.
By the way, is it possible to port a kernel from other device that have same chip with xperia ray?
I saw at Galaxy W and S Plus forum that they currently build (or port?) kernel 3.x
Here is the development thread :
http://forum.xda-developers.com/showthread.php?t=1855557
http://forum.xda-developers.com/showthread.php?t=1938811
http://forum.xda-developers.com/showthread.php?t=1742976
Galaxy W and S Plus have a same chip and spec like xperia 2011 series.
You can check it at here
http://en.wikipedia.org/wiki/Snapdragon_(system_on_chip)
it's MSM 8255 too. And i found that Huawei Honor also has a MSM8255 chip like xperia 2011 who have an official ICS with Kernel 3.x.
So, is it possible to port? If it's hard to build kernel 3.x from scratch, then why not we port it? As far as i know, galaxy s 1 also have build their own 3.x.
I'm sorry if this considered as a noob post, i'm just trying to help the devs about porting kernel 3.x from other device, maybe we can port it to our device.
ya seems like a nice idea, can any developers do this ??
cooldude9119 said:
ya seems like a nice idea, can any developers do this ??
Click to expand...
Click to collapse
Maybe DooMLoRD or sirkay
they r the best kernel devloper
It is possible, But porting the kernel is a very hard Job, Especially when you porting it from other vendor
Sent from OptiMaXed ST15i/ST18i
NightElf kernel
Singgih4050 said:
It is possible, But porting the kernel is a very hard Job, Especially when you porting it from other vendor
Sent from OptiMaXed ST15i/ST18i
Click to expand...
Click to collapse
Maybe it would be easier to port a Kernel from other Xperia Device - I heard a lot about NighElf kernel form Xperia NEO V.
Yes It is posible I'm working with Kamarush and adridu59 on a 3.0 and 3.4 kernel we have some problems but I needs time because we have to backport the clock and acpuclock and some other stuff what has changed from sony.
https://github.com/irii-soft/CAF_android-msm-3.0/commits/master
https://github.com/irii-soft/semc-msm-3.4
If somewhere want help us your welcome
bg
iriijo / irii-soft
Would This mean a 4.2.x rom in the near future
iriijo said:
Yes It is posible I'm working with Kamarush and adridu59 on a 3.0 and 3.4 kernel we have some problems but I needs time because we have to backport the clock and acpuclock and some other stuff what has changed from sony.
https://github.com/irii-soft/CAF_android-msm-3.0/commits/master
https://github.com/irii-soft/semc-msm-3.4
If somewhere want help us your welcome
bg
iriijo / irii-soft
Click to expand...
Click to collapse
I will be sure to spam the thanks button if this gets done also take one just for trying!
iriijo said:
Yes It is posible I'm working with Kamarush and adridu59 on a 3.0 and 3.4 kernel we have some problems but I needs time because we have to backport the clock and acpuclock and some other stuff what has changed from sony.
https://github.com/irii-soft/CAF_android-msm-3.0/commits/master
https://github.com/irii-soft/semc-msm-3.4
If somewhere want help us your welcome
bg
iriijo / irii-soft
Click to expand...
Click to collapse
Whooa cool!!
I would help you if I could. but for now, All i can do is support you and Good luck. Hmm, which device you Are working kernel at? Xperia ray?
Sent from my ST18i using xda app-developers app
I've talked with multiple developers. Summarizing:
It is possible, but it would take several months, during which the number of users still using this phone maybe only half of that now. It's simply not worth to spend the time on. 2.x kernel with tweaks isn't much worse than 3.x kernel.
We working for the 2011 series but to get the Kernel to boot this is a long way...
Im trying to port 2.6.35 to know which code had to be changed sony said there are minimal changes when i lock at the drivers there are many changes
But i/we hope to get the kernel to boot soon
Sent from my ST18i using xda app-developers app
dude pls do it sooner man im sur there will be lots of donations coming ur way if u do it,may be ill be the first
cooldude9119 said:
dude pls do it sooner man im sur there will be lots of donations coming ur way if u do it,may be ill be the first
Click to expand...
Click to collapse
Well we can't forcing dev to work on the 3.0 kernel Quickly, But Hey You're Right, Donations will Somehow Boosting their working speed
Sent from OptiMaXed ST15i/ST18i
Hi all!
During Christmas holidays I have some time to develop and so I thought to begin this new project. I need of course the help of other developers.
In particular I have a problem. Hardware modules like gralloc, memalloc, hwcomposer, etc don't compile, so I have copied these libs from my old 4.1.2 rom. I don't know why.
What works:
- GSM
- SMS
- Camera
- GPS
What doesn't :
- Audio
- WiFi
- Bluetooth
- Data
Download:
ROM + Kernel
Cretits:
AOSP, FXP, CM, Sony and all the others
Thank You, really good job
I have also compiled a build of cm10.1 which didn't boot, maybe you want some part or whole of it?
I don't remember having problems with hw modules
Sent from my R800i using xda app-developers app
No, but what steps did you follow to compile it?
I followed the steps from Here page 13 from nickholtus replacing the branch to cm-10.1.
Cheers seems that GSM doesn't work at all in contrary to what the OP states.
Just tell me if you need logcats.
GSM does work, at least for me. Are you sure that in your ROM were present libgralloc.so, libmemalloc.so hwcexternal.so hwcomposer.msm7x30.so and all other .msm7x30.so under system/lib/hw?
Supervenom said:
GSM does work, at least for me. Are you sure that in your ROM were present libgralloc.so, libmemalloc.so hwcexternal.so hwcomposer.msm7x30.so and all other .msm7x30.so under system/lib/hw?
Click to expand...
Click to collapse
Well seems that you are right, I don't have all of those files, weird, I must have deleted them before compiling then.
wifi and bluetooth are easy.
just some ramdisk changes, and probaply missing files
nickholtus said:
wifi and bluetooth are easy.
just some ramdisk changes, and probaply missing files
Click to expand...
Click to collapse
yes, you are right. I didn't try yet. My first problem is to understand why some modules don't compile. Maybe something is changed between 4.1.2 and 4.2.1...
Supervenom said:
what's work:
- Camera
Click to expand...
Click to collapse
you mean the leagecy camera or the jb camera?
edit: checked, leagecy camera only. anyway, nice rom and not bad for rom that without any compile. for now
Awesome start. Can't wait to see a fully working 4.2 ROM before some of us start to move to new phones
Sent from my R800i using xda premium
hi super!!
saw the work here ??
https://github.com/2011Xperia
szlkiev had pushed some changes on msm7x30, mogami and urushi that takes urushi to a working condition with cm10.1
maybe that can be of some help to you
if we use xperia arc rom as base will these problemes be fixed?
Maybe you guys can use LuPus' PAC ROM sources when he releases the next version. He said that it was possible and also told us that other than Bluetooth not working, everything SHOULD be fine.
Sent from my R800i using xda app-developers app
can't we base on this? http://forum.xda-developers.com/showthread.php?t=2021679
edit: oh, it's not neo l
So almost all 2012 xperais get jb,we get taste of aosp jb ,but we all know all thing work beter on stock,also stock have beter ui....
XPERIA S LEAK FW
XPERIA J OFFICAL FW
XPERIA P OFFICAL FW
XPERIA GO OFFICAL FW
so those phone have relased jb,im hope someone also wanna same thing (to get Stock sony jb 4.1.2)
we get 3.0.8 kernel and soon we will get 3.4 kernel ....i think is posibole to port that rom,i will try someting over weakend
everyone are welcome :highfive:
Semc Debrand Engine is @Achotjan project , he port thones of stock rom over Cyanogen(mod)
I talked with @emwno and he tell me i need those thing to get rom booted only.
boot.img
bin/vold
bin/sdcard
bin/rild
framework-res.apk/res/xml/storage_list.xml
lib/hw
lib/egl
etc/vold.fstab
usr/
vendor/
TODO:
EDIT KERNEL-NEED HELP
EDIT ZIP TO MAKE FLASHABLE
MAKE IT BOOTING
i think its better to working with xperia go JB ROM that has same resolution as 2011 mdpi devices
but xperia go has different chipset from 2011 xperias
but there is xperia j that received JB that has similar chipset as 2011 devices :good:
sry for my bad english
only simular is xperia s , we can easyer port then form ohter phone,but drwable hdpi and some layouting we can use from go and p
Is it also possible to port libs (especially camera libs)? It would be very interesting and useful.
i fist need to make it booting then will try to mix libs
n1kolaa said:
only simular is xperia s , we can easyer port then form ohter phone,but drwable hdpi and some layouting we can use from go and p
Click to expand...
Click to collapse
oh i thought xperia s chipset is novathour
my mistake
n1kolaa said:
i fist need to make it booting then will try to mix libs
Click to expand...
Click to collapse
i can be a tester if you want for coconut (LWW) :good:
not able to boot it using http://forum.xda-developers.com/showthread.php?t=2245786 Guide by Galaxy User And got it boot Still Many things Not Working..!
will start working again after updating my rom
Im starde to work on my ui with is based on cm10 and i will add a lot of thing from sony
....but it will be only compile by me for anzu...im not shure for others coz i have limited space on my main pc....
Sent from my Xperia Arc S using xda app-developers app
officiallysonyrebel said:
not able to boot it using http://forum.xda-developers.com/showthread.php?t=2245786 Guide by Galaxy User And got it boot Still Many things Not Working..!
will start working again after updating my rom
Click to expand...
Click to collapse
What kernel did you used after porting?
did you done any modifications to the kernel's ramdisk?
How about for using xperia e jellybean system file?because it had same screen resolution,chipset and others:silly:
zqchin74 said:
How about for using xperia e jellybean system file?because it had same screen resolution,chipset and others:silly:
Click to expand...
Click to collapse
only resolutin same with mini/pro/lww , xperia e using s1 snapdragon ...msm7x27a
n1kolaa said:
only resolutin same with mini/pro/lww , xperia e using s1 snapdragon ...msm7x27a
Click to expand...
Click to collapse
So..can we port with different chipset?
zqchin74 said:
So..can we port with different chipset?
Click to expand...
Click to collapse
No i think
the most similar chipset is chipset of xperia s (MSM8260 Snapdragon)
xperia 2011 devices have MSM8255 Snapdragon except PLAY
yamin8000 said:
No i think
the most similar chipset is chipset of xperia s (MSM8260 Snapdragon)
xperia 2011 devices have MSM8255 Snapdragon except PLAY
Click to expand...
Click to collapse
yes you can look into dump its almost same system as our, xperia 2011 devices have MSM8255 Snapdragon ,too PLAY
only board difrents beatven other 2011 xperias and play
Development
Guys, like seriously, there is no actual development here!
What are you discussing here is obvious which is also meaningless.
It is just my opinion and I hope to see some work here.
Respect to all the developers.
Mysteryagr said:
Guys, like seriously, there is no actual development here!
What are you discussing here is obvious which is also meaningless.
It is just my opinion and I hope to see some work here.
Respect to all the developers.
Click to expand...
Click to collapse
you here for eta you are now asking for it,i hope i will done it soon...its not easy developing on closed sources
n1kolaa said:
you here for eta you are now asking for it,i hope i will done it soon...its not easy developing on closed sources
Click to expand...
Click to collapse
No, I'm sorry I'm not asking for eta.
Btw I pm munjeni who is porting for Xperia go and he said he can't help due to time.
But we may try to ask him for some tips if the development started
The xperia u and sola,were been ported jellybean from xperia go and p, it is very nice:silly:
Mysteryagr said:
No, I'm sorry I'm not asking for eta.
Btw I pm munjeni who is porting for Xperia go and he said he can't help due to time.
But we may try to ask him for some tips if the development started
Click to expand...
Click to collapse
for what phone? i will try go to use as base or xperia s or eaven xperia j and then update to nxt
im out off free time
i will be free to try it for 2 or 3 weaks ...i need to make it bootabe ,its core Thing when you porting , you cant fix bugs without fullybootable phone.