yashsingh1/xdaforums huggingface dataset:
[Nexus 4 General] pifsworld:
It's in low light that I get problems taking decent pics when I'm outside and it was going dark still light about 4pm and there was a great sunset so I took a pic and it was really dark is this just a general problem with phone cameras as my friends ip5 didn't do much of a better job?
[Nexus 4 General] skezza:
Wasn't it proven that the iPhone purple haze thing was no different to many other cameras, but because it was an iPhone, it simply got a lot of coverage?
[Nexus 4 General] samoarmo:
I have gs3 and N4 takes pics like real not like fake.
[Nexus 4 General] OniV2:
I came from an One X, a d the only noticeable difference is that the One X's camera is much smoother when using digital zoom. The Nexus 4 is sharper, thus making edges look jagged when digitally zooming.

The N4's camera is the same as any other smartphone camera, except for the Nokia Lumia 920. The 920 has an amazing camera.

Sent from my Nexus 4
[Nexus 4 General] wilsonlam97:
If you change it to 5MP capture there is much less noise IMO. Of course you sacrifice detail.
[Nexus 4 General] Fahad M.:
Believe me after reading this post I've shot almost 50 pictures to expect a purple haze but there ain't any... Duh i could've used this time in some better activity...
[Nexus 4 General] bogdi1988:
I will say that quality wise... The camera is not that great... Even with good light the pictures come out fairly grainy and the level of detail is sub par... But that's just my opinion.
[HTC One S] jakemg:
I'm running the stable cm10 and I have cwm recovery installed. I was thinking about installing TWRP Recovery because I have hboot 1.14 and I read somewhere that it's easier to flash the fast boot when updating the rom using TWRP. Anyway, I can install it directly through GooManager, but it seems far too easy. Can I really just have GooManager install it for me and that's it?
[HTC One S] Kamilr97:
Yup, it really is that easy
[HTC One S] jakemg:
And is it accurate that TWRP makes it easier to flash fast boot files when updating your rom? Coming from Samsung devices, I was a little iffy with having to flash the fast boot files with adb and I actually temporarily bricked my device.

Also, once I update to TWRP through GooManager, that's it, cwm is replaced with TWRP? I feel like I'm missing something.

Also, thanks for answering.
[HTC One S] beats4x:
You're not missing anything, it really is that easy.

And when using twrp for hboot > 1.09 you need to use HTC dumlock (it's part of twrp) to flash boot in recovery. Maybe try using flash img GUI, its available in the play store and is all over the cm10 threads.

Also, why flash boot with adb over fastboot? Fast boot seems easier. Or maybe I'm just used to it
[AT&T, Rogers HTC One X, Telstra One XL] inphamous36:
Hey guys, I wanted to completely take everything off my phone. I was sent a replacement so I have to send the one back. Is there an easy way to do it other than just opening a file explorer app and defending everything...
[AT&T, Rogers HTC One X, Telstra One XL] DvineLord:
no clue what you said means.

you could run a secure wipe app to erase the storage. i don't think it is necessary since i accidentally cleared my storage and tried every recovery program i could think of and got NOTHING recovered.
[AT&T, Rogers HTC One X, Telstra One XL] WarRaven:
Go into settings, storage an clear it all there.

WR

Sent from WR's OneXL
[Sprint Samsung Galaxy Note II] iKenta:
I got sprint galaxy note 2 4.1.1 rooted with the ota multi view recent update

And I installed busybox pro so I can do that trick to make my phone use my external memory card as main internal memory

My dropbox has 100gb limit so what do I click or choose or have it run so it can do a backup of my whole phone into drop box incase in future I want to unroot for ota 4.2 purpose and root agaib etc to redownload everything

Excuse my bad english but im an iphone user who converted into android and fresh noob in that area!!

Thanks in advance
[Sprint Samsung Galaxy S III] Firecrotch1980:
Any Sprint lover Roms for out S3's?
[Sprint Samsung Galaxy S III] MadFlava:
It's a rom from the Evo days... Great rom, I ran it for quite a while.
[Sprint Samsung Galaxy S III] ImEVO:
Time to move on my friend.. lol :eek:
[Sprint Samsung Galaxy S III] Jbluna:
Disregard, I'm stupid
[Sprint Samsung Galaxy S III] csmasn:
Yes. Evo's ROM.

Try freegs3 or blazer these are based on stock theme, so you will be on custom ROM with stock experience .

Sent from my O=O
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] SuperAce609:
How can I use INT2EXT+ on stock rom if it doesn't have init.d? I don't use Link2SD. Either DT's or INT2EXT.
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] side_effect:
U need to have init.d folder
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] Pseudonym:
Flash a custom kernel for Stock roms. You should have init.d folder
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] LewisGauss:
It is impossible to have. INT2EXT+ without having a Int.d folder supported kernel, flashing a custom kernel isn't hard. Just make sure your phone is rooted and has CWM5 installed. Also, be sure the kernel you want to flash is made for stock ROM instead of CyanogenMod ROM. :)

