yashsingh1/xdaforums huggingface dataset:
[Moto G4 Plus Questions & Answers] claytoncamilleri100:
I have decided to try official nougat on my Moto G4 Plus. I am currently on custom Rom MM but when got the phone I installed TWRP and Super su and made a backup using twrp and full flashfire backup. If I install Nougat after going back to stock can I downgrade to MM when I want and maybe using the flashfire backup? Will I be able to relock the bootloader after going to nougat?
[Moto G4 Plus Questions & Answers] shkrmkr:
Once you go nougat, there's no going back as far as your bootloader is concerned. You can get back on MM via fast boot (there's a guide to do this in the guides section), but you don't want to flash a MM GPT or bootloader image after upgrading to nougat or you may hard brick it. I wouldn't risk flashing a MM flashfire backup after upgrading to nougat, personally. You'll want to do it manually with adb to make sure nothing gets funky. My advice would be to check out the several threads in the guides section to make sure you understand what you need to do to get back on marshmallow should you decide to revert.
[HTC 10 Questions & Answers] Litlounge031:
Hi I am looking to revert my htc 10 back to stock for warranty purposes...I have s-off and an unlocked boot loader. I flashed an ruu to get back to a stock rom but I haven't been able to find a place where it shows how to get back to s-on (maybe I'm missing it after a bunch of google searches)....if anyone can point me in the right direction to get the boot loader to say locked again and to have s-on I'd greatly appreciate it...thanks
[HTC 10 Questions & Answers] shortydoggg:
Look in the HTC GUIDES section for the thread by jcase.

[GUIDE] Safely set your bootloader back to "LOCKED" from "UNLOCKED" or "RELOCKED

It's not hard to find.
[Nexus 5X Themes and Apps] TW1ST3D1NS4N3:
The first one is Google camera and the second is from your app:confused::confused:
[Nexus 5X Themes and Apps] enryea123:
In my app, tap on the magenta settings button, then on exposure and then de-select "Auto Exposure" and decrease the value of shooting time from 1/10 to something like 1-2, you will see what a difference.
[Nexus 5X Themes and Apps] oldskuler:
Thanks for this.

Is it possible to force ISO to a lower value than 60?
[Nexus 5X Themes and Apps] enryea123:
Well, in the app the lowest possible iso is set to 40, but the camera doesn't go below 60, so I think it's not possible. Anyway 60 is already very low and the noise shouldn't be much, so I don't know if an even lower iso would actually bring some benefits.
[Nexus 5X Themes and Apps] CazeW:
Good job. Some questions and tips for your code. Haven't tried the app though as my phone is getting repaired.

Why use a base of 60s? Wouldn't it have been easier to just use a 10s base instead of 60s for val exposureTime? Then you would only have needed to multiply the values by 10 in exposureTimeMap instead of 60 (and also add your values, 2 for 5s, 2.5 for 4s and so on). You also seem to be missing the base 1/60s exposure, don't know if that matters though.

