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

Root ICS/CM9-JB/CM10 Development Thread

anyone know where i can download bloodawns miui rom? if its been released yet

Yeah, it's in the same section this thread is. Just look for it. I was gonna post the link to the thread but that would be too easy for you. Seek and ye shall find.:D:D:p
 
lol my bad i only searched lg marquee miui..


If I were you , I would familiarize myself with both the regular Lg Marquee and the All Things Root sections here. It's really not difficult at all to find things once you get the hang of it. Honestly, the Marquee section really isn't that big at all. It wouldn't take you very long to surf through the threads and see what's here.:)
 
Thanks I'll check that out.

What I really need is for someone to find a phone that has an imx072 or imx046 camera sensor and a fully working ics camera, with source on github. That's a pretty tall order to find in a search. Consider it a challenge. ;)

This was listed with some information for imx072 for Sony
https://rapidshare.com/#!download|715p6|2187515309|sony_imx-72_driver.txt|74|0|0

Not sure if any of this is useful:
http://forum.xda-developers.com/showthread.php?p=29926825&postcount=197

http://omappedia.org/wiki/Camera-ISP_Driver
 
Thanks for the help .. nothing is panning out, though.

The rapidshare link didn't work.

The xda link is for the Optimus 3D, which seems to have the same sensor, but I don't see that they have ICS working.

The omappedia link might be useful if I could understand it, lol. In fact, it does mention imx046 specifically (which has the same Bayer10 format), and it says "The RAW input data is converted into YUV422 by the Preview module." That looks very interesting, perhaps it is the key to this mess.

I also found a bayer converter in the gphoto sources. This is much more sophisticated than my lame attempt, but I still can't get the colors correct. The best I've been able to do is get a decent looking greyscale. Which is an improvement to be sure, but not acceptable for actual use.
 
Looks like the omap3 video pipeline can probably be configured to do color space conversions on the camera. I'll be exploring that next.
 
TDM,

Can you upload a raw file of what you're getting from these sensors? I may play around with them a bit if that were available...

Thanks,

Michal
 
Well, turns out the Marquee is rather fragile, lol. I dropped mine onto the pavement while getting out of the car today and the screen shattered. Still fully functional (including the touch screen, amazingly) but I'm gonna need a new one.

I don't suppose anyone here knows someone wanting to part with their Marquee for cheap? I will pay, of course, but not a whole lot -- I'm drooling after the Spectrum, and this is a perfect excuse to get one. :p
 
Well, turns out the Marquee is rather fragile, lol. I dropped mine onto the pavement while getting out of the car today and the screen shattered. Still fully functional (including the touch screen, amazingly) but I'm gonna need a new one.

I don't suppose anyone here knows someone wanting to part with their Marquee for cheap? I will pay, of course, but not a whole lot -- I'm drooling after the Spectrum, and this is a perfect excuse to get one. :p


Have a sprint marquee brand new condition ctmod on it right now pm me
 
Well, turns out the Marquee is rather fragile, lol. I dropped mine onto the pavement while getting out of the car today and the screen shattered. Still fully functional (including the touch screen, amazingly) but I'm gonna need a new one.

I don't suppose anyone here knows someone wanting to part with their Marquee for cheap? I will pay, of course, but not a whole lot -- I'm drooling after the Spectrum, and this is a perfect excuse to get one. :p

Not sure on price. http://androidforums.com/showthread.php?t=601860

Boost LG Marquee
 
TDM,

Can you upload a raw file of what you're getting from these sensors? I may play around with them a bit if that were available...

Thanks,

Michal

Here are some raw images and my attempt at converting them, with source code:

http://getquattrimus.com/roms/quattrimus/cam.tar.gz

The raw images have a 64-byte header (my own quick hack). Its format should be obvious, especially from the source code. The Bayer10 data follows immediately after.

Note the images are rotated -90 degrees ("up" is on the left).

Also note that the images are 652x490. This was one of the native sizes according to the kernel sources, so I used it instead of 640x480. Not sure if that is desirable or not. But there seems to be an extra 4 pixels of padding in each horizontal row (which would be on the bottom of the image). Perhaps there is a constraint on the image size -- maybe it needs to be a multiple of 16. And maybe that's why 640x480 would work better.
 
Well, turns out the Marquee is rather fragile, lol. I dropped mine onto the pavement while getting out of the car today and the screen shattered. Still fully functional (including the touch screen, amazingly) but I'm gonna need a new one.

I don't suppose anyone here knows someone wanting to part with their Marquee for cheap? I will pay, of course, but not a whole lot -- I'm drooling after the Spectrum, and this is a perfect excuse to get one. :p