_________________________________

Previously known as CallMeLewis

Chief Executive and Co-Founder of Lewis' Inc.
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] SuperAce609:
Yeah but I have a problem. My ace is incompatible with flashed kernels. If I flash a new kernel after installing a rom, ill have major battery drain issues. No matter how much I charge and calibrate. I've always had this problem.

So I'm guessing I can't use it unless someone takes the stock rom and manually adds the kernel and gives me the whole zip. Who's up for it? :D
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] fburgos:
What if you flash a stock rom with battery extender or nims kernel, same battery drain?
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] SuperAce609:
If I flash it WITH the kernel already in the rom, I don't think so. But if I flash the rom first THEN the kernel, I'll get issues.

Too bad though. I really wanted to try out that new KTS. Been switching roms for too long so I want a bugless battery efficient rom.
[Galaxy Camera Q&A, Help & Troubleshooting] Claghorn:
Does anyone out there actually have one yet? Does the stock android API allow you to take full 16MP photos, access the hardware zoom, etc? If not, are there Samsung API extensions available in the open source code that would allow custom camera developers to get to all the features of the camera?

I ask because I find developing on the "other" android camera from Nikon to be very frustrating. It has a 16MP camera, but the stock Camera class only allows access to a max 8MP picture size (and other features are apparently also limited).

I'd like to know if it is worth the extra money to get a platform that is better for developers (but I really don't want to buy a data plan from AT&T to go with it).
[Galaxy Camera Q&A, Help & Troubleshooting] lardman:
+1 for this question.

It would be cool to be able to develop some computational photography type apps (and therefore make it worth buying the device), so having access to focus, shutter time, while balance, etc. would be rather useful.
[Galaxy Camera Q&A, Help & Troubleshooting] Claghorn:
I did finally get one, and my camera app can indeed take 16 MP images, so at least one of the high end features is available. My app needs lots more work before I find out about everything else, but it is looking hopeful.
[Galaxy Camera Q&A, Help & Troubleshooting] kingarold:
And could your application control optical zoom programmatically? (not by hardware button)
[Galaxy Camera Q&A, Help & Troubleshooting] Claghorn:
That's one of the zillions of things I haven't written any code to try yet (I'm mostly working on fancy triggering methods - motion detection, light detection, etc., so I haven't done much with many of the settings).
[Galaxy Camera Q&A, Help & Troubleshooting] KennyG123:
Please read forum rules before posting

Questions go in Q&A

Thread moved

Thank you for your cooperation