Remove the line prefs.exposureTimeIndex = exposureTimeIndex() from onStop(), this will stop the manual exposure getting saved when closing the app (hence you don't need to change it back before closing).

Try replacing the line (not sure if this code will work but you probably notice what I'm trying to do)

observe { exposureTimeIndex foreach { v => text = s"60/${new DecimalFormat("#.#").format(exposureTimeMap(v))}" } }

with

observe { exposureTimeIndex foreach { v => text = if (v > 5) s"1/${new DecimalFormat("#.#").format(exposureTimeMap(v)/60)}" else s"${new DecimalFormat("#.#").format(60/exposureTimeMap(v))}s" } }

for a nicer display of the exposure times. Obviously change the value of 60 if you decide to change the base value.

EDIT: You should also be able to fix the rotation by implementing this commit in your code. Might also know how to "fix" the preview as well so the refresh rate doesn't go below a certain rate, but don't want to take away all the fun from you. ;)
[Nexus 5X Themes and Apps] tauio111:
Nice, should be great for shooting auroras.
[Nexus 5X Themes and Apps] Travisdroidx2:
So flash the source first then install apk? Apk alone would not take a picture.
[Nexus 5X Themes and Apps] tauio111:
Source is the sourcecode of the apk...

You don't have to flash anything,
[Nexus 5X Themes and Apps] enryea123:
Thank you for the suggestions! Well I choose a base 60 because it is divisible by 5,4,3,2,1, so I could avoid using "double" values for the exposures and I didn't have to worry about the digit precision, but yes I've modified the code as you suggested to have a better looking exposure time in the app, with some small differences; now it's like 5 s, 4 s, ..., 1/2 s, 1/4.3 s, ... and I've also modified a bit the shorter exposures and added back the 1/60 one.

I've also deleted the line that saves the exposure preference.

I've checked the rotation commit but it is for a newer version of Lcamera, so there are many differences in the code.

Of course any suggestion on how to fix it in my app or how to change the "screen refresh rate" is welcome :), as long as it doesn't imply to modify more than a few (let's say 30) lines of code, unless you want to do it yourself.

Yes, also to shoot the night sky. Nice picture by the way!

Exactly
[Nexus 5X Themes and Apps] CazeW:
Looked closer at the commit and you're right, would take a bit of work to implement it in the older version.

I'm not sure but this might be the part that handles the refresh rate of the screen.

val startPreview =
for { (cameraOpt, previewSurfaceOpt, previewSessionOpt, autoFocus, focusDistance, autoExposure, iso, exposureTime, metering)
<- Rx {(this.camera(), this.previewSurface(), this.previewSession(),
this.autoFocus(), this.focusDistance(),
this.autoExposure(), this.iso(), this.exposureTime(), this.metering())}

Inside that for you could put in an if that checks if this.exposureTime() is less than for example 1/5s, then use a constant of 1/5s instead of this.exposureTime().

I also might have found a way to get the newer version to be able to use slower shutter speeds. The problem I think is this code on line 699.

val validExposureTimes = Rx { lcamera().toList flatMap { camera => exposureTimes filter { camera.exposureTimeRange contains _ }} }

Which is a list of exposure times the sensor supports. Now, if we set this equal to the var exposureTimes, I think we should be able to use the longer exposure times. I don't know if straight val validExposureTimes = exposureTimes works or if you have to convert the Vector to a List first, haven't programmed in scala before. I would try this out myself if I had a phone to test it on.
[Nexus 5X Themes and Apps] Dark Emotion:
Thanks for the mod. Here are my results compared to Google's HDR+
[Nexus 5X Themes and Apps] enryea123:
Well, I managed to set the preview to be updated every 1/10s by creating another variable "exposureTimePreview", BUT this way on the screen you don't see the actual brightness that the picture is going to have, but the one that it would have if the exposure time was actually 1/10, so it is not very handy and it's better to just leave it how it is now.

That line of code only exists in the latest source code on github, I'm using an older version, which in fact doesn't have that line (this missing line is probably the reason I could select longer exposures). I can even set exposures longer than 5 seconds, if they are between 6 and 9 the phone is likely to crash, but if they are 10s or longer the camera just seems to get crazy and some weird "moving purple shapes" are displayed on the screen.
[Nexus 5X Themes and Apps] enryea123:
Thanks for the feedback!
[Nexus 5X Themes and Apps] CazeW:
That's why I suggested to use an if, so that when the exposure time becomes unreasonably long (like 1s or more) you use a constant refresh rate which would at least help with the framing. When the exposure time is faster, you of course use that as your refresh rate.

EDIT: You could also then bump up the ISO sensitivity for the preview so that you would still see the actual brightness of the picture (or at least close to it). For example, you want to take a picture that uses ISO 100 and 1s exposure. You lock the refresh rate at 1/4s and bump the ISO for the preview to 400 to compensate for the 2 stops slower refresh rate, and you should end up with an equally bright preview as what the picture will look like. (I think this is what most cameras do.)

I know that line of code only exists in the latest source code. What I meant is that if you edit that line, you might be able to use that version for your mod.
[Nexus 5X Themes and Apps] enryea123:
Thank you, I didn't understand what you meant. Those are some interesting improvements, I will consider them in the future for sure (right now I don't have much free time to spend on this project).
[Nexus 5X Themes and Apps] daniyal62:
great job well done i was waiting for this

it would be great to add timer future to this app
[Nexus 5X Themes and Apps] Travisdroidx2:
Sorry for the noob question. When turning off auto exposure you have two options to change. The s and iso, what do you recommend for both? I do not get the 60/60. Thank you for the mods. I am sure when I get it set correctly it will work great.
[Nexus 5X Themes and Apps] enryea123:
Let's first make sure of a couple things: do you have the nexus 5x? have you downloaded the last version of my app? To make sure you did, download it again now. (you get the "60/60" only in the old app, in the new one it is written as "1 s").

The "s" is the exposure time, which is the time the shutter will stay opened to capture the light (in fact the "s" stands for seconds). The iso is the sensitivity of the camera but it is directly related to noise (higher iso = higher noise).

So, I recommend to keep the exposure time as long as possible (like 3-4-5 seconds) and lower the iso until you get the right photo brightess.
[Nexus 5X Themes and Apps] Travisdroidx2:
Thank you for explaining this. And yes I have the 5x and it is the new version of the app. Thank you for explaining this!
[Nexus 5X Themes and Apps] Kirankj1724:
Hello OP,

Tried this on my Nexus 6. Seems to be working!!

I'll try sharing few samples later.

UPDATE : not working for Nexus 6. Pls ignore my previous post.
[Nexus 5X Themes and Apps] halimhamdan:
3-4-5 second is equal to ? 1/30s ? could you explain im kinda noob on this
[Nexus 5X Themes and Apps] CazeW:
3-4-5 seconds means 3 to 5 seconds exposure time. 1/30s means 0.0333 seconds exposure time.
[Nexus 5X Themes and Apps] Siljorfag:
Any updates?

This new version seems to work better, and it is not crashing.
[Nexus 5X Themes and Apps] enryea123:
Yes the last version doesn't crash that often, but it can still happen. I'm probably not going to update it for a while.
[Nexus 5X Themes and Apps] bushako:
Thank you for this app. Works as intended.
[Nexus 5X Themes and Apps] :
If you want to critic this developer learn what this app does !

This app is to shoot night landscapes like your garden at 12pm but not for something very close to you because in this case just use flash !
[Nexus 5X Themes and Apps] :
To be honest I thought it was not possible but after trying I was very suprised it shoot beautifull pictures in the night, the only problem is the time before the camera focus but I know it cant be fixed.

I love you ! You have make a really great job and this app is really usefull ! ðŸ”­ðŸ“·

I will you a picture of the moon later because this sky is actually cloudly. So I just send a picture of my garden with and without your app.
[Nexus 5X Themes and Apps] enryea123:
Thank you! About the focus I suggest you to keep it in manual mode and set it to infinity (that is the minumum in the app), which is fine for every subject further away than 1 meter, so the app won't waste time in autofocusing.

Anyway, don't worry about the user TW1ST3D1NS4N3, I'm pretty sure he didn't want to criticize me, he just didn't understand that he had to set the manual exposure. ;)
[Nexus 5X Themes and Apps] TW1ST3D1NS4N3:
:good:
[Nexus 5X Themes and Apps] :
Very funny but your smiley on your first reply were not friendly for the developer !

This guy gave us our time to port us this !

I will stop here to reply to your comments...

Thanks again to the developer and sorry to him for causing some troubles.

Ps: replying to a thread is only for troubleshooting or to say thanks...
[Nexus 5X Themes and Apps] TW1ST3D1NS4N3:
Did you even read anything? Do you even understand what that smiley meant? Did you read the post where he helped me out right after my post? I think you need to back off now. Take your ignorance where it's wanted. And please refrain from continuously attacking somebody when you don't even know English because you're loose translation of my post is what caused this. Not me being disrespectful.

---------- Post added at 10:30 PM ---------- Previous post was at 10:28 PM ----------

Exactly! :)
[Nexus 5X Themes and Apps] :
Oh I'm happy for your if your had understood how this app work and sorry for all but I was too angry I thought you were kidding this developer.

Have a nice day ! ?

Ps:don't need to attack me because I don't speak english as well as you, you, try to speak deutsch and french as me ?
[Nexus 5X Themes and Apps] qandrav:
I'm using it from this morning and I'm very happy about the results! nexus 5x pure nexus 7.0

You have an aperitivo paid in Milano (but not at Bar Basso eheheheh):D
[Nexus 5X Themes and Apps] enryea123:
Hahaha ok, I'll make a note :p
[Nexus 5X Themes and Apps] CazeW:
Tried porting this mod to Open Camera and I did manage to get it working so that I could take pictures up to 5s exposure time, but the app becomes very unstable so you can only get a couple of shots at best before it crashes.
[Nexus 5X Themes and Apps] ulxerker:
looks promising as the quality of night pictures on stock camera is a shame, as always. thanks for your efforts!
[Nexus 5X Themes and Apps] andTab:
For me images are upside down?
[Nexus 5X Themes and Apps] ndarkside93:
Read the op. Sensor is mounted upside down in our phone. Just use a photo editor and flip the picture
[Nexus 5X Themes and Apps] daniyal62:
3 Sec Exposure With Some Edit :):good:
[Nexus 5X Themes and Apps] arnauarbat:
What I have to do to unlock the possibility of record at 1920×1080p 60fps?
[Nexus 5X Themes and Apps] enryea123:
You have to replace the system library /system/lib/libmmcamera_imx179.so with a modified one, read the instructions here

