• 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

Alright, I've been able to reproduce it.

Open up Google Now so that it's "running"

Then hold down the search key to bring up the regular Google Voice actions (not Google Now).

Cancel out of that and go back Google Now and start a voice search.

You'll (likely) find that you'll be able to perform a Google Now Voice command as the voice input is already initiated. It works for me every time.
Can you get a logcat of that method? I can't seem to get it to work.

In Mikey Offline 6, the Velvet.apk is the Voice Search App. The key to fixing Google Now Voice Search for the Marquee lies in the 30 MB of Smali code...
 
Looking into the camera now. As far as the flash not working, libcameralight.so seems to be missing from /system/lib. Gonna look into that.

As far as the color noise, it almost looks like the camera is operating as infared, causing all the green and red tones.

This should be interesting.

@tdm do you have the libcameralight.so from the Optimus V port?
I found a libcameralight.so file via google that claims to be from a stock ICS file, but i am having trouble tracking down the source and/or phone model.

Don't see a libcameralight.so anywhere in my source trees...?
 
On aokp i was looking into the encryption. Any thoughts on that. Thinkin of givin it a try. Really like it. How do i add my google account. Is that what the gapps zip is for. Thanks
 
Don't see a libcameralight.so anywhere in my source trees...?

Nor do I. It was a first step at a solution to the flash. Some of the other ICS builds i've seen included that lib file, and ive also seen it listed for ports for a few other models as something that was fixed to correct the flash issue.

This wont do anything for the camera, but i figured getting the flash working was a step in the right direction.

Is it possible the camera parameters were left out of the source tree? Maybe something that would be added during the build? Seems there may be other parameters missing
 
Well it looks like there are 41 different carriers for the AS855!
Code:
;  Each ACG Carrier Code
;  Available Options
;
;  0    LG Generic
;  1    Blugrass Cellular
;  2    Cellular South
;  3    nTelos
;  4    Cellcom
;  5    Alltel
;  6    Cox
;  7    Cellular One of NEPA
;  8    Carolina West
;  9    Cellular 29 (Chat1)             
;  10    Lyrix (Chat2)
;  11    Copper Valley                 
;  12    Alaska Digitel
;  13    Golden State Cellular         
;  14    Inland Cellular
;  15    Illinois Valley Cellular
;  16    MTA Wireless
;  17    Sagebrush Nemont
;  18    South Central                 
;  19    Nex-Tech Wireless
;  20    Northwest MO
;  21    Thumb Cellular
;  22    United Wireless               
;  23    Mid-Rivers
;  24    Pioneer Cellular
;  25    James Valley / NVC Wireless    
;  26    LEACO
;  27    SRT Communication
;  28    Panhandle
;  29    ACS
;  30    Appalachian Wireless
;  31    ETEX
;  32    Silverstar
;  33    Revol
;  34    Strata
;  35    Syringa Wireless
;  36    Open Mobile
;  37    Mobi PCS
;  38    Cross Wireless
;  39    Element Mobile
;  40    SI Wireless
 
Good thing the generic config works :)

Speaking of generic config... I updated the base mms_config.xml with the values that are in the stock one, max pic size etc... Below is what is working for me with the AS855. Of course one needs to add the right APN info.

AS855 mms_config.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<mms_config version="4">
    <bool name="enabledMMS">true</bool>
    <int name="maxMessageSize">1048576</int>
    <int name="maxImageHeight">960</int>
    <int name="maxImageWidth">1280</int>
    <int name="defaultSMSMessagesPerThread">200</int>
    <int name="defaultMMSMessagesPerThread">20</int>
    <int name="minMessageCountPerThread">10</int>
    <int name="maxMessageCountPerThread">5000</int>
    <string name="uaProfUrl">http://www.google.com/oha/rdf/ua-profile-kila.xml</string>
    <int name="recipientLimit">10</int>
    <int name="smsToMmsTextThreshold">3</int>
    <bool name="enableMultipartSMS">true</bool>
    <bool name="enableSplitSMS">false</bool>
    <bool name="enableSlideDuration">true</bool>
    <int name="maxMessageTextSize">-1</int>
</mms_config>
 
Yeah I actually just checked that into github earlier today. You might want to verify it looks ok.
 
Looks like they are slightly different. The "uaProfUrl d<string name="uaProfUrl">http://www.google.com/oha/rdf/ua-profile-kila.xml</string>" has to be there otherwise the app closes as soon as you press send. If ya go with my previous post we should be golden.:)
 
  • Like
Reactions: tdm
Running full-time ics. In the, keyboard having a problem. It is minor but annoying. The spell correction even disabled is still on... just noticed. But working great. I use voltage control, just wondering if that could be making the phone hot. Really only gets how when running dolphin browser. Is there a browser better reccomended. I'm using phandroids app for the forums. Alpha 3 seems a lot smoother than previous releases. In the process of building a machine capable on android development. Going to start with gb I think. Found the thread about the begenning android development. Y'all have been my inspiration. Thank you. Better on amd or core i5. Already have the core i5 quad core with 8gigs is that suitable.
 
Been looking at the cameras again. It seems the front camera is a YACD5B1S and the back camera is a IMX072. Never considered that the two cameras would have different sensors, but it makes total sense.

The YACD5B1S driver says that it supports V4L2_PIX_FMT_UYVY (yuv422). This is why the front camera preview works. The code is calling the correct conversion function.

The IMX072 driver says that it supports V4L2_PIX_FMT_SRGGB10 (bayer10 RGGB). This is why the back camera preview doesn't work. There is no such conversion function.

Now, if I can find or write a working SRGGB10 conversion function, we'll be all set. Easier said than done....
 
Running full-time ics. In the, keyboard having a problem. It is minor but annoying. The spell correction even disabled is still on... just noticed. But working great. I use voltage control, just wondering if that could be making the phone hot. Really only gets how when running dolphin browser. Is there a browser better reccomended. I'm using phandroids app for the forums. Alpha 3 seems a lot smoother than previous releases. In the process of building a machine capable on android development. Going to start with gb I think. Found the thread about the begenning android development. Y'all have been my inspiration. Thank you. Better on amd or core i5. Already have the core i5 quad core with 8gigs is that suitable.

Not sure about the spell correct, that would be a question to ask in the appropriate ROM thread.

A quad 8gb machine should compile GB from scratch in less than 10 minutes, and ICS from scratch in about 20 minutes. Compile time also depends on your drive speed(s), especially when using a hot ccache.
 
Not sure about the spell correct, that would be a question to ask in the appropriate ROM thread.

A quad 8gb machine should compile GB from scratch in less than 10 minutes, and ICS from scratch in about 20 minutes. Compile time also depends on your drive speed(s), especially when using a hot ccache.


Thanks for your feed back. Got the spell correct to work after reboot. Must of just been me. New ways. That's great news. I WD caviar blue 6 G/bps what I got and was also reading bout the need Ubuntu 10.04 x64 will go ahead and throw it all together. Thank you.
 
The rear camera is seriously frustrating me.

I switched the overlay window to rgb565 format for the rear camera for ease of conversion. That helps with my own sanity, because I totally don't understand yuv.

Trial and error seems to indicate that the imx074 sensor is not putting out data strictly as the v4l docs describe...

Using only 10 bits per word and masking off the top 6 gives a lot of snow, like an old tv set. Using all 16 bits makes it much better.

Then the colors are all off. The RGGB pattern makes the colors really strange. The BGGR pattern looks better but still not correct.

And then, when taking a picture, the image is just garbage .. green with diagonal lines.

I'll keep working on it. Sigh.
 
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. ;)
 
Back
Top Bottom