Friendly Neighborhood Moderator
[Galaxy Camera Q&A, Help & Troubleshooting] Claghorn:
I played around with the camera more today, and noticed that the "paper camera" app which comes preinstalled can indeed control the zoom (you can watch the lens move in and out as you use the slider on the screen). So unless samsung have installed some special samsung only version of paper camera, that probably means optical zoom works in the normal camera API.
[Galaxy Camera Q&A, Help & Troubleshooting] lardman:
I've had a look at the Camera api and it appears that manual focus isn't supported (on any Android phone). It does seem that people have coded manual focus capabilities by extending the camera driver in the kernel (see e.g. http://xdaforums.com/showthread.php?t=630989)

Therefore we need to know what the camera chipset is. I'll have a look around and see if there's some dmesg and sysfs output, otherwise those would be useful. I've already grabbed the kernel source and will have a look through to see what's specified in the defconfig.
[Galaxy Camera Q&A, Help & Troubleshooting] lardman:
Just had a trawl through the defconfig and source code and didn't see anything that looked obviously like the camera chip. I suppose it and the processing chip may well be completely closed source (which is probably quite likely) in which case it would be interesting to see what kernel modules are loaded with the camera app open.

Ah, relevant system info here: http://xdaforums.com/showthread.php?t=1982198 time to do some more digging
[Galaxy Camera Q&A, Help & Troubleshooting] lardman:
I'd guess that the camera and other image processing hw are attached to the m9mo SoC.

The kernel header says this:

* Driver for M9MO (16MP camera) from NEC

(header here: Kernel\include\media\m9mo_platform.h)

and this module appears to be loaded in the output linked above.

I suppose with some work one might be able to determine the meaning of the parameters which are passed through the kernel module functions, and perhaps enable manual focus mode.
[Galaxy Camera Q&A, Help & Troubleshooting] apprentice:
All the non stock camera apps I have tried so far use the optical zoom through the software interface. The lens barrel clearly moving in response to the zoom function.

In fact what's missing is the ability to use the hardware button to control the zoom in a third party app. Awkwardly written to use an on screen slider instead but understandable as these apps are designed to be run on phones/devices without hardware zoom buttons.
[Galaxy Camera Q&A, Help & Troubleshooting] EwanG:
Not sure if y'all have seen this, but here is the publicly released code from Samsung for the Galaxy Camera:

http://opensource.samsung.com/reception/receptionSub.do?method=search&searchValue=EK-GC100
[Galaxy Camera Q&A, Help & Troubleshooting] lardman:
I grabbed the factory images (http://xdaforums.com/showthread.php?t=2006138), and attempted to extract the initramfs from the boot.img file; unfortunately this failed using the tools I've previously used on the Galaxy Tab (i.e. https://github.com/mistadman/Extract-Kernel-Initramfs/blob/master/unpack-initramfs). Any thoughts appreciated (I'm trying to get hold of the closed source kernel modules, namely *m9mo*.ko assuming this exists)

I had more success with the system.img (using simg2img to convert the file then mounting it as an ext4 loop device). There are also some camera-named odex files, which I took a quick look at, but I'm new to the whole reverse-engineering of Dalvik files so will have to re-visit this when I have some more time at the weekend.

More interestingly, there are some native library files in /lib and /lib/hw that look relevant. There's a camera service and a camera client library, which presumably are used by the Java code via JNI (or the like). I also note that there are a group of files named libarcsoft_*.so, which perform things like blink/smile/face detection and tracking (from the names).

Anyway I'll have a look at the .so files later in the week (as this is what I'm used to doing), but any advice/analysis on the Dalvik side would be appreciated.

---------- Post added at 07:26 PM ---------- Previous post was at 07:09 PM ----------

Is the hw button status available thought the sysfs? I.e. check /sys/class/input (or open the relevant dev files directly if possible). I'm still unsure how much of the camera functionality is handled by a SoC which would need to be talked to (i.e. to control the sensor, zoom, focus, etc.), or whether some of this functionality is controlled directly by the kernel (i.e. easier for us to get into).
[Galaxy Camera Q&A, Help & Troubleshooting] lardman:
No idea how to set your desired ISO value I'm afraid, perhaps try setting scene-mode to something other than auto to see if the scene mode selection overrides your ISO setting?

I was interested in focus rather than zoom, is it possible to programmatically set the focus using e.g. focus-mode=manual (or fixed) and then setting a value for "focal-length"?
[Galaxy Camera Q&A, Help & Troubleshooting] luscoma:
Tried doing this, had no effect.

I set focus-mode to "manual" then dumped parameters (got the same parameters so nothing changed). As a shot in the dark I tried setting focal-length but it's a float value and you can only set string and int values. I tried setting it as an int which did nothing and also as the string representation of a float which did nothing.

It appears to me that this is going to require some spalunking through libraries to see if someone exposed a move_lense function lol
[Galaxy Camera Q&A, Help & Troubleshooting] beerockxs:
I just now used this code to change the paramaters and my app actually took a picture without having to set factory-testno.

But I actually have no idea how to determine if the camera is doing any manual focusing. How can I do that?

What I'm really looking for is changing aperture and ISO.
[Galaxy Camera Q&A, Help & Troubleshooting] luscoma:
Ya it will let you set the parameter but it doesn't do anything unless you have factory-testno set. The only way to check if manual focusing was working would be to take a picture and then another after twiddling the knobs and see if they were at different focal distances.

I think the aperture and ISO will be via an Android API but I didn't look into how.

As a follow up to my previous post, I've dug through the driver code. They just didn't expose the control of the autofocus motor in the driver. The driver is only responsible for telling the SOC was mode to be in and when to trigger its autofocus routine. My gut says there's an i2c command you can send to the soc and have it move but it isn't used in the driver and unless someone mysteriously turns up a datasheet then it isn't likely to be added in by anyone but Samsung.
[Galaxy Camera Q&A, Help & Troubleshooting] moddlerlotes:
porting

can camera software of this phone be ported to others with say, 8 MP camera???
[Galaxy Camera Q&A, Help & Troubleshooting] cgwright:
Optical zoom

I've been trying for quite awhile and still can't find a way to control optical zoom with one exception. Using setZoom it will set either the maximum 21X zoom or the minimum 1X zoom. Anything in between it just goes to 1X. Has anyone else had any luck with this?
[Galaxy Camera Q&A, Help & Troubleshooting] kingarold:
Strange, but I can control zoom by code:

Camera camera = ...
Camera.Parameters params = camera.getParameters();
params.setZoom(number);
camera.setParameters(params);

Do not forget, that "number" corresponds to parameters.getZoomRatios().
[Galaxy Camera Q&A, Help & Troubleshooting] cgwright:
Thanks for the information This is exactly what I've been trying, though I hadn't found getZoomRatios().

Basically getMaxZoom returns 15. If I call setZoom(15) it zooms all the way in to 21X as would be expected. All other values less than 15 result in no zooming. Have you been able to zoom to intermediate values?

Here's my code. Maybe I'm just missing something here. This does not zoom at all though I would expect it to zoom to about 17.9X.

Camera mCamera;
Camera.Parameters camParams;

mCamera = Camera.open();

camParams = mCamera.getParameters();
camParams.setZoom(14);

mCamera.setParameters(camParams);
[Galaxy Camera Q&A, Help & Troubleshooting] kingarold:
Oh, I forgot to mention that zooming right after open() is not working sometimes. Can your try setting zoom with delay (or by some event like pressing menu item)?
[Galaxy Camera Q&A, Help & Troubleshooting] Claghorn:
Oh yea, I know that one. I found the custom camera app I'm working on really functions much more reliably if I never try to change anything from a callback, and always do any mode changes by scheduling them to happen in a post() call (or even postDelayed()). This turns out to be kind of like Qt programming where things only seem to work right if you run them from a zero length timeout routine. Complicated toolkits just seem to be happier if anything "important" happens only in the top level event loop.

Here's my Camera app experiences so far: http://home.comcast.net/~tomhorsley/book/ch06.html
[Galaxy Camera Q&A, Help & Troubleshooting] kingarold:
parameters

For those who are interested in programming manual photo-taking there are tips for ISO, shutter and aperture:

Camera.Parameters params = camera.getParameters();
params.set("aperture", "28"); //can be 28 32 35 40 45 50 56 63 71 80 on default zoom
params.set("shutter-speed", 9); //values between 1-45 e.g. 9 is for 2.5 seconds, 1 is for 16 seconds
params.set("contrast", -2);//values between -2..2 same as in Camera app
params.set("sharpness", 1);
params.set("saturation", 2);
params.set("image-stabilizer", "ois");//can be "off"
params.set("iso", 200);
//also can be used:
// params.set("ISO", isoValue);
// params.set("current-iso", isoValue);
// params.set("iso-mode-value", isoValue);
// params.set("iso-value", isoValue);
// params.set("iso-mode", isoValue);

Main trick: you should make camera to open manual mode for settings (like in Camera app). In order to do this, you should pass special parameter:

params.set("mode", "m"); //values can be "smart-auto" "program" etc...
[Galaxy Camera Q&A, Help & Troubleshooting] beerockxs:
This does not work for me, I used this:

parameters.set("mode", "m"); //values can be "smart-auto" "program" etc...
parameters.set("aperture", "28"); //can be 28 32 35 40 45 50 56 63 71 80 on default zoom
parameters.set("shutter-speed", 1); //values between 1-45 e.g. 9 is for 2.5 seconds, 1 is for 16 seconds
parameters.set("image-stabilizer", "off");//can be "off"
parameters.set("iso", 200);

and took several pictures with these settings, and the values used are all different according to the EXIF data.

Aperture is sometimes F/4, sometimes F/2.8, shutterspeed varies from 1/40 sec to 1/50 sec and ISO varies too, sometimes 125, sometimes 160. Are you sure it should work this way?
[Galaxy Camera Q&A, Help & Troubleshooting] kingarold:
Do you change only that parameters? (no zoom, flash, exposure correction, etc.)
[Galaxy Camera Q&A, Help & Troubleshooting] beerockxs:
Nevermind, it works right, I was being an idiot.

One strange thing though, the EXIF values are not all correct. The aperture and shutter-speed are correctly saved in the "ApertureValue" and "ShutterSpeedValue" fields, but the "FNumber" and "ExposureTime" fields are not filled correctly. Any idea how to fix that?
[Galaxy Camera Q&A, Help & Troubleshooting] kingarold:
It's a pity, I dont know how to fix EXIF...
[Galaxy Camera Q&A, Help & Troubleshooting] involver:
I've been reading with interest and have a little off-topic question. Have you guys come across some sort of settings file where you can change param's like JPEG compression and image sharpening?
[Galaxy Camera Q&A, Help & Troubleshooting] beerockxs:
JPEG compression can be set via Camera.Parameters#setJpegQuality(95)

I'm having another issue, though:

Whenever an image ends up larger than 5500kB, it is partially corrupt, a part of the image is gray at the bottom of the image.

The larger the image filesize, the larger the grey part at the bottom.

Does anyone have any idea what might cause that?
[Galaxy Camera Q&A, Help & Troubleshooting] Claghorn:
I had a lot of "interesting" experiences working on my custom camera app (which I have to get back to one of these days). They are all described in: http://home.comcast.net/~tomhorsley/book/ch06.html, but the bit that might be relevant was my discovery that if I have added my own preview buffers, then when I try to take a picture, it tries to use the preview buffer memory for the full sized picture. I had to go through and do a lot of work to get everything it might have known about preview buffers flushed out of its brain before actually taking a picture.
[Galaxy Camera Q&A, Help & Troubleshooting] jimi_aus:
beerockxs, I have seen this issue, too. The only way I have found to get around it is to use android:largeHeap="true" on your application in the manifest. This gets rid of it most of the time, but not completely.

I am also interested in raw photos. The camera reports a "raw-save=0" parameter and I have tried to play with this, but it just freezes the camera (onPhotoTaken never gets called). Also tried providing a raw callback in the takePicture Camera API function, but the onPhotoTaken callback just returns a null buffer.

There must be some way to do it as the third party FV-5 app allows you to take PNG photos somehow, and they are noticably larger and better quality than a jpeg.
[Galaxy Camera Q&A, Help & Troubleshooting] beerockxs:
Thanks, this makes it better.
[Galaxy Camera Q&A, Help & Troubleshooting] DA6030:
Zoom in Hangouts?

Has anyone figured out how to access camera functions like Zoom, within Google Hangouts?

The very specific use case I'd like to do is be able to zoom while streaming my camera directly to YouTube. The easiest way to stream to YouTube from mobile seems to be Google Hangouts-on-Air, which uses just the regular Google Hangouts app. But I've yet to find a way to zoom within the Hangouts video interface for Android.

Possible workarounds (that I've yet to make work, but would love suggestions on!):

1. Stream to YouTube using a different app, that supports more camera controls.

2. Set the default camera parameters (e.g., Zoom level) in a different app, that will persist when I start Hangouts.

3. Perhaps Hangouts supports zoom, and I just haven't found it!

Thanks!
[Galaxy Camera Q&A, Help & Troubleshooting] dinhantauwater:
oh it's works, thanks u
[Sony Xperia S, Acro S, Ion] KEB64:
I used to have it. Was it the ICS upgrade that lost it? Was it tweaks to my build prop? Was it adding a new APN? I'm at a loss. Where to start?
[Sony Xperia S, Acro S, Ion] UchihaDareNial:
I think it is because of APN,maybe....I'm not very sure...why don't you try?
[Sony Xperia S, Acro S, Ion] Toledo_JAB:
You need to use the att pta apn for LTE.

Sent from my LT28i
[Sony Xperia S, Acro S, Ion] KEB64:
Hmm. Still no joy.
[Sony Xperia S, Acro S, Ion] Toledo_JAB:
Just a shot in the dark but, call your carrier. They may have turned it off in your area.

Sent from my LT28i
[Sony Xperia S, Acro S, Ion] Spectre51:
What firmware are you using?
[Sony Xperia S, Acro S, Ion] KEB64:
This could be it. The tower is very close to my house and right around the time the ICS update came out I saw them working on the tower for a couple days. I half remember losing signal intermittently and having to use wifi. Just trying to pin down and rule out all possibilities. I did call AT&T one day but didn't vet very far with them. I had some changes going g on with my phones and account as well. I did confirm the LTE data line.
[Sony Xperia S, Acro S, Ion] KEB64:
6.1.C.1.105
[Sony Xperia S, Acro S, Ion] Spectre51:
Dial *#*#4636#*#* under phone info is it set for LTE (preferred)/WCDMA/GSM?

Sent from my Sony Xperia™ TL
[Sony Xperia S, Acro S, Ion] KEB64:
Yes.
[Sony Xperia S, Acro S, Ion] Toledo_JAB:
Just checking my info. I thought with a locked LT28at this setting is not changeable.

~Jaramie

sent by my ION
[Sony Xperia S, Acro S, Ion] jeriku:
I'd probably just bite the bullet and do a fresh fw flash.

If you still have lte issues after that, l'd bet it's a tower issue in your area.

Sent from my LT28 w MIUI