EDIT: That library is for the Nexus 5, so it won't work on the Nexus 5x
[Nexus 5X Themes and Apps] harpin14789:
https://play.google.com/store/apps/details?id=com.footej.camera

Found this app on play store that also has these features. :)
[Nexus 5X Themes and Apps] CazeW:
Footej can't record full HD at 60fps as it's not supported by our phone without modifying the library.
[Nexus 5X Themes and Apps] harpin14789:
So, it 60fps video should work once I replace libmmcamera_imx179
[Nexus 5X Themes and Apps] pitt93:
libmmcamera_imx179.so is the camera library of the Hammerhead (the app was originally developed for hammerhead). Will not work on Bullhead.

IMX179 is the hammerhead camera. Bullhead has the IMX377.

IMX179 is also installed on n6p and pixel/xl as a selphie camera.
[Nexus 5X Themes and Apps] joedajoester:
The download link doesn't work for me, it just sits there. Maybe XDA is doing some maintainance?
[Nexus 5X Themes and Apps] wahyuwidi:
Cant install it on nexus 5 mm,. it says aplication not installed,.
[Nexus 5X Themes and Apps] Siljorfag:
Make sure You installing app for arm, not arm64.
[Nexus 5X Themes and Apps] wahyuwidi:
Does there is have two version for arm and arm64?