Bummer :( I wish I had a spare one to send to you. Cowboom had the Sprint Marquee for $79, which is where I got mine, but the site seems all messed up and there's no inventory at all on there today.
 
Here are some raw images and my attempt at converting them, with source code:

http://getquattrimus.com/roms/quattrimus/cam.tar.gz

Thanks! I took a quick look and I suspect the raw data is not in "simple" RGB. If you look at g1 and r, you will see that they have high values where tigger's black stripes are and low values where his fur is orange. When I do

g=256-(g1+r)/2
r=g2

I get better results, and tigger is much more recognizable.

The other thing I noticed is that you chop the bottom 8 bits out of the pixel data. I ran a quick experiment and used only the bottom 8 bits to create an image and got a fantastic quality b/w image. The maxes and totals are also very close together. This is very strange as it indicates that there is a lot of waste in the image format (each color channel repeats 8 bits of essentially the same information).

Oh, and sorry to hear about your Marquee. Hopefully you'll get another one from somewhere and manage to finish this before you move on to the Spectrum. I'd donate to a "get tdm a Marquee" fund, but you don't accept donations... I got mine on ebay for ~$65 shipped. If you are handy you may be able to get one with a bad ESN and replace just the screen...

Michal
 

Attachments

  • tigger.dat.jpg
    tigger.dat.jpg
    58.4 KB · Views: 162
Thanks! I took a quick look and I suspect the raw data is not in "simple" RGB. If you look at g1 and r, you will see that they have high values where tigger's black stripes are and low values where his fur is orange. When I do

g=256-(g1+r)/2
r=g2

I get better results, and tigger is much more recognizable.

The other thing I noticed is that you chop the bottom 8 bits out of the pixel data. I ran a quick experiment and used only the bottom 8 bits to create an image and got a fantastic quality b/w image. The maxes and totals are also very close together. This is very strange as it indicates that there is a lot of waste in the image format (each color channel repeats 8 bits of essentially the same information).

Oh, and sorry to hear about your Marquee. Hopefully you'll get another one from somewhere and manage to finish this before you move on to the Spectrum. I'd donate to a "get tdm a Marquee" fund, but you don't accept donations... I got mine on ebay for ~$65 shipped. If you are handy you may be able to get one with a bad ESN and replace just the screen...

Michal

Yeah, I got a nice b/w image also. But I'm not an image expert -- what does that indicate is happening with the image and the colors? Is it possible the camera is in b/w mode? (Is there a b/w mode? I don't see it in the imx072 driver -- only the yacd5b1s driver.) Or does it mean we've somehow managed to get the correct absolute r/g/b values but set them all the same?

As for the color format, I played with the values some. Thanks for experimenting with those, I might try it your way. As I said, I'm not an image expert, and I probably am misunderstanding the Bayer10 format. Particularly the green component. Also note if you take RGGB and transform it -90 degrees per the physical sensor orientation, you get GBRG. So that's another thing to try.

For the bit values, it is supposed to be 10 bits per value, little endian. But reading the values that way didn't work at all.

Anyway, I'm looking at the omap3 hardware pipeline now. It looks like hardware can take care of the conversion from Bayer10 to yuv422. I downloaded the test source code mentioned in the omapzoom page and it contains lots of interesting test programs. The one I'm looking at now is virtsenhq.c, which seems to do pretty much what I want.

As for my phone, I still haven't quite decided what to do about that. I found a ls855 on ebay in "mint condition" for 81 shipped, which is pretty reasonable. But I also found a vs920 in what seems to be very good condition for 153 shipped. I know for sure that the ls855 fully works on sprint, but I am not sure about the vs920. Reading up a bit, it seems that getting 3g going can be a problem. What to do.....
 
I've dropped mine several times ..... and it ALWAYS lands on the corner never fail. Maybe the zagg shield helped it I don't know. I to would also be able to donate to get you a marquee and then again when you get ics or cm7 to get you a vs920 (as incentive and thanks :-) ).
 
Hey tdm - if you'd reconsider your "no donations" stance, maybe for just a few days, it looks like some of the guys around here (me included) would like to help you out with getting a new Marquee. I think everyone appreciates how much work you've put into getting our phones to the next level and would like to see you stick around for a while.
 
Hey tdm - if you'd reconsider your "no donations" stance, maybe for just a few days, it looks like some of the guys around here (me included) would like to help you out with getting a new Marquee. I think everyone appreciates how much work you've put into getting our phones to the next level and would like to see you stick around for a while.

I agree. I would like to help out too.
 
Thanks for all the offers for donations. I really appreciate it. But I will find another phone, don't worry. :)

I was able to get the virtsenhq test app to compile and run. It seems to work. I captured what should be a YUYV image through the ISP pipeline, but was not able to convert it to a viewable picture using ImageMagick "convert". But I did enable the H3A stats and saw that the data from a black image, when the phone is sitting on the desk, is markedly different from an image of tigger.

Now I'm in the process of taking the virtsenhq code and extracting the useful bits into the libcamera code. It's going to take a bit of doing, as I'm basically rewriting V4L2Camera.cpp. Hopefully I should be able to do an initial test tomorrow.
 
Getting close. I have the sensor -> virtual sensor -> ccdc pipeline setup like the virtsenhq test program. But I have a bug in the buffer mmap code that causes it to fail and segfault. Should be able to get something tomorrow. Hopefully that something will be in YUV format. :p
 
Back
Top Bottom