In page one its says probably also work on nexus 5,. so i try to install it but its failed,.
[Nexus 5X Themes and Apps] enryea123:
Mmh, I'm not sure if it works, try to install the unmodified lcamera from GitHub first, to see what happens.

https://github.com/PkmX/lcamera/releases/download/v0.3/lcamera-debug.apk
[Nexus 5X Themes and Apps] wahyuwidi:
Currently i use l camera for long time on my nexus 5,.
[Nexus 5X Themes and Apps] :
look these pictures in the night wth the snow and a black and white filter.

https://goo.gl/photos/dT79M6ynBca66NcE9

https://goo.gl/photos/eYeWQxAtEaXL7RKL7
[Nexus 5X Themes and Apps] Jerber:
I was wondering if that long exposure "could" screw up the camera by the time (maybe sounds stupid but well, I need to know it), otherwise, the pictures looks great if you use the app properly, BUT, IS there a way to fix that UPSIDEDOWN effect in every single photo? including DNG, and its ANNOYING! :/
[Nexus 5X Themes and Apps] enryea123:
Well, I'm pretty sure that nothing will happen to your camera, I've already been using this app for almost two months now.

About the upside down pictures: yes, it is possible, but it would take several hours of work, so for now I'll just leave the app as it, since you can reverse the pictures with photoshop or whatever.
[Nexus 5X Themes and Apps] Siljorfag:
No way. It just can't screw something. With my DSLR i did a photo with 2 hours exposure time and nothing happened. :)
[Nexus 5X Themes and Apps] nongrata23:
Hello,

First of all thank you for this mod, is just crazy how good it is...

Any chance in the future for a timelapse mode to this app, i love to make timelapses during the night

ANd i dont want to kill anymore my dsrl

How cool would be if the guys from camera fv 5 would be able to add upto 5seconds exposure time too...
[Nexus 5X Themes and Apps] enryea123:
I'm sorry, but it would take too much time to implement the timelapse and I wouldn't know how to do it anyway :(

I guess it's difficult to implement this long exposure feature for more serious camera apps, since they need to support many different smartphones and mine only works for a few Nexus devices
[Nexus 5X Themes and Apps] CazeW:
Actually, any camera app using the Camera2 API could easily implement the 5s exposure time, but making it stable is a completely different matter.
[Nexus 5X Themes and Apps] supershi:
Thanks a lot for this fantistic feature !!!!!!

It's a long time that i'm waiting for it.

Thanks :)
[Nexus 5X Themes and Apps] tomasdesires:
Super Apk

Many thanks for this camera app
[Nexus 5X Themes and Apps] LazerL0rd:
To make it more stable people should increase their "readahead" value in their kernel. "readahead is a system call of the Linux kernel that loads a file's contents into the page cache." It would help by having a larger cache for the image to stay in while being processed, therefore avoiding a crash. This fixed an issue on Camera NX as well for a long burst.
[Nexus 5X Themes and Apps] enryea123:
Thanks of the info!
[Nexus 5X Themes and Apps] LazerL0rd:
I used to use your app but if you could use something like Open Camera or even Super Camera it would be easier for you to update and keep running. Also I'm a "no no" for apps without round icon support, :/. Design & UI mean allot for me. I still download it every now and then when needed. Great idea though :good:
[Nexus 5X Themes and Apps] nongrata23:
i managed to make a timelapse mode with the scripts from Tasker

http://forum.joaoapps.com/index.php...-lapse-feature-on-your-favorite-photo-app.73/

now, questions:

1) is it possible to have only dng, and not jpeg also, or is possible to have a draft quality for jpeg?

2) is it possible to chose the location where to store this dng, i would like to set it on an external sd card

3) do you know why it takes almost 5 seconds work for one second exposed image?

Thank you again
[Nexus 5X Themes and Apps] enryea123:
Nice idea!

Answers:

1) it's possible to have only a jpg (it's at 100% quality without any compression), but not only a dng. Of course if you mess around with the code I'm sure you'll find a way to do it.

2) no I'm sorry, this is a basic camera and it doesn't include many features :(

3) I honesty have no idea (it's annoying, I know)
[Nexus 5X Themes and Apps] smohanv:
I am using Kernel Adiutor. Could you help where can I see "readahead" value and to what value should this be changed to.
[Nexus 5X Themes and Apps] LazerL0rd:
It may be called "SD Tweak" or "read_ahead_kb". It's value will be either; 128, 256, 512, 1024, 2048, or 4096.
[Nexus 5X Themes and Apps] Dulguundd:
Awesome thank you.
[Nexus 5X Themes and Apps] smohanv:
Brilliant camera..

I have taken a shot this morning in low lights with 5 seconds and ISO 40. Image has stunning quality. Image ratio is 4:3. Is it possible to make it to 16:9.

Thanks again.
[Nexus 5X Themes and Apps] enryea123:
Thank you!

Well, it's not possible right now, but remember that 16/9 pictures are simply cropped from 4/3, so to achieve the same result you can just crop the picture with Photoshop, GIMP, Snapseed or whatever (probably is even possible to crop to 16/9 with the default image editor in your phone).
[Nexus 5X Themes and Apps] smohanv:
Thanks. Changing aspect ratio from 4:3 to 16:9 distorts the image. Images with aspect ratio 16:9 gives the feel of wide image.
[Nexus 5X Themes and Apps] enryea123:
No, with crop I meant to cut the top and bottom stripes of the picture, it's even possible in the Google photos default editor.

(Of course if you change the aspect ratio the picture will be distorted):cowboy:

EDIT: check out the pictures attached
[Nexus 5X Themes and Apps] smohanv:
I understand what cropping means Mr.xx

Why would I loose any portion of an image by cropping (just for the sake of seeing the image in wide landscape by loosing portions of an image)..... Every corners of an image is taken by the photographer for a reason and it is painful to loose it....

In simple terms, it would be nicer to have an option to take photos with aspect ratio 16:9 instead of google camera default of 4:3. Because when selecting 16:9, display shows only what can be captured and it helps the user to cover the area they want to shoot.
[Nexus 5X Themes and Apps] enryea123:
The point is that the sensor in the nexus 5x has a 4:3 aspect ratio, it means that every app you use that shoots 16:9 pictures is just cropping/throwing away the extra top and bottom pixels. You can try to shoot a picture in both 16:9 and 4:3 with google camera or every other camera app and you'll see that cropping is exactly what they do.
[Nexus 5X Themes and Apps] smohanv:
Hi, with due respect I understand your point fully. One advantage is setting to 16:9 in camera setting befoe taking images, the display you see (view finder) is already a cropped image hence we know what we are capturing... But in the case of post process, we have to loose the area that we included while capturing... Consdering your way of bringing to 16:9 appearance, while taking images we have to carefully leave some of top and bottom space bearing in mind that we will be cropped off.
[Nexus 5X Themes and Apps] enryea123:
Yes, now I understand your point and I know it's annoying to see the 4:3 preview, but look at the bright side: you can decide in post processing whether you want to keep more of the top or bottom part anyway.
[Nexus 5X Themes and Apps] smohanv:
:o:o :good::good::good:
[Nexus 5X Themes and Apps] Robdyx:
Is there any way to enable slow motion at >240 fps?
[Nexus 5X Themes and Apps] LazerL0rd:
Could you make a Snapdragon Camera for Stock Nougat on the 5X? Preferably for 7.1.2 please.
[Nexus 5X Themes and Apps] enryea123:
Not with this app.

Sorry but I'm not planning any further development for now. The app should work fine on 7.1.2 anyway.
[Nexus 5X Themes and Apps] gibrilm:
If install the apk what is the worst damage maybe will happen to tge phone . . ? ? Nexus 6p ... How safe is the apk file . . ? ? Can this apk change stock camera stability . . ? ?thanks alot
[Nexus 5X Themes and Apps] telemacai:
WhiteArmor sign it as probably virus:

Android-PUA.SN-Sure.36373246233837576144080650.[PUA]

Cold you control?

Tnks
[Nexus 5X Themes and Apps] enryea123:
Not much really, at worst it might make your phone crash (never happened to me).

I wouldn't really trust that anti virus, the app is a basic camera app with not many features, not even internet permissions
[Nexus 5X Themes and Apps] telemacai:
NVISO ApkScan (Google to search the url) sign it as suspicious, too.